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]; member94 if (data->fan_data[fan][3] & 1) in ucd9000_get_fan_config()98 fan_config |= (data->fan_data[fan][3] & 0x06) >> 1; in ucd9000_get_fan_config()602 data->fan_data[i]); in ucd9000_probe()
417 char fan_data[4] = { fan, 0, 0, 0 }; in hp_wmi_get_fan_speed() local420 &fan_data, sizeof(char), in hp_wmi_get_fan_speed()421 sizeof(fan_data)); in hp_wmi_get_fan_speed()426 fsh = fan_data[2]; in hp_wmi_get_fan_speed()427 fsl = fan_data[3]; in hp_wmi_get_fan_speed()