Home
last modified time | relevance | path

Searched refs:b_hnp_enable (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/usb/common/
H A Dusb-otg-fsm.c169 if (!fsm->otg->host->b_hnp_enable) { in otg_hnp_polling_work()
177 fsm->otg->host->b_hnp_enable = 1; in otg_hnp_polling_work()
363 gadget->b_hnp_enable && fsm->a_bus_suspend) in otg_statemachine()
408 fsm->otg->host->b_hnp_enable) in otg_statemachine()
416 if (!fsm->b_conn && fsm->otg->host->b_hnp_enable) in otg_statemachine()
418 else if (!fsm->b_conn && !fsm->otg->host->b_hnp_enable) in otg_statemachine()
/openbmc/linux/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 Dfsl_udc_core.c1454 udc->gadget.b_hnp_enable = 1; in setup_received_irq()
1807 udc->gadget.b_hnp_enable = 0; in reset_irq()
H A Dcore.c1814 static USB_UDC_ATTR(b_hnp_enable);
H A Domap_udc.c1377 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()
1384 if (udc->gadget.b_hnp_enable) { in update_otg()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_virthub.c91 musb->xceiv->otg->host->b_hnp_enable; in musb_port_suspend()
101 musb->xceiv->otg->host->b_hnp_enable; in musb_port_suspend()
208 if (musb->xceiv && musb->xceiv->otg->host->b_hnp_enable) { in musb_root_disconnect()
H A Dmusb_gadget_ep0.c66 result[0] |= musb->g.b_hnp_enable in service_tx_status_request()
370 musb->g.b_hnp_enable = 1; in service_zero_data_request()
H A Dmusb_core.c855 musb->is_active = musb->g.b_hnp_enable; in musb_handle_intr_suspend()
871 musb->is_active = musb->hcd->self.b_hnp_enable; in musb_handle_intr_suspend()
H A Dmusb_gadget.c2083 musb->g.b_hnp_enable = 0; in musb_g_reset()
/openbmc/linux/include/linux/usb/
H A Dotg-fsm.h159 int b_hnp_enable; member
H A Dgadget.h438 unsigned b_hnp_enable:1; member
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-class-udc17 What: /sys/class/udc/<udc>/b_hnp_enable
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c72 result[0] |= musb->g.b_hnp_enable in service_tx_status_request()
376 musb->g.b_hnp_enable = 1; in service_zero_data_request()
H A Dmusb_core.c636 && otg->gadget->b_hnp_enable; in musb_stage0_irq()
653 && otg->host->b_hnp_enable; in musb_stage0_irq()
/openbmc/u-boot/include/linux/usb/
H A Dgadget.h509 unsigned b_hnp_enable:1; member
/openbmc/linux/drivers/usb/chipidea/
H A Ddebug.c33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_transfer.c84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
/openbmc/linux/drivers/usb/host/
H A Dohci-hub.c777 && hcd->self.b_hnp_enable) in ohci_hub_control()
H A Dehci-hub.c806 && hcd->self.b_hnp_enable) { in ehci_hub_control()
H A Dxhci-tegra.c2743 if (!((hcd->self.otg_port == (port + 1)) && hcd->self.b_hnp_enable)) in tegra_xhci_hub_control()
2753 if (!((hcd->self.otg_port == (port + 1)) && hcd->self.b_hnp_enable)) in tegra_xhci_hub_control()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg.c826 dev->gadget.b_hnp_enable = 0; in dwc2_udc_probe()
H A Dfotg210.c782 .b_hnp_enable = 0,
/openbmc/linux/drivers/usb/phy/
H A Dphy-fsl-usb.c271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) in a_wait_enum()
/openbmc/linux/include/linux/
H A Dusb.h462 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
/openbmc/linux/drivers/usb/core/
H A Dhub.c2390 bus->b_hnp_enable = 1; in usb_enumerate_device_otg()
2404 bus->b_hnp_enable = 0; in usb_enumerate_device_otg()
2477 if (IS_ENABLED(CONFIG_USB_OTG) && (udev->bus->b_hnp_enable in usb_enumerate_device()
4853 hdev->bus->b_hnp_enable = 0; in hub_port_init()

12