Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 Dcore.c1704 static USB_UDC_ATTR(b_hnp_enable);
H A Dfsl_udc_core.c1455 udc->gadget.b_hnp_enable = 1; in setup_received_irq()
1808 udc->gadget.b_hnp_enable = 0; in reset_irq()
H A Domap_udc.c1372 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()
1379 if (udc->gadget.b_hnp_enable) { in update_otg()
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Dmusb_virthub.c91 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
100 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
209 if (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.c858 musb->is_active = musb->g.b_hnp_enable; in musb_handle_intr_suspend()
874 musb->is_active = musb->hcd->self.b_hnp_enable; in musb_handle_intr_suspend()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dotg-fsm.h172 int b_hnp_enable; member
H A Dgadget.h446 unsigned b_hnp_enable:1; member
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-isp1301-omap.c296 isp->phy.otg->gadget->b_hnp_enable = 0; in gadget_suspend()
544 if (isp->phy.otg->gadget->b_hnp_enable) { in otg_update_isp()
1433 if (otg->default_a && (otg->host == NULL || !otg->host->b_hnp_enable)) in isp1301_start_hnp()
1436 || !otg->gadget->b_hnp_enable)) in isp1301_start_hnp()
H A Dphy-fsl-usb.c271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) in a_wait_enum()
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-class-udc17 What: /sys/class/udc/<udc>/b_hnp_enable
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c73 result[0] |= musb->g.b_hnp_enable in service_tx_status_request()
377 musb->g.b_hnp_enable = 1; in service_zero_data_request()
H A Dmusb_core.c637 && otg->gadget->b_hnp_enable; in musb_stage0_irq()
654 && otg->host->b_hnp_enable; in musb_stage0_irq()
H A Dmusb_gadget.c2287 musb->g.b_hnp_enable = 0; in musb_g_reset()
/OK3568_Linux_fs/u-boot/include/linux/usb/
H A Dgadget.h536 unsigned b_hnp_enable:1; member
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Ddebug.c33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
/OK3568_Linux_fs/kernel/drivers/usb/usbip/
H A Dvudc_transfer.c84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-hub.c773 && hcd->self.b_hnp_enable) in ohci_hub_control()
H A Dehci-hub.c943 && hcd->self.b_hnp_enable) { in ehci_hub_control()
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Dfotg210.c783 .b_hnp_enable = 0,
H A Ddwc2_udc_otg.c901 dev->gadget.b_hnp_enable = 0; in dwc2_udc_probe()
/OK3568_Linux_fs/kernel/include/linux/
H A Dusb.h446 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Dhub.c2341 bus->b_hnp_enable = 1; in usb_enumerate_device_otg()
2355 bus->b_hnp_enable = 0; in usb_enumerate_device_otg()
2421 if (IS_ENABLED(CONFIG_USB_OTG) && (udev->bus->b_hnp_enable in usb_enumerate_device()
4627 hdev->bus->b_hnp_enable = 0; in hub_port_init()

12