Lines Matching refs:it87_data
575 struct it87_data { struct
641 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() argument
656 static u8 in_to_reg(const struct it87_data *data, int nr, long val) in in_to_reg()
662 static int in_from_reg(const struct it87_data *data, int nr, int val) in in_from_reg()
692 static u8 pwm_to_reg(const struct it87_data *data, long val) in pwm_to_reg()
700 static int pwm_from_reg(const struct it87_data *data, u8 reg) in pwm_from_reg()
740 static int smbus_disable(struct it87_data *data) in smbus_disable()
756 static int smbus_enable(struct it87_data *data) in smbus_enable()
779 static int it87_read_value(struct it87_data *data, u8 reg) in it87_read_value()
791 static void it87_write_value(struct it87_data *data, u8 reg, u8 value) in it87_write_value()
797 static void it87_update_pwm_ctrl(struct it87_data *data, int nr) in it87_update_pwm_ctrl()
847 static int it87_lock(struct it87_data *data) in it87_lock()
858 static void it87_unlock(struct it87_data *data) in it87_unlock()
864 static struct it87_data *it87_update_device(struct device *dev) in it87_update_device()
866 struct it87_data *data = dev_get_drvdata(dev); in it87_update_device()
867 struct it87_data *ret = data; in it87_update_device()
993 struct it87_data *data = it87_update_device(dev); in show_in()
1007 struct it87_data *data = dev_get_drvdata(dev); in set_in()
1090 struct it87_data *data = it87_update_device(dev); in show_temp()
1104 struct it87_data *data = dev_get_drvdata(dev); in set_temp()
1166 static int get_temp_type(struct it87_data *data, int index) in get_temp_type()
1220 struct it87_data *data = it87_update_device(dev); in show_temp_type()
1234 struct it87_data *data = dev_get_drvdata(dev); in set_temp_type()
1293 static int pwm_mode(const struct it87_data *data, int nr) in pwm_mode()
1314 struct it87_data *data = it87_update_device(dev); in show_fan()
1330 struct it87_data *data = it87_update_device(dev); in show_fan_div()
1343 struct it87_data *data = it87_update_device(dev); in show_pwm_enable()
1356 struct it87_data *data = it87_update_device(dev); in show_pwm()
1370 struct it87_data *data = it87_update_device(dev); in show_pwm_freq()
1395 struct it87_data *data = dev_get_drvdata(dev); in set_fan()
1440 struct it87_data *data = dev_get_drvdata(dev); in set_fan_div()
1487 const struct it87_data *data = dev_get_drvdata(dev); in check_trip_points()
1518 struct it87_data *data = dev_get_drvdata(dev); in set_pwm_enable()
1593 struct it87_data *data = dev_get_drvdata(dev); in set_pwm()
1639 struct it87_data *data = dev_get_drvdata(dev); in set_pwm_freq()
1679 struct it87_data *data = it87_update_device(dev); in show_pwm_temp_map()
1700 struct it87_data *data = dev_get_drvdata(dev); in set_pwm_temp_map()
1748 struct it87_data *data = it87_update_device(dev); in show_auto_pwm()
1764 struct it87_data *data = dev_get_drvdata(dev); in set_auto_pwm()
1793 struct it87_data *data = it87_update_device(dev); in show_auto_pwm_slope()
1807 struct it87_data *data = dev_get_drvdata(dev); in set_auto_pwm_slope()
1830 struct it87_data *data = it87_update_device(dev); in show_auto_temp()
1851 struct it87_data *data = dev_get_drvdata(dev); in set_auto_temp()
2062 struct it87_data *data = it87_update_device(dev); in alarms_show()
2074 struct it87_data *data = it87_update_device(dev); in show_alarm()
2087 struct it87_data *data = dev_get_drvdata(dev); in clear_intrusion()
2134 struct it87_data *data = it87_update_device(dev); in show_beep()
2147 struct it87_data *data = dev_get_drvdata(dev); in set_beep()
2192 struct it87_data *data = dev_get_drvdata(dev); in vrm_show()
2200 struct it87_data *data = dev_get_drvdata(dev); in vrm_store()
2215 struct it87_data *data = it87_update_device(dev); in cpu0_vid_show()
2239 struct it87_data *data = dev_get_drvdata(dev); in show_label()
2262 struct it87_data *data = dev_get_drvdata(dev); in it87_in_is_visible()
2346 struct it87_data *data = dev_get_drvdata(dev); in it87_temp_is_visible()
2413 struct it87_data *data = dev_get_drvdata(dev); in it87_is_visible()
2445 struct it87_data *data = dev_get_drvdata(dev); in it87_fan_is_visible()
2516 struct it87_data *data = dev_get_drvdata(dev); in it87_pwm_is_visible()
2577 struct it87_data *data = dev_get_drvdata(dev); in it87_auto_pwm_is_visible()
3157 static void it87_check_limit_regs(struct it87_data *data) in it87_check_limit_regs()
3174 static void it87_check_voltage_monitors_reset(struct it87_data *data) in it87_check_voltage_monitors_reset()
3189 struct it87_data *data = platform_get_drvdata(pdev); in it87_check_tachometers_reset()
3205 struct it87_data *data = platform_get_drvdata(pdev); in it87_check_tachometers_16bit_mode()
3220 static void it87_start_monitoring(struct it87_data *data) in it87_start_monitoring()
3231 struct it87_data *data = platform_get_drvdata(pdev); in it87_init_device()
3300 struct it87_data *data = dev_get_drvdata(dev); in it87_check_pwm()
3355 struct it87_data *data; in it87_probe()
3372 data = devm_kzalloc(&pdev->dev, sizeof(struct it87_data), GFP_KERNEL); in it87_probe()
3516 struct it87_data *data = dev_get_drvdata(&pdev->dev); in it87_resume_sio()
3549 struct it87_data *data = dev_get_drvdata(dev); in it87_resume()