Lines Matching defs:w83627ehf_data
305 struct w83627ehf_data {
394 static inline void w83627ehf_set_bank(struct w83627ehf_data *data, u16 reg)
404 static u16 w83627ehf_read_value(struct w83627ehf_data *data, u16 reg)
423 static int w83627ehf_write_value(struct w83627ehf_data *data, u16 reg,
444 static u16 w83627ehf_read_temp(struct w83627ehf_data *data, u16 reg)
455 static int w83627ehf_write_temp(struct w83627ehf_data *data, u16 reg,
464 static void w83627ehf_write_fan_div(struct w83627ehf_data *data, int nr)
514 static void w83627ehf_update_fan_div(struct w83627ehf_data *data)
539 static void w83627ehf_update_pwm(struct w83627ehf_data *data)
565 static struct w83627ehf_data *w83627ehf_update_device(struct device *dev)
567 struct w83627ehf_data *data = dev_get_drvdata(dev);
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,
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,
818 store_pwm_mode(struct device *dev, struct w83627ehf_data *data, int channel,
838 store_pwm(struct device *dev, struct w83627ehf_data *data, int channel,
851 store_pwm_enable(struct device *dev, struct w83627ehf_data *data, int channel,
876 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent); \
890 struct w83627ehf_data *data = dev_get_drvdata(dev);
913 struct w83627ehf_data *data = dev_get_drvdata(dev);
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);
1091 clear_caseopen(struct device *dev, struct w83627ehf_data *data, int channel,
1114 struct w83627ehf_data *data = dev_get_drvdata(dev);
1219 static inline void w83627ehf_init_device(struct w83627ehf_data *data,
1280 w83627ehf_set_temp_reg_ehf(struct w83627ehf_data *data, int n_temp)
1294 struct w83627ehf_data *data)
1342 const struct w83627ehf_data *data = drvdata;
1432 w83627ehf_do_read_temp(struct w83627ehf_data *data, u32 attr,
1467 w83627ehf_do_read_in(struct w83627ehf_data *data, u32 attr,
1496 w83627ehf_do_read_fan(struct w83627ehf_data *data, u32 attr,
1524 w83627ehf_do_read_pwm(struct w83627ehf_data *data, u32 attr,
1544 w83627ehf_do_read_intrusion(struct w83627ehf_data *data, u32 attr,
1558 struct w83627ehf_data *data = w83627ehf_update_device(dev->parent);
1587 struct w83627ehf_data *data = dev_get_drvdata(dev);
1608 struct w83627ehf_data *data = dev_get_drvdata(dev);
1701 struct w83627ehf_data *data;
1716 data = devm_kzalloc(&pdev->dev, sizeof(struct w83627ehf_data),
1969 struct w83627ehf_data *data = platform_get_drvdata(pdev);
1979 struct w83627ehf_data *data = w83627ehf_update_device(dev);
1990 struct w83627ehf_data *data = dev_get_drvdata(dev);