Lines Matching refs:adt7462_data
191 struct adt7462_data { struct
242 static int ADT7462_REG_VOLT_MAX(struct adt7462_data *data, int which) in ADT7462_REG_VOLT_MAX()
301 static int ADT7462_REG_VOLT_MIN(struct adt7462_data *data, int which) in ADT7462_REG_VOLT_MIN()
360 static int ADT7462_REG_VOLT(struct adt7462_data *data, int which) in ADT7462_REG_VOLT()
420 static const char *voltage_label(struct adt7462_data *data, int which) in voltage_label()
514 static int voltage_multiplier(struct adt7462_data *data, int which) in voltage_multiplier()
603 static int temp_enabled(struct adt7462_data *data, int which) in temp_enabled()
621 static const char *temp_label(struct adt7462_data *data, int which) in temp_label()
672 static struct adt7462_data *adt7462_update_device(struct device *dev) in adt7462_update_device()
674 struct adt7462_data *data = dev_get_drvdata(dev); in adt7462_update_device()
782 struct adt7462_data *data = adt7462_update_device(dev); in temp_min_show()
795 struct adt7462_data *data = dev_get_drvdata(dev); in temp_min_store()
818 struct adt7462_data *data = adt7462_update_device(dev); in temp_max_show()
831 struct adt7462_data *data = dev_get_drvdata(dev); in temp_max_store()
854 struct adt7462_data *data = adt7462_update_device(dev); in temp_show()
868 struct adt7462_data *data = adt7462_update_device(dev); in temp_label_show()
877 struct adt7462_data *data = adt7462_update_device(dev); in volt_max_show()
891 struct adt7462_data *data = dev_get_drvdata(dev); in volt_max_store()
917 struct adt7462_data *data = adt7462_update_device(dev); in volt_min_show()
931 struct adt7462_data *data = dev_get_drvdata(dev); in volt_min_store()
957 struct adt7462_data *data = adt7462_update_device(dev); in voltage_show()
970 struct adt7462_data *data = adt7462_update_device(dev); in voltage_label_show()
979 struct adt7462_data *data = adt7462_update_device(dev); in alarm_show()
989 static int fan_enabled(struct adt7462_data *data, int fan) in fan_enabled()
998 struct adt7462_data *data = adt7462_update_device(dev); in fan_min_show()
1017 struct adt7462_data *data = dev_get_drvdata(dev); in fan_min_store()
1042 struct adt7462_data *data = adt7462_update_device(dev); in fan_show()
1055 struct adt7462_data *data = adt7462_update_device(dev); in force_pwm_max_show()
1063 struct adt7462_data *data = dev_get_drvdata(dev); in force_pwm_max_store()
1088 struct adt7462_data *data = adt7462_update_device(dev); in pwm_show()
1096 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_store()
1116 struct adt7462_data *data = adt7462_update_device(dev); in pwm_max_show()
1124 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_max_store()
1145 struct adt7462_data *data = adt7462_update_device(dev); in pwm_min_show()
1154 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_min_store()
1176 struct adt7462_data *data = adt7462_update_device(dev); in pwm_hyst_show()
1186 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_hyst_store()
1213 struct adt7462_data *data = adt7462_update_device(dev); in pwm_tmax_show()
1229 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_tmax_store()
1259 struct adt7462_data *data = adt7462_update_device(dev); in pwm_tmin_show()
1268 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_tmin_store()
1291 struct adt7462_data *data = adt7462_update_device(dev); in pwm_auto_show()
1305 struct adt7462_data *data, in set_pwm_channel()
1323 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_auto_store()
1346 struct adt7462_data *data = adt7462_update_device(dev); in pwm_auto_temp_show()
1380 struct adt7462_data *data = dev_get_drvdata(dev); in pwm_auto_temp_store()
1793 struct adt7462_data *data; in adt7462_probe()
1796 data = devm_kzalloc(dev, sizeof(struct adt7462_data), GFP_KERNEL); in adt7462_probe()