Home
last modified time | relevance | path

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

/linux/drivers/usb/phy/
A Dphy.c128 switch (usb_phy->chg_state) { in usb_phy_notify_charger_work()
141 usb_phy->chg_state); in usb_phy_notify_charger_work()
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()
324 if (usb_phy->chg_state == USB_CHARGER_PRESENT) in usb_phy_set_charger_state()
[all …]
/linux/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c217 enum usb_chg_state chg_state; member
551 switch (rphy->chg_state) { in rockchip_usb2phy_otg_sm_work()
589 rphy->chg_state = USB_CHG_STATE_UNDEFINED; in rockchip_usb2phy_otg_sm_work()
609 rphy->chg_state = USB_CHG_STATE_UNDEFINED; in rockchip_usb2phy_otg_sm_work()
687 rphy->chg_state); in rockchip_chg_detect_work()
688 switch (rphy->chg_state) { in rockchip_chg_detect_work()
713 rphy->chg_state = USB_CHG_STATE_DCD_DONE; in rockchip_chg_detect_work()
732 rphy->chg_state = USB_CHG_STATE_DETECTED; in rockchip_chg_detect_work()
736 rphy->chg_state = USB_CHG_STATE_DETECTED; in rockchip_chg_detect_work()
752 rphy->chg_state = USB_CHG_STATE_DETECTED; in rockchip_chg_detect_work()
[all …]
/linux/include/linux/usb/
A Dphy.h111 enum usb_charger_state chg_state; member
/linux/drivers/usb/chipidea/
A Dusbmisc_imx.c1085 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()
/linux/drivers/power/supply/
A Dsc2731_charger.c446 if (info->usb_phy->chg_state != USB_CHARGER_PRESENT) in sc2731_charger_detect_status()

Completed in 15 milliseconds