Home
last modified time | relevance | path

Searched refs:EXTCON_USB_VBUS_EN (Results 1 - 6 of 6) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dextcon.h40 #define EXTCON_USB_VBUS_EN 3 macro
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_charger.c1014 if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) > 0) { in rk817_charge_host_evt_worker()
1025 } else if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) == 0) { in rk817_charge_host_evt_worker()
1185 ret = extcon_register_notifier(edev, EXTCON_USB_VBUS_EN, &charge->cable_host_nb); in rk817_charge_usb_init()
1204 extcon_unregister_notifier(edev, EXTCON_USB_VBUS_EN, &charge->cable_host_nb); in rk817_charge_usb_init()
1615 extcon_unregister_notifier(charge->cable_edev, EXTCON_USB_VBUS_EN, &charge->cable_host_nb); in rk817_charge_probe()
1687 extcon_unregister_notifier(charge->cable_edev, EXTCON_USB_VBUS_EN, &charge->cable_host_nb); in rk817_charger_shutdown()
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Drk817_charger.c1018 if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) > 0) { in rk817_charge_host_evt_worker()
1029 } else if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) == 0) { in rk817_charge_host_evt_worker()
1216 ret = extcon_register_notifier(edev, EXTCON_USB_VBUS_EN, in rk817_charge_usb_init()
1245 extcon_unregister_notifier(edev, EXTCON_USB_VBUS_EN, in rk817_charge_usb_init()
1679 EXTCON_USB_VBUS_EN, in rk817_charge_probe()
1763 EXTCON_USB_VBUS_EN, in rk817_charger_shutdown()
H A Dbq25700_charger.c1503 if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) > 0) in bq25700_host_evt_worker()
1505 else if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) == 0) in bq25700_host_evt_worker()
1515 if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) > 0) in bq25700_host_evt_worker1()
1517 else if (extcon_get_state(edev, EXTCON_USB_VBUS_EN) == 0) in bq25700_host_evt_worker1()
1724 EXTCON_USB_VBUS_EN, in bq25700_register_host_nb()
1739 EXTCON_USB_VBUS_EN, in bq25700_register_host_nb()
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c77 EXTCON_USB, EXTCON_USB_HOST, EXTCON_USB_VBUS_EN, EXTCON_CHG_USB_SDP,
892 extcon_set_state_sync(rphy->edev, EXTCON_USB_VBUS_EN, false); in rockchip_usb2phy_set_mode()
906 extcon_set_state_sync(rphy->edev, EXTCON_USB_VBUS_EN, true); in rockchip_usb2phy_set_mode()
1093 extcon_get_state(rphy->edev, EXTCON_USB_VBUS_EN) > 0) { in rockchip_usb2phy_otg_sm_work()
1156 extcon_get_state(rphy->edev, EXTCON_USB_VBUS_EN) > 0) { in rockchip_usb2phy_otg_sm_work()
1588 extcon_set_state(rphy->edev, EXTCON_USB_VBUS_EN, cable_vbus_state); in rockchip_usb2phy_id_irq()
1591 extcon_sync(rphy->edev, EXTCON_USB_VBUS_EN); in rockchip_usb2phy_id_irq()
1868 extcon_set_state(rphy->edev, EXTCON_USB_VBUS_EN, true); in rockchip_usb2phy_otg_port_init()
2559 extcon_set_state_sync(rphy->edev, EXTCON_USB_VBUS_EN, !iddig); in rockchip_usb2phy_pm_resume()
H A Dphy-rockchip-usb.c112 EXTCON_USB, EXTCON_USB_HOST, EXTCON_USB_VBUS_EN, EXTCON_CHG_USB_SDP,

Completed in 15 milliseconds