Lines Matching defs:fan_data
58 struct gpio_fan_data *fan_data = in fan_alarm_notify() local
67 struct gpio_fan_data *fan_data = dev_id; in fan_alarm_irq_handler() local
77 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_fan_alarm() local
89 static int fan_alarm_init(struct gpio_fan_data *fan_data, in fan_alarm_init()
135 static void fan_alarm_free(struct gpio_fan_data *fan_data) in fan_alarm_free()
151 static void __set_fan_ctrl(struct gpio_fan_data *fan_data, int ctrl_val) in __set_fan_ctrl()
159 static int __get_fan_ctrl(struct gpio_fan_data *fan_data) in __get_fan_ctrl()
174 static void set_fan_speed(struct gpio_fan_data *fan_data, int speed_index) in set_fan_speed()
183 static int get_fan_speed_index(struct gpio_fan_data *fan_data) in get_fan_speed_index()
198 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, int rpm) in rpm_to_speed_index()
213 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_pwm() local
222 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_pwm() local
249 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_pwm_enable() local
257 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_pwm_enable() local
288 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm_min() local
296 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm_max() local
305 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in show_rpm() local
313 struct gpio_fan_data *fan_data = dev_get_drvdata(dev); in set_rpm() local
359 static int fan_ctrl_init(struct gpio_fan_data *fan_data, in fan_ctrl_init()
403 static void fan_ctrl_free(struct gpio_fan_data *fan_data) in fan_ctrl_free()
428 struct gpio_fan_data *fan_data; in gpio_fan_probe() local
492 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev); in gpio_fan_remove() local
508 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev); in gpio_fan_suspend() local
520 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev); in gpio_fan_resume() local