Lines Matching defs:device
6 #include <linux/device.h>
42 /* Start pf the firmware device id records */
68 struct device *dev = data->context->dev;
126 struct device *dev = data->context->dev;
205 struct device *dev = data->context->dev;
414 * PLDM device record data.
444 struct device *dev = data->context->dev;
516 struct device *dev = data->context->dev;
609 int device;
615 * pldmfw_op_pci_match_record - Check if a PCI device matches the record
619 * Determine of the PCI device associated with this device matches the record
623 * a pldm_pci_record_id. This is then compared against the PCI device ID
626 * Returns: true if the device matches the record, false otherwise.
633 .device = PCI_ANY_ID,
648 ptr = &id.device;
664 * device. For example if the record applies to any subsystem
665 * device or vendor.
674 (id.device == PCI_ANY_ID || id.device == pdev->device) &&
746 /* Skip components which are not intended for this device */
771 * pldm_flash_components - Program each component to device flash
774 * Loop through each component that is active for the matching device record,
775 * and send it to the device driver for flashing.
788 /* Skip components which are not intended for this device */
801 * pldm_finalize_update - Finalize the device flash update
804 * Tell the device driver to perform any remaining logic to complete the
805 * device update.
819 * pldmfw_flash_image - Write a PLDM-formatted firmware image to the device
824 * formatted image that matches this device.
826 * Extract the device record Package Data and Component Tables and send them
827 * to the device firmware. Extract and write the flash data for each of the