Searched refs:vbus_active (Results 1 – 16 of 16) sorted by relevance
/drivers/usb/chipidea/ |
D | otg.c | 136 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change() 138 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change() 178 if (ci->vbus_active && ci->role == CI_ROLE_GADGET) in ci_handle_id_switch()
|
D | ci.h | 245 int vbus_active; member 300 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role()
|
D | udc.c | 1689 ci->vbus_active = is_active; in ci_udc_vbus_session() 1927 if (ci->vbus_active) in ci_udc_start() 1962 if (ci->vbus_active) { in ci_udc_stop() 2155 ci->vbus_active = 0; in udc_id_switch_for_host()
|
D | ci_hdrc_imx.c | 311 if (ci->vbus_active) in ci_hdrc_imx_notify_event()
|
/drivers/usb/gadget/udc/ |
D | max3420_udc.c | 175 bool vbus_active, softconnect; member 490 if (udc->vbus_active && udc->softconnect) in max3420_start() 505 udc->vbus_active = !udc->vbus_active; in max3420_vbus_handler() 507 usb_udc_vbus_handler(&udc->gadget, udc->vbus_active); in max3420_vbus_handler() 508 usb_gadget_set_state(&udc->gadget, udc->vbus_active in max3420_vbus_handler() 868 if (!udc->vbus_active || !udc->softconnect) in max3420_thread() 1270 udc->vbus_active = true; in max3420_probe() 1272 usb_udc_vbus_handler(&udc->gadget, udc->vbus_active); in max3420_probe() 1280 udc->vbus_active = true; in max3420_probe()
|
D | mv_u3d_core.c | 1141 u3d->vbus_active = (is_active != 0); in mv_u3d_vbus_session() 1143 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_vbus_session() 1149 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_vbus_session() 1200 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_pullup() 1202 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_pullup() 1213 } else if (u3d->driver && u3d->vbus_active) { in mv_u3d_pullup() 1952 u3d->vbus_active = 1; in mv_u3d_probe()
|
D | omap_udc.h | 170 unsigned vbus_active:1; member
|
D | mv_udc_core.c | 1154 udc->vbus_active = (is_active != 0); in mv_udc_vbus_session() 1157 __func__, udc->softconnect, udc->vbus_active); in mv_udc_vbus_session() 1159 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_vbus_session() 1194 __func__, udc->softconnect, udc->vbus_active); in mv_udc_pullup() 1196 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_pullup() 1204 } else if (udc->driver && udc->vbus_active) { in mv_udc_pullup() 2301 udc->vbus_active = 1; in mv_udc_probe()
|
D | mv_udc.h | 205 vbus_active:1, member
|
D | mv_u3d.h | 274 unsigned vbus_active:1; /* vbus is active or not */ member
|
D | fsl_usb2_udc.h | 485 unsigned vbus_active:1; member
|
D | fsl_udc_core.c | 1166 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup() 1179 udc->vbus_active = (is_active != 0); in fsl_vbus_session() 1216 if (!udc->vbus_active) in fsl_pullup()
|
D | omap_udc.c | 1186 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup() 1253 udc->vbus_active = (is_active != 0); in omap_vbus_session()
|
/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 290 if ((ep->epnum == 0) || (udc->vbus_active == 0)) in _nbu2ss_epn_exit() 379 if (udc->vbus_active == 0) in _nbu2ss_ep_dma_exit() 2103 if (udc->vbus_active == 0) in _nbu2ss_pullup() 2132 if (udc->vbus_active == 0) in _nbu2ss_fifo_flush() 2226 if (udc->vbus_active == 1) { in _nbu2ss_check_vbus() 2228 udc->vbus_active = 0; in _nbu2ss_check_vbus() 2255 if (udc->vbus_active == 0) { in _nbu2ss_check_vbus() 2257 udc->vbus_active = 1; in _nbu2ss_check_vbus() 2263 udc->vbus_active = 0; in _nbu2ss_check_vbus() 2441 if (udc->vbus_active == 0) in nbu2ss_ep_enable() [all …]
|
D | emxx_udc.h | 530 unsigned vbus_active:1; member
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 48 bool vbus_active; member 929 return gpriv->vbus_active; in usbhsm_phy_get_vbus() 1043 gpriv->vbus_active = !!is_active; in usbhsg_vbus_session()
|