Lines Matching refs:nct7904_write_reg
206 static int nct7904_write_reg(struct nct7904_data *data, in nct7904_write_reg() function
598 ret = nct7904_write_reg(data, BANK_1, reg1, val); in nct7904_write_temp()
600 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_temp()
603 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_temp()
623 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_fan()
628 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_fan()
659 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_in()
668 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_in()
678 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_in()
687 ret = nct7904_write_reg(data, BANK_1, in nct7904_write_in()
705 ret = nct7904_write_reg(data, BANK_3, FANCTL1_OUT_REG + channel, in nct7904_write_pwm()
712 ret = nct7904_write_reg(data, BANK_3, FANCTL1_FMR_REG + channel, in nct7904_write_pwm()
931 return nct7904_write_reg(data, BANK_0, WDT_LOCK_REG, WDT_SOFT_EN); in nct7904_wdt_start()
938 return nct7904_write_reg(data, BANK_0, WDT_LOCK_REG, WDT_SOFT_DIS); in nct7904_wdt_stop()
956 return nct7904_write_reg(data, BANK_0, WDT_TIMER_REG, in nct7904_wdt_set_timeout()
972 ret = nct7904_write_reg(data, BANK_0, WDT_LOCK_REG, WDT_SOFT_DIS); in nct7904_wdt_ping()
977 ret = nct7904_write_reg(data, BANK_0, WDT_TIMER_REG, wdt->timeout / 60); in nct7904_wdt_ping()
982 return nct7904_write_reg(data, BANK_0, WDT_LOCK_REG, WDT_SOFT_EN); in nct7904_wdt_ping()