Home
last modified time | relevance | path

Searched refs:ichrg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/power/supply/
Drt9455_charger.c585 int ichrg, ieoc_percentage, ret; in rt9455_charger_get_term_current() local
590 &ichrg); in rt9455_charger_get_term_current()
605 val->intval = ichrg * ieoc_percentage / 100; in rt9455_charger_get_term_current()
649 static int rt9455_hw_init(struct rt9455_info *info, u32 ichrg, in rt9455_hw_init() argument
706 ARRAY_SIZE(rt9455_ichrg_values), ichrg); in rt9455_hw_init()
1182 static int rt9455_discover_charger(struct rt9455_info *info, u32 *ichrg, in rt9455_discover_charger() argument
1198 ichrg); in rt9455_discover_charger()
1594 u32 ichrg, ieoc_percentage; in rt9455_probe() local
1628 ret = rt9455_discover_charger(info, &ichrg, &ieoc_percentage, in rt9455_probe()
1673 ret = rt9455_hw_init(info, ichrg, ieoc_percentage, mivr, iaicr); in rt9455_probe()
Dcpcap-charger.c687 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()