Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/common/
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()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dtrace.h31 __field(unsigned, b_hnp_enable)
52 __entry->b_hnp_enable = g->b_hnp_enable;
70 __entry->b_hnp_enable ? "b_hnp:" : "",
Dcore.c1608 static USB_UDC_ATTR(b_hnp_enable);
Dfsl_udc_core.c1455 udc->gadget.b_hnp_enable = 1; in setup_received_irq()
1808 udc->gadget.b_hnp_enable = 0; in reset_irq()
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()
Ddummy_hcd.c1630 dum->gadget.b_hnp_enable = 1; in handle_control_request()
/kernel/linux/linux-5.10/drivers/usb/musb/
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()
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()
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()
Dmusb_gadget.c2069 musb->g.b_hnp_enable = 0; in musb_g_reset()
/kernel/linux/linux-5.10/include/linux/usb/
Dotg-fsm.h172 int b_hnp_enable; member
Dgadget.h421 unsigned b_hnp_enable:1; member
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-udc17 What: /sys/class/udc/<udc>/b_hnp_enable
/kernel/linux/linux-5.10/drivers/usb/phy/
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()
Dphy-fsl-usb.c271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) in a_wait_enum()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Ddebug.c33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
Dudc.c1251 ci->gadget.b_hnp_enable = 1; in isr_setup_packet_handler()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc_transfer.c84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-hub.c773 && hcd->self.b_hnp_enable) in ohci_hub_control()
Dehci-hub.c943 && hcd->self.b_hnp_enable) { in ehci_hub_control()
/kernel/linux/linux-5.10/include/linux/
Dusb.h435 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
/kernel/linux/linux-5.10/drivers/usb/core/
Dhub.c2351 bus->b_hnp_enable = 1; in usb_enumerate_device_otg()
2365 bus->b_hnp_enable = 0; in usb_enumerate_device_otg()
2431 if (IS_ENABLED(CONFIG_USB_OTG) && (udev->bus->b_hnp_enable in usb_enumerate_device()
4729 hdev->bus->b_hnp_enable = 0; in hub_port_init()
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dgadget.rst473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dhcd.c3277 return hcd->self.b_hnp_enable; in dwc2_host_is_b_hnp_enabled()