Searched refs:iprechg (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | bq256xx_charger.c | 169 u32 iprechg; member 301 int (*bq256xx_set_iprechg)(struct bq256xx_device *bq, int iprechg); 730 static int bq256xx_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq256xx_set_prechrg_curr() argument 734 iprechg = clamp(iprechg, BQ256XX_IPRECHG_MIN_uA, in bq256xx_set_prechrg_curr() 737 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr() 762 static int bq25618_619_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq25618_619_set_prechrg_curr() argument 766 iprechg = clamp(iprechg, BQ25618_IPRECHG_MIN_uA, in bq25618_619_set_prechrg_curr() 769 iprechg_reg_code = ((iprechg - BQ25618_IPRECHG_OFFSET_uA) / in bq25618_619_set_prechrg_curr()
|
H A D | bq2515x_charger.c | 147 int iprechg; member 968 bq2515x->init_data.iprechg = BQ2515X_DEFAULT_IPRECHARGE_UA; in bq2515x_hw_init() 977 bq2515x->init_data.iprechg = in bq2515x_hw_init() 991 bq2515x->init_data.iprechg); in bq2515x_hw_init()
|
H A D | bq25890_charger.c | 85 u8 iprechg; /* precharge current */ member 553 val->intval = bq25890_find_val(bq->init_data.iprechg, TBL_ITERM); in bq25890_power_supply_get_property() 909 {F_IPRECHG, &bq->init_data.iprechg}, in bq25890_rw_init_data() 1357 {"ti,precharge-current", false, TBL_ITERM, &init->iprechg}, in bq25890_fw_read_u32_props()
|
H A D | bq24190_charger.c | 169 u16 iprechg; member 379 BQ24190_SYSFS_FIELD_RW(iprechg, PCTCC, IPRECHG), 656 if (bdi->iprechg) { in bq24190_set_config() 657 v = bdi->iprechg / 128 - 1; // manual section 9.5.1.4, table 11 in bq24190_set_config() 1758 bdi->iprechg = v; in bq24190_get_config()
|
H A D | bq25980_charger.c | 84 u32 iprechg; member
|