Home
last modified time | relevance | path

Searched refs:vbus_active (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/usb/chipidea/
Dotg.c134 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change()
136 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change()
Dci.h242 int vbus_active; member
Dudc.c1521 ci->vbus_active = is_active; in ci_udc_vbus_session()
1753 if (ci->vbus_active) { in ci_udc_start()
1794 if (ci->vbus_active) { in ci_udc_stop()
1985 ci->vbus_active = 0; in udc_id_switch_for_host()
/Linux-v4.19/drivers/staging/emxx_udc/
Demxx_udc.c293 if ((ep->epnum == 0) || (udc->vbus_active == 0)) in _nbu2ss_epn_exit()
382 if (udc->vbus_active == 0) in _nbu2ss_ep_dma_exit()
2190 if (udc->vbus_active == 0) in _nbu2ss_pullup()
2219 if (udc->vbus_active == 0) in _nbu2ss_fifo_flush()
2313 if (udc->vbus_active == 1) { in _nbu2ss_check_vbus()
2315 udc->vbus_active = 0; in _nbu2ss_check_vbus()
2342 if (udc->vbus_active == 0) { in _nbu2ss_check_vbus()
2344 udc->vbus_active = 1; in _nbu2ss_check_vbus()
2350 udc->vbus_active = 0; in _nbu2ss_check_vbus()
2529 if (udc->vbus_active == 0) in nbu2ss_ep_enable()
[all …]
Demxx_udc.h574 unsigned vbus_active:1; member
/Linux-v4.19/drivers/usb/gadget/udc/
Domap_udc.h170 unsigned vbus_active:1; member
Dmv_u3d_core.c1142 u3d->vbus_active = (is_active != 0); in mv_u3d_vbus_session()
1144 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_vbus_session()
1150 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_vbus_session()
1201 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_pullup()
1203 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_pullup()
1214 } else if (u3d->driver && u3d->vbus_active) { in mv_u3d_pullup()
1952 u3d->vbus_active = 1; in mv_u3d_probe()
Dmv_udc.h205 vbus_active:1, member
Dmv_u3d.h274 unsigned vbus_active:1; /* vbus is active or not */ member
Dmv_udc_core.c1155 udc->vbus_active = (is_active != 0); in mv_udc_vbus_session()
1158 __func__, udc->softconnect, udc->vbus_active); in mv_udc_vbus_session()
1160 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_vbus_session()
1195 __func__, udc->softconnect, udc->vbus_active); in mv_udc_pullup()
1197 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_pullup()
1205 } else if (udc->driver && udc->vbus_active) { in mv_udc_pullup()
2302 udc->vbus_active = 1; in mv_udc_probe()
Dfsl_usb2_udc.h485 unsigned vbus_active:1; member
Dfsl_udc_core.c1169 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup()
1182 udc->vbus_active = (is_active != 0); in fsl_vbus_session()
1219 if (!udc->vbus_active) in fsl_pullup()
Domap_udc.c1186 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup()
1253 udc->vbus_active = (is_active != 0); in omap_vbus_session()
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod_gadget.c47 bool vbus_active; member
910 return gpriv->vbus_active; in usbhsm_phy_get_vbus()
1024 gpriv->vbus_active = !!is_active; in usbhsg_vbus_session()