Searched refs:ichg (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/power/supply/ |
D | bq256xx_charger.c | 165 u32 ichg; member 297 int (*bq256xx_set_ichg)(struct bq256xx_device *bq, int ichg); 520 static int bq256xx_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq256xx_set_ichg_curr() argument 525 ichg = clamp(ichg, BQ256XX_ICHG_MIN_uA, ichg_max); in bq256xx_set_ichg_curr() 526 ichg_reg_code = ichg / BQ256XX_ICHG_STEP_uA; in bq256xx_set_ichg_curr() 532 static int bq25618_619_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq25618_619_set_ichg_curr() argument 538 ichg = clamp(ichg, BQ25618_ICHG_MIN_uA, ichg_max); in bq25618_619_set_ichg_curr() 540 if (ichg <= BQ25618_ICHG_THRESH_uA) { in bq25618_619_set_ichg_curr() 541 ichg_reg_code = ichg / BQ25618_ICHG_STEP_uA; in bq25618_619_set_ichg_curr() 543 ichg_reg_code = bq256xx_array_parse(array_size, ichg, in bq25618_619_set_ichg_curr()
|
D | lp8727_charger.c | 401 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() 502 of_property_read_u8(np, "charging-current", (u8 *)¶m->ichg); in lp8727_parse_charge_pdata()
|
D | bq2515x_charger.c | 145 int ichg; member 863 ret = bq2515x->init_data.ichg; in bq2515x_battery_get_property() 964 bq2515x->init_data.ichg = BQ2515X_DEFAULT_ICHG_UA; in bq2515x_hw_init() 971 bq2515x->init_data.ichg = in bq2515x_hw_init() 982 bq2515x->init_data.ichg); in bq2515x_hw_init()
|
D | bq24257_charger.c | 68 u8 ichg; /* charge current */ member 367 val->intval = bq24257_ichg_map[bq->init_data.ichg]; in bq24257_power_supply_get_property() 686 {F_ICHG, bq->init_data.ichg}, in bq24257_hw_init() 889 bq->init_data.ichg = bq24257_find_idx(property, bq24257_ichg_map, in bq24257_fw_probe()
|
D | bq25890_charger.c | 82 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()
|
D | bq24190_charger.c | 171 u32 ichg; member 377 BQ24190_SYSFS_FIELD_RW(ichg, CCC, ICHG), 676 if (bdi->ichg) { in bq24190_set_config() 682 bdi->ichg); in bq24190_set_config() 1062 bdi->ichg = curr; in bq24190_charger_set_current() 1774 bdi->ichg = bdi->ichg_max = v; in bq24190_get_config()
|
D | bq25980_charger.c | 79 u32 ichg; member
|
/Linux-v6.6/include/linux/platform_data/ |
D | lp8727.h | 42 enum lp8727_ichg ichg; member
|
/Linux-v6.6/arch/arm/boot/dts/qcom/ |
D | qcom-msm8660.dtsi | 410 ichg: adc-channel@3 { label
|