Class

FwupdPluginIntelThunderboltNvm

Description [src]

class FwupdPlugin.IntelThunderboltNvm : FwupdPlugin.Firmware {
  parent_instance: FuFirmware
}

The Non-Volatile-Memory device specification. This is what you would find on the device SPI chip.

See also: FuFirmware

Ancestors

Constructors

fu_intel_thunderbolt_nvm_new

Creates a new FuFirmware of Intel NVM format.

Available since: 1.8.5

Instance methods

fu_intel_thunderbolt_nvm_get_device_id

Gets the device ID.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_get_flash_size

Gets the flash size.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_get_model_id

Gets the model ID.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_get_vendor_id

Gets the vendor ID.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_has_pd

Gets if the device has power delivery capability.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_is_host

Gets if the firmware is designed for a host controller rather than a device.

Available since: 1.8.5

fu_intel_thunderbolt_nvm_is_native

Gets if the device is native, i.e. not in recovery mode.

Available since: 1.8.5

Methods inherited from FuFirmware (59)
fu_firmware_add_chunk

Adds a chunk to the image.

Available since: 1.6.0

fu_firmware_add_flag

Adds a specific firmware flag to the firmware.

Available since: 1.5.0

fu_firmware_add_image

Adds an image to the firmware.

Available since: 1.3.1

fu_firmware_add_image_full

Adds an image to the firmware. This method will fail if the number of images would be above the limit set by fu_firmware_set_images_max().

Available since: 1.9.3

fu_firmware_add_patch

Adds a byte patch at a specific offset. If a patch already exists at the specified address then it is replaced.

Available since: 1.7.4

fu_firmware_build

Builds a firmware from an XML manifest. The manifest would typically have the following form:

Available since: 1.5.0

fu_firmware_build_from_xml

Builds a firmware from an XML manifest. The manifest would typically have the following form:

Available since: 1.6.0

fu_firmware_check_compatible

Check a new firmware is compatible with the existing firmware.

Available since: 1.8.4

fu_firmware_export

This allows us to build an XML object for the nested firmware.

Available since: 1.6.0

fu_firmware_export_to_xml

This allows us to build an XML object for the nested firmware.

Available since: 1.6.0

fu_firmware_get_addr

Gets the base address of the image.

Available since: 1.6.0

fu_firmware_get_alignment

Gets the alignment of the firmware.

Available since: 1.6.0

fu_firmware_get_bytes

Gets the firmware payload, which does not have any header or footer included.

Available since: 1.6.0

fu_firmware_get_bytes_with_patches

Gets the firmware payload, with any defined patches applied.

Available since: 1.7.4

fu_firmware_get_checksum

Returns a checksum of the payload data.

Available since: 1.6.0

fu_firmware_get_chunks

Gets the optional image chunks.

Available since: 1.6.0

fu_firmware_get_filename

Gets an optional filename that represents the image source or destination.

Available since: 1.6.0

fu_firmware_get_id

Gets the image ID, typically set at construction.

Available since: 1.6.0

fu_firmware_get_idx

Gets the index of the image which is used for ordering.

Available since: 1.6.0

fu_firmware_get_image_by_checksum

Gets the firmware image using the image checksum. The checksum type is guessed based on the length of the input string.

Available since: 1.5.5

fu_firmware_get_image_by_gtype

Gets the firmware image using the image GType.

Available since: 1.9.3

fu_firmware_get_image_by_gtype_bytes

Gets the firmware image bytes using the image GType.

Available since: 1.9.3

fu_firmware_get_image_by_id

Gets the firmware image using the image ID.

Available since: 1.3.1

Class structure

struct FwupdPluginIntelThunderboltNvmClass {
  FuFirmwareClass parent_class;
  
}
Class members
parent_class
FuFirmwareClass
  No description available.

Functions