Searched refs:b_hnp_enable (Results 1 – 24 of 24) sorted by relevance
169 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()
31 __field(unsigned, b_hnp_enable)52 __entry->b_hnp_enable = g->b_hnp_enable;70 __entry->b_hnp_enable ? "b_hnp:" : "",
1695 static USB_UDC_ATTR(b_hnp_enable);
1455 udc->gadget.b_hnp_enable = 1; in setup_received_irq()1808 udc->gadget.b_hnp_enable = 0; in reset_irq()
1377 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()1384 if (udc->gadget.b_hnp_enable) { in update_otg()
1642 dum->gadget.b_hnp_enable = 1; in handle_control_request()
91 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()
66 result[0] |= musb->g.b_hnp_enable in service_tx_status_request()370 musb->g.b_hnp_enable = 1; in service_zero_data_request()
859 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()
2067 musb->g.b_hnp_enable = 0; in musb_g_reset()
159 int b_hnp_enable; member
433 unsigned b_hnp_enable:1; member
17 What: /sys/class/udc/<udc>/b_hnp_enable
296 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()
271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) in a_wait_enum()
84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
1265 ci->gadget.b_hnp_enable = 1; in isr_setup_packet_handler()
777 && hcd->self.b_hnp_enable) in ohci_hub_control()
805 && hcd->self.b_hnp_enable) { in ehci_hub_control()
435 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
2352 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()
473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP
3251 return hcd->self.b_hnp_enable; in dwc2_host_is_b_hnp_enabled()