Home
last modified time | relevance | path

Searched full:hnp (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
31 hnp-disable:
33 Tells OTG controllers we want to disable OTG HNP. Normally HNP is the
Ddwc2.yaml129 hnp-disable: true
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-class-udc6 Indicates if an OTG A-Host supports HNP at an alternate port.
14 Indicates if an OTG A-Host supports HNP at this port.
22 Indicates if an OTG A-Host enabled HNP support.
39 but HNP was used to switch roles.
/Linux-v6.1/Documentation/driver-api/usb/
Dgadget.rst157 new OTG protocols (HNP and SRP). Roles switch (host to peripheral, or
158 vice versa) using HNP during USB suspend processing, and SRP can be
272 configuration may also involve reporting HNP capabilities through a
298 only the HNP-related differences are particularly visible to driver
300 request, and the option to invoke HNP during some suspend callbacks.
473 exposed in new gadget attributes such as ``b_hnp_enable`` flag. HNP
479 - On the host side, USB device drivers need to be taught to trigger HNP
510 and respond appropriately to HNP or SRP protocols.
/Linux-v6.1/Documentation/usb/
Dchipidea.rst5 1. How to test OTG FSM(HNP and SRP)
8 To show how to demo OTG HNP and SRP functions via sys input files
57 or, by introducing HNP polling, B-Host can know when A-peripheral wish
/Linux-v6.1/include/linux/usb/
Dotg.h40 /* start or continue HNP role switch */
49 * @hnp_support: Indicates if the device supports HNP.
Dgadget.h361 * is in the Mini-AB jack, and HNP has been used to switch roles
364 * supports HNP at this port.
366 * only supports HNP on a different root port.
368 * enabled HNP support.
370 * in peripheral mode can support HNP polling.
/Linux-v6.1/drivers/usb/common/
Dusb-otg-fsm.c135 "no usb dev connected, can't start HNP polling\n"); in otg_hnp_polling_work()
157 /* Continue HNP polling */ in otg_hnp_polling_work()
191 * controller driver, otherwise, hnp polling is not started. in otg_start_hnp_polling()
283 * When HNP is triggered while a_bus_req = 0, a_host will in otg_set_state()
/Linux-v6.1/drivers/usb/dwc2/
Dcore_intr.c106 * If not B_HOST and Device HNP still set, HNP did in dwc2_handle_otg_intr()
147 * Print statements during the HNP interrupt handling in dwc2_handle_otg_intr()
189 dev_dbg(hsotg->dev, "HNP Failed\n"); in dwc2_handle_otg_intr()
470 * For HNP the USB Suspend interrupt signals the change from "a_peripheral"
/Linux-v6.1/arch/arm/boot/dts/
Dimx7ulp-com.dts34 hnp-disable;
Dimx7d-mba7.dts109 hnp-disable;
Dimx7ulp-evk.dts73 hnp-disable;
Dimx6ulz-bsh-smm-m2.dts60 hnp-disable;
Dimx6q-var-dt6customboard.dts227 hnp-disable;
Dimx7d-remarkable2.dts109 hnp-disable;
De60k02.dtsi307 hnp-disable;
/Linux-v6.1/drivers/usb/musb/
Dmusb_core.c594 * Handles OTG hnp timeouts, such as b_ase0_brst
605 "HNP: b_wait_acon timeout; back to b_peripheral"); in musb_otg_timer_func()
612 musb_dbg(musb, "HNP: %s timeout", in musb_otg_timer_func()
618 musb_dbg(musb, "HNP: Unhandled mode %s", in musb_otg_timer_func()
625 * Stops the HNP transition. Caller must take care of locking.
633 musb_dbg(musb, "HNP: stop from %s", in musb_hnp_stop()
639 musb_dbg(musb, "HNP: back to %s", in musb_hnp_stop()
643 musb_dbg(musb, "HNP: Disabling HR"); in musb_hnp_stop()
654 musb_dbg(musb, "HNP: Stopping in unknown state %s", in musb_hnp_stop()
659 * When returning to A state after HNP, avoid hub_port_rebounce(), in musb_hnp_stop()
[all …]
Dmusb_virthub.c127 musb_dbg(musb, "HNP: Returning from HNP; no hub reset from b_idle"); in musb_port_reset()
/Linux-v6.1/drivers/usb/phy/
Dphy-isp1301-omap.c393 * OTG inputs; OTG outputs (mostly pullup/pulldown controls) and HNP state
581 /* HNP failed for some reason (A_AIDL_BDIS timeout) */ in otg_update_isp()
611 /* HNP switch to host or peripheral; and SRP */ in otg_update_isp()
669 /* HNP to become b_host failed */ in omap_otg_irq()
956 * when HNP is used. in isp_update_otg()
1434 /* We want hardware to manage most HNP protocol timings. in isp1301_start_hnp()
1461 pr_debug("otg: HNP %s, %06x ...\n", in isp1301_start_hnp()
/Linux-v6.1/drivers/usb/core/
Dotg_productlist.h45 /* HNP test device is _never_ targeted (see OTG spec 6.6.6) */ in is_targeted()
/Linux-v6.1/drivers/usb/gadget/legacy/
DKconfig66 bool "HNP Test Device"
72 the "B-Peripheral" role, that device will use HNP to let this
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mm-var-som-symphony.dts169 hnp-disable;
Dimx8mm-tqma8mqml-mba8mx.dts123 hnp-disable;
/Linux-v6.1/drivers/usb/dwc3/
Ddrd.c220 * We don't want SRP/HNP for simple dual-role so leave in dwc3_otg_host_init()
227 * We don't want HNP/role-swap so leave these disabled. in dwc3_otg_host_init()
/Linux-v6.1/include/uapi/linux/usb/
Dch9.h131 #define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */
133 #define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */
748 __u8 bmAttributes; /* support for HNP, SRP, etc */
756 __u8 bmAttributes; /* support for HNP, SRP and ADP, etc */

1234