Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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.c1695 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.c1377 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()
1384 if (udc->gadget.b_hnp_enable) { in update_otg()
Ddummy_hcd.c1642 dum->gadget.b_hnp_enable = 1; in handle_control_request()
/linux-6.1.9/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.c859 musb->is_active = musb->g.b_hnp_enable; in musb_handle_intr_suspend()
875 musb->is_active = musb->hcd->self.b_hnp_enable; in musb_handle_intr_suspend()
Dmusb_gadget.c2067 musb->g.b_hnp_enable = 0; in musb_g_reset()
/linux-6.1.9/include/linux/usb/
Dotg-fsm.h159 int b_hnp_enable; member
Dgadget.h433 unsigned b_hnp_enable:1; member
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-class-udc17 What: /sys/class/udc/<udc>/b_hnp_enable
/linux-6.1.9/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()
1428 if (otg->default_a && (otg->host == NULL || !otg->host->b_hnp_enable)) in isp1301_start_hnp()
1431 || !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()
/linux-6.1.9/drivers/usb/usbip/
Dvudc_transfer.c84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
/linux-6.1.9/drivers/usb/chipidea/
Ddebug.c33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
Dudc.c1265 ci->gadget.b_hnp_enable = 1; in isr_setup_packet_handler()
/linux-6.1.9/drivers/usb/host/
Dohci-hub.c777 && hcd->self.b_hnp_enable) in ohci_hub_control()
Dehci-hub.c805 && hcd->self.b_hnp_enable) { in ehci_hub_control()
/linux-6.1.9/include/linux/
Dusb.h435 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
/linux-6.1.9/drivers/usb/core/
Dhub.c2352 bus->b_hnp_enable = 1; in usb_enumerate_device_otg()
2366 bus->b_hnp_enable = 0; in usb_enumerate_device_otg()
2432 if (IS_ENABLED(CONFIG_USB_OTG) && (udev->bus->b_hnp_enable in usb_enumerate_device()
4696 hdev->bus->b_hnp_enable = 0; in hub_port_init()
/linux-6.1.9/Documentation/driver-api/usb/
Dgadget.rst473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP
/linux-6.1.9/drivers/usb/dwc2/
Dhcd.c3251 return hcd->self.b_hnp_enable; in dwc2_host_is_b_hnp_enabled()