Lines Matching refs:usb_cur
129 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()
519 bci->usb_cur = 0; in twl4030_charger_enable_usb()