Lines Matching refs:nct6683_data

301 struct nct6683_data {  struct
499 static u16 nct6683_read(struct nct6683_data *data, u16 reg) in nct6683_read()
510 static u16 nct6683_read16(struct nct6683_data *data, u16 reg) in nct6683_read16()
515 static void nct6683_write(struct nct6683_data *data, u16 reg, u16 value) in nct6683_write()
523 static int get_in_reg(struct nct6683_data *data, int nr, int index) in get_in_reg()
546 static int get_temp_reg(struct nct6683_data *data, int nr, int index) in get_temp_reg()
587 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_update_pwm()
597 static struct nct6683_data *nct6683_update_device(struct device *dev) in nct6683_update_device()
599 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_update_device()
659 struct nct6683_data *data = nct6683_update_device(dev); in show_in_label()
669 struct nct6683_data *data = nct6683_update_device(dev); in show_in_reg()
681 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_in_is_visible()
717 struct nct6683_data *data = nct6683_update_device(dev); in show_fan()
725 struct nct6683_data *data = nct6683_update_device(dev); in show_fan_min()
736 struct nct6683_data *data = nct6683_update_device(dev); in show_fan_pulses()
746 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_fan_is_visible()
789 struct nct6683_data *data = nct6683_update_device(dev); in show_temp_label()
799 struct nct6683_data *data = nct6683_update_device(dev); in show_temp8()
810 struct nct6683_data *data = nct6683_update_device(dev); in show_temp_hyst()
821 struct nct6683_data *data = nct6683_update_device(dev); in show_temp16()
854 struct nct6683_data *data = nct6683_update_device(dev); in show_temp_type()
864 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_temp_is_visible()
916 struct nct6683_data *data = nct6683_update_device(dev); in show_pwm()
928 struct nct6683_data *data = dev_get_drvdata(dev); in store_pwm()
951 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_pwm_is_visible()
978 struct nct6683_data *data = dev_get_drvdata(dev); in beep_enable_show()
1004 struct nct6683_data *data = dev_get_drvdata(dev); in beep_enable_store()
1039 struct nct6683_data *data = dev_get_drvdata(dev); in intrusion0_alarm_show()
1065 struct nct6683_data *data = dev_get_drvdata(dev); in intrusion0_alarm_store()
1114 static inline void nct6683_init_device(struct nct6683_data *data) in nct6683_init_device()
1129 nct6683_setup_fans(struct nct6683_data *data) in nct6683_setup_fans()
1164 static void nct6683_setup_sensors(struct nct6683_data *data) in nct6683_setup_sensors()
1196 struct nct6683_data *data; in nct6683_probe()
1206 data = devm_kzalloc(dev, sizeof(struct nct6683_data), GFP_KERNEL); in nct6683_probe()
1311 struct nct6683_data *data = nct6683_update_device(dev); in nct6683_suspend()
1322 struct nct6683_data *data = dev_get_drvdata(dev); in nct6683_resume()