Lines Matching refs:nct6775_data
1077 static int nct6775_add_template_attr_group(struct device *dev, struct nct6775_data *data, in nct6775_add_template_attr_group()
1151 bool nct6775_reg_is_word_sized(struct nct6775_data *data, u16 reg) in nct6775_reg_is_word_sized()
1212 static int nct6775_read_temp(struct nct6775_data *data, u16 reg, u16 *val) in nct6775_read_temp()
1227 static int nct6775_write_fan_div(struct nct6775_data *data, int nr) in nct6775_write_fan_div()
1242 static int nct6775_write_fan_div_common(struct nct6775_data *data, int nr) in nct6775_write_fan_div_common()
1249 static int nct6775_update_fan_div(struct nct6775_data *data) in nct6775_update_fan_div()
1269 static int nct6775_update_fan_div_common(struct nct6775_data *data) in nct6775_update_fan_div_common()
1276 static int nct6775_init_fan_div(struct nct6775_data *data) in nct6775_init_fan_div()
1305 struct nct6775_data *data) in nct6775_init_fan_common()
1338 struct nct6775_data *data, int nr, u16 reg) in nct6775_select_fan_div()
1393 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_update_pwm()
1477 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_update_pwm_limits()
1569 struct nct6775_data *nct6775_update_device(struct device *dev) in nct6775_update_device()
1571 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_update_device()
1716 struct nct6775_data *data = nct6775_update_device(dev); in show_in_reg()
1732 struct nct6775_data *data = dev_get_drvdata(dev); in store_in_reg()
1752 struct nct6775_data *data = nct6775_update_device(dev); in nct6775_show_alarm()
1765 static int find_temp_source(struct nct6775_data *data, int index, int count) in find_temp_source()
1786 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_alarm()
1810 struct nct6775_data *data = nct6775_update_device(dev); in nct6775_show_beep()
1827 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_store_beep()
1855 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_beep()
1881 struct nct6775_data *data = dev_get_drvdata(dev); in store_temp_beep()
1915 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_in_is_visible()
1956 struct nct6775_data *data = nct6775_update_device(dev); in show_fan()
1969 struct nct6775_data *data = nct6775_update_device(dev); in show_fan_min()
1984 struct nct6775_data *data = nct6775_update_device(dev); in show_fan_div()
1998 struct nct6775_data *data = dev_get_drvdata(dev); in store_fan_min()
2093 struct nct6775_data *data = nct6775_update_device(dev); in show_fan_pulses()
2108 struct nct6775_data *data = dev_get_drvdata(dev); in store_fan_pulses()
2140 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_fan_is_visible()
2193 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_label()
2206 struct nct6775_data *data = nct6775_update_device(dev); in show_temp()
2221 struct nct6775_data *data = dev_get_drvdata(dev); in store_temp()
2242 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_offset()
2255 struct nct6775_data *data = dev_get_drvdata(dev); in store_temp_offset()
2278 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_type()
2292 struct nct6775_data *data = nct6775_update_device(dev); in store_temp_type()
2350 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_temp_is_visible()
2423 struct nct6775_data *data = nct6775_update_device(dev); in show_tsi_temp()
2446 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_tsi_temp_is_visible()
2465 struct nct6775_data *data = nct6775_update_device(dev); in show_pwm_mode()
2478 struct nct6775_data *data = dev_get_drvdata(dev); in store_pwm_mode()
2516 struct nct6775_data *data = nct6775_update_device(dev); in show_pwm()
2545 struct nct6775_data *data = dev_get_drvdata(dev); in store_pwm()
2588 static int check_trip_points(struct nct6775_data *data, int nr) in check_trip_points()
2611 static int pwm_update_registers(struct nct6775_data *data, int nr) in pwm_update_registers()
2664 struct nct6775_data *data = nct6775_update_device(dev); in show_pwm_enable()
2677 struct nct6775_data *data = dev_get_drvdata(dev); in store_pwm_enable()
2726 show_pwm_temp_sel_common(struct nct6775_data *data, char *buf, int src) in show_pwm_temp_sel_common()
2745 struct nct6775_data *data = nct6775_update_device(dev); in show_pwm_temp_sel()
2759 struct nct6775_data *data = nct6775_update_device(dev); in store_pwm_temp_sel()
2796 struct nct6775_data *data = nct6775_update_device(dev); in show_pwm_weight_temp_sel()
2811 struct nct6775_data *data = nct6775_update_device(dev); in store_pwm_weight_temp_sel()
2858 struct nct6775_data *data = nct6775_update_device(dev); in show_target_temp()
2871 struct nct6775_data *data = dev_get_drvdata(dev); in store_target_temp()
2894 struct nct6775_data *data = nct6775_update_device(dev); in show_target_speed()
2910 struct nct6775_data *data = dev_get_drvdata(dev); in store_target_speed()
2935 struct nct6775_data *data = nct6775_update_device(dev); in show_temp_tolerance()
2950 struct nct6775_data *data = dev_get_drvdata(dev); in store_temp_tolerance()
2985 struct nct6775_data *data = nct6775_update_device(dev); in show_speed_tolerance()
3017 struct nct6775_data *data = dev_get_drvdata(dev); in store_speed_tolerance()
3062 struct nct6775_data *data = nct6775_update_device(dev); in show_weight_temp()
3077 struct nct6775_data *data = dev_get_drvdata(dev); in store_weight_temp()
3111 struct nct6775_data *data = nct6775_update_device(dev); in show_fan_time()
3128 struct nct6775_data *data = dev_get_drvdata(dev); in store_fan_time()
3150 struct nct6775_data *data = nct6775_update_device(dev); in show_auto_pwm()
3163 struct nct6775_data *data = dev_get_drvdata(dev); in store_auto_pwm()
3236 struct nct6775_data *data = nct6775_update_device(dev); in show_auto_temp()
3255 struct nct6775_data *data = dev_get_drvdata(dev); in store_auto_temp()
3285 struct nct6775_data *data = dev_get_drvdata(dev); in nct6775_pwm_is_visible()
3414 static inline int nct6775_init_device(struct nct6775_data *data) in nct6775_init_device()
3474 static int add_temp_sensors(struct nct6775_data *data, const u16 *regp, in add_temp_sensors()
3505 int nct6775_probe(struct device *dev, struct nct6775_data *data, in nct6775_probe()