Searched refs:chg_state (Results 1 – 5 of 5) sorted by relevance
128 switch (usb_phy->chg_state) { in usb_phy_notify_charger_work()141 usb_phy->chg_state); in usb_phy_notify_charger_work()163 "USB_CHARGER_STATE=%s", usb_chger_state[usb_phy->chg_state]); in usb_phy_uevent()181 usb_phy->chg_state = USB_CHARGER_PRESENT; in __usb_phy_get_charger_type()184 usb_phy->chg_state = USB_CHARGER_PRESENT; in __usb_phy_get_charger_type()187 usb_phy->chg_state = USB_CHARGER_PRESENT; in __usb_phy_get_charger_type()190 usb_phy->chg_state = USB_CHARGER_PRESENT; in __usb_phy_get_charger_type()193 usb_phy->chg_state = USB_CHARGER_ABSENT; in __usb_phy_get_charger_type()320 if (usb_phy->chg_state == state || !usb_phy->charger_detect) in usb_phy_set_charger_state()323 usb_phy->chg_state = state; in usb_phy_set_charger_state()[all …]
228 enum usb_chg_state chg_state; member578 switch (rphy->chg_state) { in rockchip_usb2phy_otg_sm_work()616 rphy->chg_state = USB_CHG_STATE_UNDEFINED; in rockchip_usb2phy_otg_sm_work()636 rphy->chg_state = USB_CHG_STATE_UNDEFINED; in rockchip_usb2phy_otg_sm_work()714 rphy->chg_state); in rockchip_chg_detect_work()715 switch (rphy->chg_state) { in rockchip_chg_detect_work()723 rphy->chg_state = USB_CHG_STATE_WAIT_FOR_DCD; in rockchip_chg_detect_work()740 rphy->chg_state = USB_CHG_STATE_DCD_DONE; in rockchip_chg_detect_work()754 rphy->chg_state = USB_CHG_STATE_PRIMARY_DONE; in rockchip_chg_detect_work()759 rphy->chg_state = USB_CHG_STATE_DETECTED; in rockchip_chg_detect_work()[all …]
111 enum usb_charger_state chg_state; member
1085 usb_phy->chg_state = USB_CHARGER_ABSENT; in imx_usbmisc_charger_detection()1087 usb_phy->chg_state = USB_CHARGER_PRESENT; in imx_usbmisc_charger_detection()1090 usb_phy->chg_state = USB_CHARGER_ABSENT; in imx_usbmisc_charger_detection()
446 if (info->usb_phy->chg_state != USB_CHARGER_PRESENT) in sc2731_charger_detect_status()