Home
last modified time | relevance | path

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

/Linux-v5.4/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.h244 int vbus_active; member
299 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role()
Dudc.c1534 ci->vbus_active = is_active; in ci_udc_vbus_session()
1789 if (ci->vbus_active) { in ci_udc_start()
1830 if (ci->vbus_active) { in ci_udc_stop()
2025 ci->vbus_active = 0; in udc_id_switch_for_host()
/Linux-v5.4/drivers/staging/emxx_udc/
Demxx_udc.c288 if ((ep->epnum == 0) || (udc->vbus_active == 0)) in _nbu2ss_epn_exit()
377 if (udc->vbus_active == 0) in _nbu2ss_ep_dma_exit()
2106 if (udc->vbus_active == 0) in _nbu2ss_pullup()
2135 if (udc->vbus_active == 0) in _nbu2ss_fifo_flush()
2229 if (udc->vbus_active == 1) { in _nbu2ss_check_vbus()
2231 udc->vbus_active = 0; in _nbu2ss_check_vbus()
2258 if (udc->vbus_active == 0) { in _nbu2ss_check_vbus()
2260 udc->vbus_active = 1; in _nbu2ss_check_vbus()
2266 udc->vbus_active = 0; in _nbu2ss_check_vbus()
2444 if (udc->vbus_active == 0) in nbu2ss_ep_enable()
[all …]
Demxx_udc.h571 unsigned vbus_active:1; member
/Linux-v5.4/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-v5.4/drivers/usb/renesas_usbhs/
Dmod_gadget.c48 bool vbus_active; member
923 return gpriv->vbus_active; in usbhsm_phy_get_vbus()
1037 gpriv->vbus_active = !!is_active; in usbhsg_vbus_session()