Searched refs:b_hnp_enable (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/usb/common/
H A Dusb-otg-fsm.c168 /* Set b_hnp_enable */
169 if (!fsm->otg->host->b_hnp_enable) {
177 fsm->otg->host->b_hnp_enable = 1;
363 gadget->b_hnp_enable && fsm->a_bus_suspend)
408 fsm->otg->host->b_hnp_enable)
416 if (!fsm->b_conn && fsm->otg->host->b_hnp_enable)
418 else if (!fsm->b_conn && !fsm->otg->host->b_hnp_enable)
/linux-master/drivers/usb/gadget/udc/
H A Dtrace.h31 __field(unsigned, b_hnp_enable)
52 __entry->b_hnp_enable = g->b_hnp_enable;
70 __entry->b_hnp_enable ? "b_hnp:" : "",
H A Domap_udc.c1377 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE);
1384 if (udc->gadget.b_hnp_enable) {
H A Dfsl_udc_core.c1458 udc->gadget.b_hnp_enable = 1;
1815 udc->gadget.b_hnp_enable = 0;
H A Dcore.c1831 static USB_UDC_ATTR(b_hnp_enable);
H A Ddummy_hcd.c1641 dum->gadget.b_hnp_enable = 1;
/linux-master/drivers/usb/musb/
H A Dmusb_virthub.c91 musb->xceiv->otg->host->b_hnp_enable;
101 musb->xceiv->otg->host->b_hnp_enable;
208 if (musb->xceiv && musb->xceiv->otg->host->b_hnp_enable) {
H A Dmusb_gadget_ep0.c66 result[0] |= musb->g.b_hnp_enable
370 musb->g.b_hnp_enable = 1;
H A Dmusb_core.c855 musb->is_active = musb->g.b_hnp_enable;
871 musb->is_active = musb->hcd->self.b_hnp_enable;
H A Dmusb_gadget.c2072 musb->g.b_hnp_enable = 0;
/linux-master/include/linux/usb/
H A Dotg-fsm.h114 * b_hnp_enable bit in the B-device.
115 * Unused as OTG fsm uses otg->host->b_hnp_enable instead
117 * b_hnp_enable: TRUE when the B-device has accepted the
118 * SetFeature(b_hnp_enable) B-device.
119 * Unused as OTG fsm uses otg->gadget->b_hnp_enable instead
159 int b_hnp_enable; member in struct:otg_fsm
H A Dgadget.h372 * @b_hnp_enable: OTG device feature flag, indicating that the A-Host
440 unsigned b_hnp_enable:1; member in struct:usb_gadget
/linux-master/drivers/usb/chipidea/
H A Ddebug.c33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable);
H A Dudc.c1266 ci->gadget.b_hnp_enable = 1;
/linux-master/drivers/usb/usbip/
H A Dvudc_transfer.c84 udc->gadget.b_hnp_enable = 1;
/linux-master/drivers/usb/host/
H A Dohci-hub.c777 && hcd->self.b_hnp_enable)
H A Dehci-hub.c806 && hcd->self.b_hnp_enable) {
H A Dxhci-tegra.c2743 if (!((hcd->self.otg_port == (port + 1)) && hcd->self.b_hnp_enable))
2753 if (!((hcd->self.otg_port == (port + 1)) && hcd->self.b_hnp_enable))
/linux-master/drivers/usb/phy/
H A Dphy-fsl-usb.c265 * a_host will start by SRP. It needs to set b_hnp_enable before
271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable)
/linux-master/include/linux/
H A Dusb.h462 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member in struct:usb_bus
/linux-master/drivers/usb/core/
H A Dhub.c2421 bus->b_hnp_enable = 1;
2435 bus->b_hnp_enable = 0;
2508 if (IS_ENABLED(CONFIG_USB_OTG) && (udev->bus->b_hnp_enable
4884 hdev->bus->b_hnp_enable = 0;
/linux-master/drivers/usb/dwc2/
H A Dhcd.c3257 return hcd->self.b_hnp_enable;

Completed in 318 milliseconds