Searched refs:vbus_attach (Results 1 – 2 of 2) sorted by relevance
107 bool vbus_attach; member189 else if (info->vbus_attach) in axp288_usb_role_work()217 bool vbus_attach = false; in axp288_handle_chrg_det_event() local223 vbus_attach = axp288_get_vbus_attach(info); in axp288_handle_chrg_det_event()224 if (!vbus_attach) in axp288_handle_chrg_det_event()267 if (vbus_attach) { in axp288_handle_chrg_det_event()268 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()271 vbus_attach); in axp288_handle_chrg_det_event()276 if (info->role_sw && info->vbus_attach != vbus_attach) { in axp288_handle_chrg_det_event()277 info->vbus_attach = vbus_attach; in axp288_handle_chrg_det_event()[all …]
553 bool vbus_attach, sch_work, notify_charger; in rockchip_usb2phy_otg_sm_work() local555 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work()567 if (!vbus_attach) in rockchip_usb2phy_otg_sm_work()576 } else if (vbus_attach) { in rockchip_usb2phy_otg_sm_work()620 if (rport->vbus_attached != vbus_attach) { in rockchip_usb2phy_otg_sm_work()621 rport->vbus_attached = vbus_attach; in rockchip_usb2phy_otg_sm_work()625 cable, vbus_attach); in rockchip_usb2phy_otg_sm_work()629 vbus_attach); in rockchip_usb2phy_otg_sm_work()634 if (!vbus_attach) { in rockchip_usb2phy_otg_sm_work()