Home
last modified time | relevance | path

Searched refs:gpio_fan_data (Results 1 – 1 of 1) sorted by relevance

/drivers/hwmon/
Dgpio-fan.c29 struct gpio_fan_data { struct
54 struct gpio_fan_data *fan_data = in fan_alarm_notify() argument
55 container_of(ws, struct gpio_fan_data, alarm_work); in fan_alarm_notify()
63 struct gpio_fan_data *fan_data = dev_id; in fan_alarm_irq_handler()
73 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in fan1_alarm_show()
81 static int fan_alarm_init(struct gpio_fan_data *fan_data) in fan_alarm_init()
105 static void __set_fan_ctrl(struct gpio_fan_data *fan_data, int ctrl_val) in __set_fan_ctrl()
114 static int __get_fan_ctrl(struct gpio_fan_data *fan_data) in __get_fan_ctrl()
129 static void set_fan_speed(struct gpio_fan_data *fan_data, int speed_index) in set_fan_speed()
138 static int get_fan_speed_index(struct gpio_fan_data *fan_data) in get_fan_speed_index()
[all …]