Lines Matching refs:adt7470_data
139 struct adt7470_data { struct
191 struct adt7470_data *data) in adt7470_read_temperatures()
256 struct adt7470_data *data = i2c_get_clientdata(client); in adt7470_update_thread()
273 static struct adt7470_data *adt7470_update_device(struct device *dev) in adt7470_update_device()
275 struct adt7470_data *data = dev_get_drvdata(dev); in adt7470_update_device()
397 struct adt7470_data *data = adt7470_update_device(dev); in auto_update_interval_show()
405 struct adt7470_data *data = dev_get_drvdata(dev); in auto_update_interval_store()
424 struct adt7470_data *data = adt7470_update_device(dev); in num_temp_sensors_show()
432 struct adt7470_data *data = dev_get_drvdata(dev); in num_temp_sensors_store()
453 struct adt7470_data *data = adt7470_update_device(dev); in temp_min_show()
462 struct adt7470_data *data = dev_get_drvdata(dev); in temp_min_store()
485 struct adt7470_data *data = adt7470_update_device(dev); in temp_max_show()
494 struct adt7470_data *data = dev_get_drvdata(dev); in temp_max_store()
517 struct adt7470_data *data = adt7470_update_device(dev); in temp_show()
525 struct adt7470_data *data = adt7470_update_device(dev); in alarm_mask_show()
534 struct adt7470_data *data = dev_get_drvdata(dev); in alarm_mask_store()
555 struct adt7470_data *data = adt7470_update_device(dev); in fan_max_show()
569 struct adt7470_data *data = dev_get_drvdata(dev); in fan_max_store()
591 struct adt7470_data *data = adt7470_update_device(dev); in fan_min_show()
605 struct adt7470_data *data = dev_get_drvdata(dev); in fan_min_store()
627 struct adt7470_data *data = adt7470_update_device(dev); in fan_show()
639 struct adt7470_data *data = adt7470_update_device(dev); in force_pwm_max_show()
647 struct adt7470_data *data = dev_get_drvdata(dev); in force_pwm_max_store()
672 struct adt7470_data *data = adt7470_update_device(dev); in pwm_show()
680 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_store()
705 struct adt7470_data *data = adt7470_update_device(dev); in pwm1_freq_show()
728 struct adt7470_data *data = dev_get_drvdata(dev); in pwm1_freq_store()
765 struct adt7470_data *data = adt7470_update_device(dev); in pwm_max_show()
774 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_max_store()
796 struct adt7470_data *data = adt7470_update_device(dev); in pwm_min_show()
805 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_min_store()
827 struct adt7470_data *data = adt7470_update_device(dev); in pwm_tmax_show()
836 struct adt7470_data *data = adt7470_update_device(dev); in pwm_tmin_show()
845 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_tmin_store()
868 struct adt7470_data *data = adt7470_update_device(dev); in pwm_auto_show()
877 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_auto_store()
913 struct adt7470_data *data = adt7470_update_device(dev); in pwm_auto_temp_show()
936 struct adt7470_data *data = dev_get_drvdata(dev); in pwm_auto_temp_store()
971 struct adt7470_data *data = adt7470_update_device(dev); in alarm_show()
1224 struct adt7470_data *data; in adt7470_probe()
1227 data = devm_kzalloc(dev, sizeof(struct adt7470_data), GFP_KERNEL); in adt7470_probe()
1262 struct adt7470_data *data = i2c_get_clientdata(client); in adt7470_remove()