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:" : "",
1608 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()
1372 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()1379 if (udc->gadget.b_hnp_enable) { in update_otg()
1630 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()
858 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()
2069 musb->g.b_hnp_enable = 0; in musb_g_reset()
172 int b_hnp_enable; member
421 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()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()
271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) in a_wait_enum()
33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show()
1251 ci->gadget.b_hnp_enable = 1; in isr_setup_packet_handler()
84 udc->gadget.b_hnp_enable = 1; in handle_control_request()
773 && hcd->self.b_hnp_enable) in ohci_hub_control()
943 && hcd->self.b_hnp_enable) { in ehci_hub_control()
435 unsigned b_hnp_enable:1; /* OTG: did A-Host enable HNP? */ member
2351 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()
473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP
3277 return hcd->self.b_hnp_enable; in dwc2_host_is_b_hnp_enabled()