Lines Matching refs:adt7470_data
144 struct adt7470_data { struct
179 static inline int adt7470_read_word_data(struct adt7470_data *data, unsigned int reg, in adt7470_read_word_data() argument
194 static inline int adt7470_write_word_data(struct adt7470_data *data, unsigned int reg, in adt7470_write_word_data()
206 static int adt7470_read_temperatures(struct adt7470_data *data) in adt7470_read_temperatures()
291 struct adt7470_data *data = i2c_get_clientdata(client); in adt7470_update_thread()
307 static int adt7470_update_sensors(struct adt7470_data *data) in adt7470_update_sensors()
378 static int adt7470_update_limits(struct adt7470_data *data) in adt7470_update_limits()
424 static struct adt7470_data *adt7470_update_device(struct device *dev) in adt7470_update_device()
426 struct adt7470_data *data = dev_get_drvdata(dev); in adt7470_update_device()
476 struct adt7470_data *data = adt7470_update_device(dev); in auto_update_interval_show()
488 struct adt7470_data *data = dev_get_drvdata(dev); in auto_update_interval_store()
507 struct adt7470_data *data = adt7470_update_device(dev); in num_temp_sensors_show()
519 struct adt7470_data *data = dev_get_drvdata(dev); in num_temp_sensors_store()
538 struct adt7470_data *data = adt7470_update_device(dev); in adt7470_temp_read()
565 struct adt7470_data *data = dev_get_drvdata(dev); in adt7470_temp_write()
594 struct adt7470_data *data = adt7470_update_device(dev); in alarm_mask_show()
606 struct adt7470_data *data = dev_get_drvdata(dev); in alarm_mask_store()
626 struct adt7470_data *data = adt7470_update_device(dev); in adt7470_fan_read()
662 struct adt7470_data *data = dev_get_drvdata(dev); in adt7470_fan_write()
694 struct adt7470_data *data = adt7470_update_device(dev); in force_pwm_max_show()
706 struct adt7470_data *data = dev_get_drvdata(dev); in force_pwm_max_store()
730 struct adt7470_data *data = dev_get_drvdata(dev); in pwm1_freq_get()
751 struct adt7470_data *data = adt7470_update_device(dev); in adt7470_pwm_read()
775 struct adt7470_data *data = dev_get_drvdata(dev); in pwm1_freq_set()
808 struct adt7470_data *data = dev_get_drvdata(dev); in adt7470_pwm_write()
852 struct adt7470_data *data = adt7470_update_device(dev); in pwm_max_show()
865 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_max_store()
887 struct adt7470_data *data = adt7470_update_device(dev); in pwm_min_show()
900 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_min_store()
922 struct adt7470_data *data = adt7470_update_device(dev); in pwm_tmax_show()
935 struct adt7470_data *data = adt7470_update_device(dev); in pwm_tmin_show()
948 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_tmin_store()
971 struct adt7470_data *data = adt7470_update_device(dev); in pwm_auto_temp_show()
998 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_auto_temp_store()
1249 struct adt7470_data *data; in adt7470_probe()
1253 data = devm_kzalloc(dev, sizeof(struct adt7470_data), GFP_KERNEL); in adt7470_probe()
1293 struct adt7470_data *data = i2c_get_clientdata(client); in adt7470_remove()