Searched refs:fan_data (Results 1 – 3 of 3) sorted by relevance
53 struct gpio_fan_data *fan_data = in fan_alarm_notify() local56 sysfs_notify(&fan_data->hwmon_dev->kobj, NULL, "fan1_alarm"); in fan_alarm_notify()57 kobject_uevent(&fan_data->hwmon_dev->kobj, KOBJ_CHANGE); in fan_alarm_notify()62 struct gpio_fan_data *fan_data = dev_id; in fan_alarm_irq_handler() local64 schedule_work(&fan_data->alarm_work); in fan_alarm_irq_handler()72 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in fan1_alarm_show() local75 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show()80 static int fan_alarm_init(struct gpio_fan_data *fan_data) in fan_alarm_init() argument83 struct device *dev = fan_data->dev; in fan_alarm_init()89 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()[all …]
64 u8 fan_data[UCD9000_NUM_FAN][I2C_SMBUS_BLOCK_MAX]; member152 if (data->fan_data[fan][3] & 1) in ucd9000_get_fan_config()156 fan_config |= (data->fan_data[fan][3] & 0x06) >> 1; in ucd9000_get_fan_config()660 data->fan_data[i]); in ucd9000_probe()
386 char fan_data[4] = { fan, 0, 0, 0 }; in hp_wmi_get_fan_speed() local389 &fan_data, sizeof(char), in hp_wmi_get_fan_speed()390 sizeof(fan_data)); in hp_wmi_get_fan_speed()395 fsh = fan_data[2]; in hp_wmi_get_fan_speed()396 fsl = fan_data[3]; in hp_wmi_get_fan_speed()