Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dbq256xx_charger.c165 u32 ichg; member
297 int (*bq256xx_set_ichg)(struct bq256xx_device *bq, int ichg);
512 static int bq256xx_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq256xx_set_ichg_curr() argument
517 ichg = clamp(ichg, BQ256XX_ICHG_MIN_uA, ichg_max); in bq256xx_set_ichg_curr()
518 ichg_reg_code = ichg / BQ256XX_ICHG_STEP_uA; in bq256xx_set_ichg_curr()
524 static int bq25618_619_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq25618_619_set_ichg_curr() argument
530 ichg = clamp(ichg, BQ25618_ICHG_MIN_uA, ichg_max); in bq25618_619_set_ichg_curr()
532 if (ichg <= BQ25618_ICHG_THRESH_uA) { in bq25618_619_set_ichg_curr()
533 ichg_reg_code = ichg / BQ25618_ICHG_STEP_uA; in bq25618_619_set_ichg_curr()
535 ichg_reg_code = bq256xx_array_parse(array_size, ichg, in bq25618_619_set_ichg_curr()
Dlp8727_charger.c401 u8 ichg; in lp8727_charger_changed() local
411 ichg = pchg->chg_param->ichg; in lp8727_charger_changed()
412 val = (ichg << LP8727_ICHG_SHIFT) | eoc_level; in lp8727_charger_changed()
483 of_property_read_u8(np, "charging-current", (u8 *)&param->ichg); in lp8727_parse_charge_pdata()
Dbq2515x_charger.c145 int ichg; member
868 ret = bq2515x->init_data.ichg; in bq2515x_battery_get_property()
969 bq2515x->init_data.ichg = BQ2515X_DEFAULT_ICHG_UA; in bq2515x_hw_init()
976 bq2515x->init_data.ichg = in bq2515x_hw_init()
987 bq2515x->init_data.ichg); in bq2515x_hw_init()
Dbq24257_charger.c63 u8 ichg; /* charge current */ member
362 val->intval = bq24257_ichg_map[bq->init_data.ichg]; in bq24257_power_supply_get_property()
681 {F_ICHG, bq->init_data.ichg}, in bq24257_hw_init()
884 bq->init_data.ichg = bq24257_find_idx(property, bq24257_ichg_map, in bq24257_fw_probe()
Dbq25890_charger.c82 u8 ichg; /* charge current */ member
621 val->intval = bq25890_find_val(bq->init_data.ichg, TBL_ICHG); in bq25890_power_supply_get_property()
696 maxval = bq25890_find_val(bq->init_data.ichg, TBL_ICHG); in bq25890_power_supply_set_property()
906 {F_ICHG, &bq->init_data.ichg}, in bq25890_rw_init_data()
1354 {"ti,charge-current", false, TBL_ICHG, &init->ichg}, in bq25890_fw_read_u32_props()
Dbq24190_charger.c235 u32 ichg; member
413 BQ24190_SYSFS_FIELD_RW(ichg, CCC, ICHG),
802 if (bdi->ichg) { in bq24190_set_config()
808 bdi->ichg); in bq24190_set_config()
1234 bdi->ichg = curr; in bq24190_charger_set_current()
1964 bdi->ichg = bdi->ichg_max = v; in bq24190_get_config()
Dbq25980_charger.c79 u32 ichg; member
/linux-6.12.1/include/linux/platform_data/
Dlp8727.h42 enum lp8727_ichg ichg; member
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dpm8058.dtsi101 ichg: adc-channel@3 { label