Lines Matching defs:device
26 MODULE_PARM_DESC(max_devices, "max number of switchtec device instances");
71 * The MMIO reads to the device_id register should always return the device ID
72 * of the device, otherwise the firmware is probably stuck or unreachable
78 u32 device = ioread32(&stdev->mmio_sys_info->device_id);
80 return stdev->pdev->device == device;
324 static ssize_t device_version_show(struct device *dev,
336 static ssize_t fw_version_show(struct device *dev,
367 static ssize_t field ## _show(struct device *dev, \
388 static ssize_t component_vendor_show(struct device *dev,
403 static ssize_t component_id_show(struct device *dev,
417 static ssize_t component_revision_show(struct device *dev,
431 static ssize_t partition_show(struct device *dev,
440 static ssize_t partition_count_show(struct device *dev,
1307 static void stdev_release(struct device *dev)
1344 struct device *dev;
1690 dev_info(&stdev->dev, "Management device registered.\n");
1723 .device = device_id, \
1732 .device = device_id, \