Lines Matching refs:ltc2947_val_write
240 static int ltc2947_val_write(struct ltc2947_data *st, const u8 reg, in ltc2947_val_write() function
281 ret = ltc2947_val_write(st, reg_h, LTC2947_PAGE0, 2, 0x8000U); in ltc2947_reset_history()
285 return ltc2947_val_write(st, reg_l, LTC2947_PAGE0, 2, 0x7FFFU); in ltc2947_reset_history()
630 return ltc2947_val_write(st, in ltc2947_write_temp()
636 return ltc2947_val_write(st, LTC2947_REG_TEMP_THRE_H, in ltc2947_write_temp()
645 return ltc2947_val_write(st, in ltc2947_write_temp()
651 return ltc2947_val_write(st, LTC2947_REG_TEMP_THRE_L, in ltc2947_write_temp()
672 return ltc2947_val_write(st, LTC2947_REG_POWER_THRE_H, in ltc2947_write_power()
677 return ltc2947_val_write(st, LTC2947_REG_POWER_THRE_L, in ltc2947_write_power()
698 return ltc2947_val_write(st, LTC2947_REG_CURRENT_THRE_H, in ltc2947_write_curr()
703 return ltc2947_val_write(st, LTC2947_REG_CURRENT_THRE_L, in ltc2947_write_curr()
735 return ltc2947_val_write(st, LTC2947_REG_DVCC_THRE_H, in ltc2947_write_in()
741 return ltc2947_val_write(st, LTC2947_REG_VOLTAGE_THRE_H, in ltc2947_write_in()
747 return ltc2947_val_write(st, LTC2947_REG_DVCC_THRE_L, in ltc2947_write_in()
753 return ltc2947_val_write(st, LTC2947_REG_VOLTAGE_THRE_L, in ltc2947_write_in()
975 ret = ltc2947_val_write(st, LTC2947_REG_POWER_THRE_H, LTC2947_PAGE1, 2, in ltc2947_setup()
980 ret = ltc2947_val_write(st, LTC2947_REG_POWER_THRE_L, LTC2947_PAGE1, 2, in ltc2947_setup()