Searched refs:iprechg (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/power/supply/ |
D | bq256xx_charger.c | 162 u32 iprechg; member 291 int (*bq256xx_set_iprechg)(struct bq256xx_device *bq, int iprechg); 691 static int bq256xx_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq256xx_set_prechrg_curr() argument 695 iprechg = clamp(iprechg, BQ256XX_IPRECHG_MIN_uA, in bq256xx_set_prechrg_curr() 698 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr() 723 static int bq25618_619_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq25618_619_set_prechrg_curr() argument 727 iprechg = clamp(iprechg, BQ25618_IPRECHG_MIN_uA, in bq25618_619_set_prechrg_curr() 730 iprechg_reg_code = ((iprechg - BQ25618_IPRECHG_OFFSET_uA) / in bq25618_619_set_prechrg_curr()
|
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()
|
D | bq25890_charger.c | 85 u8 iprechg; /* precharge current */ member 567 val->intval = bq25890_find_val(bq->init_data.iprechg, TBL_ITERM); in bq25890_power_supply_get_property() 769 {F_IPRECHG, &bq->init_data.iprechg}, in bq25890_rw_init_data() 1102 {"ti,precharge-current", false, TBL_ITERM, &init->iprechg}, in bq25890_fw_read_u32_props()
|
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() 1744 bdi->iprechg = v; in bq24190_get_config()
|
D | bq25980_charger.c | 84 u32 iprechg; member
|