Lines Matching refs:device
20 EFX_HWMON_COOL, /* cooling device, probably a heatsink */
161 static int efx_mcdi_mon_get_entry(struct device *dev, unsigned int index,
186 static ssize_t efx_mcdi_mon_show_value(struct device *dev,
223 static ssize_t efx_mcdi_mon_show_limit(struct device *dev,
250 static ssize_t efx_mcdi_mon_show_alarm(struct device *dev,
268 static ssize_t efx_mcdi_mon_show_label(struct device *dev,
280 ssize_t (*reader)(struct device *,
334 /* Don't create a device if there are none */
505 hwmon->device = hwmon_device_register_with_groups(&efx->pci_dev->dev,
508 if (IS_ERR(hwmon->device)) {
509 rc = PTR_ERR(hwmon->device);
524 if (hwmon->device)
525 hwmon_device_unregister(hwmon->device);