Home
last modified time | relevance | path

Searched refs:iprechg_reg_code (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dbq256xx_charger.c715 unsigned int iprechg_reg_code; in bq256xx_get_prechrg_curr() local
723 iprechg_reg_code = (prechg_and_term_curr_lim & BQ256XX_IPRECHG_MASK) in bq256xx_get_prechrg_curr()
726 return (iprechg_reg_code * BQ256XX_IPRECHG_STEP_uA) + in bq256xx_get_prechrg_curr()
732 unsigned int iprechg_reg_code; in bq256xx_set_prechrg_curr() local
737 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr()
741 BQ256XX_IPRECHG_MASK, iprechg_reg_code); in bq256xx_set_prechrg_curr()
747 unsigned int iprechg_reg_code; in bq25618_619_get_prechrg_curr() local
758 return (iprechg_reg_code * BQ25618_IPRECHG_STEP_uA) + in bq25618_619_get_prechrg_curr()
764 unsigned int iprechg_reg_code; in bq25618_619_set_prechrg_curr() local
769 iprechg_reg_code = ((iprechg - BQ25618_IPRECHG_OFFSET_uA) / in bq25618_619_set_prechrg_curr()
[all …]