Lines Matching refs:lm63_data
138 struct lm63_data { struct
178 static inline int temp8_from_reg(struct lm63_data *data, int nr) in temp8_from_reg() argument
185 static inline int lut_temp_from_reg(struct lm63_data *data, int nr) in lut_temp_from_reg()
190 static inline int lut_temp_to_reg(struct lm63_data *data, long val) in lut_temp_to_reg()
203 static void lm63_update_lut(struct lm63_data *data) in lm63_update_lut()
224 static struct lm63_data *lm63_update_device(struct device *dev) in lm63_update_device()
226 struct lm63_data *data = dev_get_drvdata(dev); in lm63_update_device()
306 static int lm63_lut_looks_bad(struct device *dev, struct lm63_data *data) in lm63_lut_looks_bad()
335 struct lm63_data *data = lm63_update_device(dev); in show_fan()
342 struct lm63_data *data = dev_get_drvdata(dev); in set_fan()
365 struct lm63_data *data = lm63_update_device(dev); in show_pwm1()
383 struct lm63_data *data = dev_get_drvdata(dev); in set_pwm1()
411 struct lm63_data *data = lm63_update_device(dev); in pwm1_enable_show()
419 struct lm63_data *data = dev_get_drvdata(dev); in pwm1_enable_store()
461 struct lm63_data *data = lm63_update_device(dev); in show_local_temp8()
470 struct lm63_data *data = lm63_update_device(dev); in show_remote_temp8()
480 struct lm63_data *data = lm63_update_device(dev); in show_lut_temp()
489 struct lm63_data *data = dev_get_drvdata(dev); in set_temp8()
528 struct lm63_data *data = lm63_update_device(dev); in show_temp11()
563 struct lm63_data *data = dev_get_drvdata(dev); in set_temp11()
594 struct lm63_data *data = lm63_update_device(dev); in temp2_crit_hyst_show()
604 struct lm63_data *data = lm63_update_device(dev); in show_lut_temp_hyst()
619 struct lm63_data *data = dev_get_drvdata(dev); in temp2_crit_hyst_store()
641 static void lm63_set_convrate(struct lm63_data *data, unsigned int interval) in lm63_set_convrate()
664 struct lm63_data *data = dev_get_drvdata(dev); in update_interval_show()
673 struct lm63_data *data = dev_get_drvdata(dev); in update_interval_store()
691 struct lm63_data *data = dev_get_drvdata(dev); in temp2_type_show()
700 struct lm63_data *data = dev_get_drvdata(dev); in temp2_type_store()
726 struct lm63_data *data = lm63_update_device(dev); in alarms_show()
734 struct lm63_data *data = lm63_update_device(dev); in show_alarm()
935 struct lm63_data *data = dev_get_drvdata(dev); in lm63_attribute_mode()
1014 static void lm63_init_client(struct lm63_data *data) in lm63_init_client()
1096 struct lm63_data *data; in lm63_probe()
1099 data = devm_kzalloc(dev, sizeof(struct lm63_data), GFP_KERNEL); in lm63_probe()