Lines Matching refs:nct6775_write_value
1154 return nct6775_write_value(data, fandiv_reg, reg); in nct6775_write_fan_div()
1241 err = nct6775_write_value(data, data->REG_FAN_MIN[i], in nct6775_init_fan_common()
1292 err = nct6775_write_value(data, data->REG_FAN_MIN[nr], fan_min); in nct6775_select_fan_div()
1653 err = nct6775_write_value(data, data->REG_IN_MINMAX[index - 1][nr], data->in[nr][index]); in store_in_reg()
1753 err = nct6775_write_value(data, data->REG_BEEP[regindex], in nct6775_store_beep()
1813 err = nct6775_write_value(data, data->REG_BEEP[regindex], in store_temp_beep()
1989 err = nct6775_write_value(data, data->REG_FAN_MIN[nr], data->fan_min[nr]); in store_fan_min()
2034 err = nct6775_write_value(data, data->REG_FAN_PULSES[nr], reg); in store_fan_pulses()
2174 err = nct6775_write_value(data, data->REG_TEMP_OFFSET[nr], val); in store_temp_offset()
2242 err = nct6775_write_value(data, data->REG_VBAT, vbat); in store_temp_type()
2245 err = nct6775_write_value(data, data->REG_DIODE, diode); in store_temp_type()
2412 err = nct6775_write_value(data, data->REG_PWM_MODE[nr], reg); in store_pwm_mode()
2468 err = nct6775_write_value(data, data->REG_PWM[index][nr], val); in store_pwm()
2478 err = nct6775_write_value(data, data->REG_TEMP_SEL[nr], reg); in store_pwm()
2524 err = nct6775_write_value(data, data->REG_FAN_MODE[nr], reg); in pwm_update_registers()
2527 err = nct6775_write_value(data, data->REG_TARGET[nr], in pwm_update_registers()
2534 err = nct6775_write_value(data, data->REG_TOLERANCE_H[nr], reg); in pwm_update_registers()
2540 err = nct6775_write_value(data, data->REG_TARGET[nr], data->target_temp[nr]); in pwm_update_registers()
2550 err = nct6775_write_value(data, data->REG_FAN_MODE[nr], reg); in pwm_update_registers()
2605 err = nct6775_write_value(data, data->REG_PWM[0][nr], 255); in store_pwm_enable()
2617 err = nct6775_write_value(data, data->REG_FAN_MODE[nr], reg); in store_pwm_enable()
2683 err = nct6775_write_value(data, data->REG_TEMP_SEL[nr], reg); in store_pwm_temp_sel()
2738 err = nct6775_write_value(data, data->REG_WEIGHT_TEMP_SEL[nr], reg); in store_pwm_weight_temp_sel()
2745 err = nct6775_write_value(data, data->REG_WEIGHT_TEMP_SEL[nr], reg); in store_pwm_weight_temp_sel()
2867 err = nct6775_write_value(data, data->REG_CRITICAL_TEMP_TOLERANCE[nr], val); in store_temp_tolerance()
2990 err = nct6775_write_value(data, data->REG_WEIGHT_TEMP[index][nr], val); in store_weight_temp()
3040 err = nct6775_write_value(data, data->REG_FAN_TIME[index][nr], val); in store_fan_time()
3085 err = nct6775_write_value(data, NCT6775_AUTO_PWM(data, nr, point), in store_auto_pwm()
3098 err = nct6775_write_value(data, NCT6775_REG_CRITICAL_ENAB[nr], reg); in store_auto_pwm()
3112 err = nct6775_write_value(data, data->REG_CRITICAL_PWM[nr], val); in store_auto_pwm()
3122 err = nct6775_write_value(data, data->REG_CRITICAL_PWM_ENABLE[nr], reg); in store_auto_pwm()
3168 err = nct6775_write_value(data, NCT6775_AUTO_TEMP(data, nr, point), in store_auto_temp()
3171 err = nct6775_write_value(data, data->REG_CRITICAL_TEMP[nr], in store_auto_temp()
3322 err = nct6775_write_value(data, data->REG_CONFIG, tmp | 0x01); in nct6775_init_device()
3338 err = nct6775_write_value(data, data->reg_temp_config[i], tmp & 0xfe); in nct6775_init_device()
3349 err = nct6775_write_value(data, data->REG_VBAT, tmp | 0x01); in nct6775_init_device()
3392 err = nct6775_write_value(data, data->REG_TEMP_SOURCE[index], src); in add_temp_sensors()