/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-drd.yaml | 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 32 hnp-disable: 34 Tells OTG controllers we want to disable OTG HNP. Normally HNP is the
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-udc | 6 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/Documentation/driver-api/usb/ |
H A D | gadget.rst | 157 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/Documentation/usb/ |
H A D | chipidea.rst | 5 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 wishes to
|
/linux/include/linux/usb/ |
H A D | otg.h | 40 /* start or continue HNP role switch */ 49 * @hnp_support: Indicates if the device supports HNP.
|
H A D | gadget.h | 366 * is in the Mini-AB jack, and HNP has been used to switch roles 369 * supports HNP at this port. 371 * only supports HNP on a different root port. 373 * enabled HNP support. 375 * in peripheral mode can support HNP polling.
|
/linux/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 135 "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/drivers/usb/musb/ |
H A D | musb_core.c | 595 * Handles OTG hnp timeouts, such as b_ase0_brst 606 "HNP: b_wait_acon timeout; back to b_peripheral"); in musb_otg_timer_func() 613 musb_dbg(musb, "HNP: %s timeout", in musb_otg_timer_func() 619 musb_dbg(musb, "HNP: Unhandled mode %s", in musb_otg_timer_func() 626 * Stops the HNP transition. Caller must take care of locking. 634 musb_dbg(musb, "HNP: stop from %s", musb_otg_state_string(musb)); in musb_hnp_stop() 639 musb_dbg(musb, "HNP: back to %s", musb_otg_state_string(musb)); in musb_hnp_stop() 642 musb_dbg(musb, "HNP: Disabling HR"); in musb_hnp_stop() 653 musb_dbg(musb, "HNP: Stopping in unknown state %s", in musb_hnp_stop() 658 * When returning to A state after HNP, avoid hub_port_rebounce(), in musb_hnp_stop() [all …]
|
H A D | musb_virthub.c | 128 musb_dbg(musb, "HNP: Returning from HNP; no hub reset from b_idle"); in musb_port_reset()
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7ulp-com.dts | 34 hnp-disable;
|
H A D | imx7ulp-evk.dts | 73 hnp-disable;
|
H A D | imx6ulz-bsh-smm-m2.dts | 60 hnp-disable;
|
H A D | imx6q-var-dt6customboard.dts | 226 hnp-disable;
|
H A D | imx6ul-var-som-concerto.dts | 289 hnp-disable;
|
/linux/drivers/usb/core/ |
H A D | otg_productlist.h | 45 /* HNP test device is _never_ targeted (see OTG spec 6.6.6) */ in is_targeted()
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-kontron-bl-osm-s.dts | 152 hnp-disable;
|
H A D | tqma8xxs-mb-smarc-2.dtsi | 161 hnp-disable;
|
H A D | imx8mm-ucm-som.dtsi | 360 hnp-disable; 368 hnp-disable;
|
H A D | imx8mn-var-som-symphony.dts | 176 hnp-disable;
|
H A D | imx8mp-venice-gw71xx.dtsi | 150 hnp-disable;
|
H A D | imx8mm-var-som-symphony.dts | 168 hnp-disable;
|
H A D | imx8mq-tqma8mq-mba8mx.dts | 155 hnp-disable;
|
/linux/drivers/usb/gadget/legacy/ |
H A D | Kconfig | 66 bool "HNP Test Device" 72 the "B-Peripheral" role, that device will use HNP to let this
|
/linux/drivers/usb/dwc3/ |
H A D | drd.c | 220 * 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/drivers/usb/chipidea/ |
H A D | otg.c | 11 * This file mainly handles otgsc register, OTG fsm operations for HNP and SRP
|