Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dtwl4030_charger.c129 unsigned int usb_cur, ac_cur; member
256 cur = bci->usb_cur; in twl4030_charger_update_current()
260 bci->usb_cur = cur; in twl4030_charger_update_current()
416 bci->usb_cur, bci->usb_cur_target); in twl4030_current_worker()
420 if (bci->usb_cur >= USB_CUR_STEP) in twl4030_current_worker()
421 bci->usb_cur -= USB_CUR_STEP; in twl4030_current_worker()
422 bci->usb_cur_target = bci->usb_cur; in twl4030_current_worker()
423 } else if (bci->usb_cur >= bci->usb_cur_target || in twl4030_current_worker()
424 bci->usb_cur + USB_CUR_STEP > USB_MAX_CURRENT) { in twl4030_current_worker()
428 bci->usb_cur += USB_CUR_STEP; in twl4030_current_worker()
[all …]