Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dbq256xx_charger.c169 u32 iprechg; member
301 int (*bq256xx_set_iprechg)(struct bq256xx_device *bq, int iprechg);
722 static int bq256xx_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq256xx_set_prechrg_curr() argument
726 iprechg = clamp(iprechg, BQ256XX_IPRECHG_MIN_uA, in bq256xx_set_prechrg_curr()
729 iprechg_reg_code = ((iprechg - BQ256XX_IPRECHG_OFFSET_uA) / in bq256xx_set_prechrg_curr()
754 static int bq25618_619_set_prechrg_curr(struct bq256xx_device *bq, int iprechg) in bq25618_619_set_prechrg_curr() argument
758 iprechg = clamp(iprechg, BQ25618_IPRECHG_MIN_uA, in bq25618_619_set_prechrg_curr()
761 iprechg_reg_code = ((iprechg - BQ25618_IPRECHG_OFFSET_uA) / in bq25618_619_set_prechrg_curr()
Dbq2515x_charger.c147 int iprechg; member
973 bq2515x->init_data.iprechg = BQ2515X_DEFAULT_IPRECHARGE_UA; in bq2515x_hw_init()
982 bq2515x->init_data.iprechg = in bq2515x_hw_init()
996 bq2515x->init_data.iprechg); in bq2515x_hw_init()
Dbq25890_charger.c85 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()
Dbq24190_charger.c233 u16 iprechg; member
415 BQ24190_SYSFS_FIELD_RW(iprechg, PCTCC, IPRECHG),
782 if (bdi->iprechg) { in bq24190_set_config()
783 v = bdi->iprechg / 128 - 1; // manual section 9.5.1.4, table 11 in bq24190_set_config()
1948 bdi->iprechg = v; in bq24190_get_config()
Dbq25980_charger.c84 u32 iprechg; member