Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/extcon/
Dextcon-axp288.c114 bool vbus_attach; member
194 else if (info->vbus_attach) in axp288_usb_role_work()
222 bool vbus_attach = false; in axp288_handle_chrg_det_event() local
224 vbus_attach = axp288_get_vbus_attach(info); in axp288_handle_chrg_det_event()
225 if (!vbus_attach) in axp288_handle_chrg_det_event()
266 if (vbus_attach) { in axp288_handle_chrg_det_event()
267 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
270 vbus_attach); in axp288_handle_chrg_det_event()
275 if (info->role_sw && info->vbus_attach != vbus_attach) { in axp288_handle_chrg_det_event()
276 info->vbus_attach = vbus_attach; in axp288_handle_chrg_det_event()
[all …]
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c543 bool vbus_attach, sch_work, notify_charger; in rockchip_usb2phy_otg_sm_work() local
546 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work()
549 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work()
561 if (!vbus_attach) in rockchip_usb2phy_otg_sm_work()
570 } else if (vbus_attach) { in rockchip_usb2phy_otg_sm_work()
614 if (rport->vbus_attached != vbus_attach) { in rockchip_usb2phy_otg_sm_work()
615 rport->vbus_attached = vbus_attach; in rockchip_usb2phy_otg_sm_work()
619 cable, vbus_attach); in rockchip_usb2phy_otg_sm_work()
623 vbus_attach); in rockchip_usb2phy_otg_sm_work()
628 if (!vbus_attach) { in rockchip_usb2phy_otg_sm_work()