Lines Matching refs:w83627ehf_data
305 struct w83627ehf_data { struct
394 static inline void w83627ehf_set_bank(struct w83627ehf_data *data, u16 reg) in w83627ehf_set_bank() argument
404 static u16 w83627ehf_read_value(struct w83627ehf_data *data, u16 reg) in w83627ehf_read_value()
423 static int w83627ehf_write_value(struct w83627ehf_data *data, u16 reg, in w83627ehf_write_value()
444 static u16 w83627ehf_read_temp(struct w83627ehf_data *data, u16 reg) in w83627ehf_read_temp()
455 static int w83627ehf_write_temp(struct w83627ehf_data *data, u16 reg, in w83627ehf_write_temp()
464 static void w83627ehf_write_fan_div(struct w83627ehf_data *data, int nr) in w83627ehf_write_fan_div()
514 static void w83627ehf_update_fan_div(struct w83627ehf_data *data) in w83627ehf_update_fan_div()
539 static void w83627ehf_update_pwm(struct w83627ehf_data *data) in w83627ehf_update_pwm()
565 static struct w83627ehf_data *w83627ehf_update_device(struct device *dev) in w83627ehf_update_device()
567 struct w83627ehf_data *data = dev_get_drvdata(dev); in w83627ehf_update_device()
702 store_in_##reg(struct device *dev, struct w83627ehf_data *data, int channel, \
719 store_fan_min(struct device *dev, struct w83627ehf_data *data, int channel, in store_in_reg()
792 store_##reg(struct device *dev, struct w83627ehf_data *data, int channel, \
805 store_temp_offset(struct device *dev, struct w83627ehf_data *data, int channel, in store_temp_offset()
818 store_pwm_mode(struct device *dev, struct w83627ehf_data *data, int channel, in store_pwm_mode()
838 store_pwm(struct device *dev, struct w83627ehf_data *data, int channel, in store_pwm()
851 store_pwm_enable(struct device *dev, struct w83627ehf_data *data, int channel, in store_pwm_enable()
876 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent); \
890 struct w83627ehf_data *data = dev_get_drvdata(dev); in show_tol_temp()
913 struct w83627ehf_data *data = dev_get_drvdata(dev); in store_tolerance()
963 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent); \
973 struct w83627ehf_data *data = dev_get_drvdata(dev); \
999 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent); \
1012 struct w83627ehf_data *data = dev_get_drvdata(dev); \
1083 struct w83627ehf_data *data = dev_get_drvdata(dev); in cpu0_vid_show()
1091 clear_caseopen(struct device *dev, struct w83627ehf_data *data, int channel, in clear_caseopen()
1114 struct w83627ehf_data *data = dev_get_drvdata(dev); in w83627ehf_attrs_visible()
1219 static inline void w83627ehf_init_device(struct w83627ehf_data *data, in w83627ehf_init_device()
1280 w83627ehf_set_temp_reg_ehf(struct w83627ehf_data *data, int n_temp) in w83627ehf_set_temp_reg_ehf()
1294 struct w83627ehf_data *data) in w83627ehf_check_fan_inputs()
1342 const struct w83627ehf_data *data = drvdata; in w83627ehf_is_visible()
1432 w83627ehf_do_read_temp(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_temp()
1467 w83627ehf_do_read_in(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_in()
1496 w83627ehf_do_read_fan(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_fan()
1524 w83627ehf_do_read_pwm(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_pwm()
1544 w83627ehf_do_read_intrusion(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_intrusion()
1558 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent); in w83627ehf_read()
1587 struct w83627ehf_data *data = dev_get_drvdata(dev); in w83627ehf_read_string()
1608 struct w83627ehf_data *data = dev_get_drvdata(dev); in w83627ehf_write()
1701 struct w83627ehf_data *data; in w83627ehf_probe()
1716 data = devm_kzalloc(&pdev->dev, sizeof(struct w83627ehf_data), in w83627ehf_probe()
1969 struct w83627ehf_data *data = platform_get_drvdata(pdev); in w83627ehf_remove()
1979 struct w83627ehf_data *data = w83627ehf_update_device(dev); in w83627ehf_suspend()
1990 struct w83627ehf_data *data = dev_get_drvdata(dev); in w83627ehf_resume()