Lines Matching refs:device

34 MODULE_PARM_DESC(force_id, "Override the detected device ID");
60 /* logical device for fans is 0x0A */
85 /* Logical device registers */
120 struct device *hwmon_dev;
134 u8 activate; /* Remember initial device state */
148 static struct smsc47m1_data *smsc47m1_update_device(struct device *dev,
197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
216 static ssize_t fan_min_show(struct device *dev,
227 static ssize_t fan_div_show(struct device *dev,
235 static ssize_t fan_alarm_show(struct device *dev,
243 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
251 static ssize_t pwm_en_show(struct device *dev,
259 static ssize_t alarms_show(struct device *dev,
266 static ssize_t fan_min_store(struct device *dev,
303 static ssize_t fan_div_store(struct device *dev,
369 static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
395 static ssize_t pwm_en_store(struct device *dev,
443 static ssize_t name_show(struct device *dev, struct device_attribute
541 * SMSC LPC47M10x/LPC47M112/LPC47M13x (device id 0x59), LPC47M14x
542 * (device id 0x5F) and LPC47B27x (device id 0x51) have fan control.
544 * can do much more besides (device id 0x60).
546 * the LPC47M192, and has the same device id.
547 * The LPC47M292 (device id 0x6B) is somewhat compatible, but it
550 * The LPC47M233 has the same device id (0x6B) but is not compatible.
551 * We check the high bit of the device revision register to
601 pr_info("Enabling device\n");
609 /* Restore device to its initial state */
615 pr_info("Disabling device\n");
619 pr_warn("Failed to disable device\n");
636 struct device *dev)
696 static void smsc47m1_remove_files(struct device *dev)
709 struct device *dev = &pdev->dev;