Searched refs:vbus_active (Results 1 – 8 of 8) sorted by relevance
139 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change()141 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change()181 if (ci->vbus_active && ci->role == CI_ROLE_GADGET) in ci_handle_id_switch()
325 if (ci->vbus_active) in ci_hdrc_imx_notify_event()
173 bool vbus_active, softconnect; member488 if (udc->vbus_active && udc->softconnect) in max3420_start()503 udc->vbus_active = !udc->vbus_active; in max3420_vbus_handler()505 usb_udc_vbus_handler(&udc->gadget, udc->vbus_active); in max3420_vbus_handler()506 usb_gadget_set_state(&udc->gadget, udc->vbus_active in max3420_vbus_handler()866 if (!udc->vbus_active || !udc->softconnect) in max3420_thread()1271 udc->vbus_active = true; in max3420_probe()1273 usb_udc_vbus_handler(&udc->gadget, udc->vbus_active); in max3420_probe()1281 udc->vbus_active = true; in max3420_probe()
170 unsigned vbus_active:1; member
205 vbus_active:1, member
274 unsigned vbus_active:1; /* vbus is active or not */ member
485 unsigned vbus_active:1; member
48 bool vbus_active; member929 return gpriv->vbus_active; in usbhsm_phy_get_vbus()1043 gpriv->vbus_active = !!is_active; in usbhsg_vbus_session()