Searched refs:ichrg (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | rt9455_charger.c | 587 int ichrg, ieoc_percentage, ret; in rt9455_charger_get_term_current() local 592 &ichrg); in rt9455_charger_get_term_current() 607 val->intval = ichrg * ieoc_percentage / 100; in rt9455_charger_get_term_current() 651 static int rt9455_hw_init(struct rt9455_info *info, u32 ichrg, in rt9455_hw_init() argument 708 ARRAY_SIZE(rt9455_ichrg_values), ichrg); in rt9455_hw_init() 1184 static int rt9455_discover_charger(struct rt9455_info *info, u32 *ichrg, in rt9455_discover_charger() argument 1200 ichrg); in rt9455_discover_charger() 1596 u32 ichrg, ieoc_percentage; in rt9455_probe() local 1630 ret = rt9455_discover_charger(info, &ichrg, &ieoc_percentage, in rt9455_probe() 1675 ret = rt9455_hw_init(info, ichrg, ieoc_percentage, mivr, iaicr); in rt9455_probe()
|
H A D | cpcap-charger.c | 687 int vchrg, ichrg; in cpcap_usb_detect() local 713 ichrg = cpcap_charger_current_to_regval(max_current); in cpcap_usb_detect() 717 ichrg, 0); in cpcap_usb_detect()
|