Lines Matching defs:fan_data
60 struct gpio_fan_data *fan_data = in fan_alarm_notify() local
69 struct gpio_fan_data *fan_data = dev_id; in fan_alarm_irq_handler() local
79 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_fan_alarm() local
91 static int fan_alarm_init(struct gpio_fan_data *fan_data, in fan_alarm_init()
128 static void __set_fan_ctrl(struct gpio_fan_data *fan_data, int ctrl_val) in __set_fan_ctrl()
136 static int __get_fan_ctrl(struct gpio_fan_data *fan_data) in __get_fan_ctrl()
151 static void set_fan_speed(struct gpio_fan_data *fan_data, int speed_index) in set_fan_speed()
160 static int get_fan_speed_index(struct gpio_fan_data *fan_data) in get_fan_speed_index()
175 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, int rpm) in rpm_to_speed_index()
190 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_pwm() local
199 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_pwm() local
226 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_pwm_enable() local
234 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_pwm_enable() local
265 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm_min() local
273 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm_max() local
282 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm() local
290 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_rpm() local
361 static int fan_ctrl_init(struct gpio_fan_data *fan_data, in fan_ctrl_init()
497 struct gpio_fan_data *fan_data; in gpio_fan_probe() local
564 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev); in gpio_fan_remove() local
575 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in gpio_fan_suspend() local
587 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in gpio_fan_resume() local