Searched refs:vbus_attach (Results 1 – 2 of 2) sorted by relevance
114 bool vbus_attach; member194 else if (info->vbus_attach) in axp288_usb_role_work()222 bool vbus_attach = false; in axp288_handle_chrg_det_event() local224 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 …]
543 bool vbus_attach, sch_work, notify_charger; in rockchip_usb2phy_otg_sm_work() local546 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()