Searched refs:cps5601x_update_bits (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/power/charge/ |
| H A D | cps5601x_charger.c | 246 static int cps5601x_update_bits(struct cps5601x *charger, in cps5601x_update_bits() function 272 return cps5601x_update_bits(cps, CPS5601X_REG_08, IINDPM_MASK, val); in cps5601x_set_input_current_limit() 300 return cps5601x_update_bits(cps, CPS5601X_REG_04, ICHG_MASK, ichg); in cps5601x_set_chargecurrent() 314 return cps5601x_update_bits(cps, CPS5601X_REG_05, IPRECHG_MASK, in cps5601x_set_iprechg() 329 return cps5601x_update_bits(cps, CPS5601X_REG_03, VREG_MASK, val); in cps5601x_set_chargevolt() 345 return cps5601x_update_bits(charger, CPS5601X_REG_0B, EN_CHG_MASK, in cps5601x_charger_enable() 354 return cps5601x_update_bits(charger, CPS5601X_REG_0B, EN_CHG_MASK, in cps5601x_charger_disable() 530 cps5601x_update_bits(charger, CPS5601X_REG_0B, WATCHDOG_MASK, WATCHDOG_TIME(0)); in cps5601x_probe() 532 cps5601x_update_bits(charger, CPS5601X_REG_0E, TS_IGNORE_MASK, EN_TS_IGNORE(1)); in cps5601x_probe()
|