Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dtwl4030_charger.c144 #define USB_CUR_STEP 20000 /* 20mA at a time */ macro
420 if (bci->usb_cur >= USB_CUR_STEP) in twl4030_current_worker()
421 bci->usb_cur -= USB_CUR_STEP; 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()