Home
last modified time | relevance | path

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

/linux/drivers/usb/chipidea/
H A Dotg.c139 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()
H A Dci.h252 int vbus_active; member
322 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role()
H A Dudc.c1717 ci->vbus_active = is_active; in ci_udc_vbus_session()
1963 if (ci->vbus_active) in ci_udc_start()
1998 if (ci->vbus_active) { in ci_udc_stop()
2194 ci->vbus_active = 0; in udc_id_switch_for_host()
2219 if (ci->vbus_active) in udc_resume()
H A Dci_hdrc_imx.c325 if (ci->vbus_active) in ci_hdrc_imx_notify_event()
/linux/drivers/usb/gadget/udc/
H A Dmax3420_udc.c173 bool vbus_active, softconnect; member
488 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()
H A Domap_udc.h170 unsigned vbus_active:1; member
H A Dmv_u3d_core.c1143 u3d->vbus_active = (is_active != 0); in mv_u3d_vbus_session()
1145 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_vbus_session()
1151 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_vbus_session()
1202 __func__, u3d->softconnect, u3d->vbus_active); in mv_u3d_pullup()
1204 if (u3d->driver && u3d->softconnect && u3d->vbus_active) { in mv_u3d_pullup()
1215 } else if (u3d->driver && u3d->vbus_active) { in mv_u3d_pullup()
1951 u3d->vbus_active = 1; in mv_u3d_probe()
H A Dmv_udc.h205 vbus_active:1, member
H A Dmv_u3d.h274 unsigned vbus_active:1; /* vbus is active or not */ member
H A Dmv_udc_core.c1156 udc->vbus_active = (is_active != 0); in mv_udc_vbus_session()
1159 __func__, udc->softconnect, udc->vbus_active); in mv_udc_vbus_session()
1161 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_vbus_session()
1196 __func__, udc->softconnect, udc->vbus_active); in mv_udc_pullup()
1198 if (udc->driver && udc->softconnect && udc->vbus_active) { in mv_udc_pullup()
1206 } else if (udc->driver && udc->vbus_active) { in mv_udc_pullup()
2302 udc->vbus_active = 1; in mv_udc_probe()
H A Dfsl_usb2_udc.h485 unsigned vbus_active:1; member
H A Dfsl_udc_core.c1172 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup()
1185 udc->vbus_active = (is_active != 0); in fsl_vbus_session()
1222 if (!udc->vbus_active) in fsl_pullup()
H A Domap_udc.c1189 return udc->driver && udc->softconnect && udc->vbus_active; in can_pullup()
1256 udc->vbus_active = (is_active != 0); in omap_vbus_session()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c48 bool vbus_active; member
929 return gpriv->vbus_active; in usbhsm_phy_get_vbus()
1043 gpriv->vbus_active = !!is_active; in usbhsg_vbus_session()