Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml18 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 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/Documentation/driver-api/usb/
H A 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/Documentation/usb/
H A 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 wishes to
/linux/include/linux/usb/
H A Dotg.h40 /* start or continue HNP role switch */
49 * @hnp_support: Indicates if the device supports HNP.
H A Dgadget.h366 * 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 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/drivers/usb/musb/
H A Dmusb_core.c595 * 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 Dmusb_virthub.c128 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 Dimx7ulp-com.dts34 hnp-disable;
H A Dimx7ulp-evk.dts73 hnp-disable;
H A Dimx6ulz-bsh-smm-m2.dts60 hnp-disable;
H A Dimx6q-var-dt6customboard.dts226 hnp-disable;
H A Dimx6ul-var-som-concerto.dts289 hnp-disable;
/linux/drivers/usb/core/
H A Dotg_productlist.h45 /* HNP test device is _never_ targeted (see OTG spec 6.6.6) */ in is_targeted()
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-kontron-bl-osm-s.dts152 hnp-disable;
H A Dtqma8xxs-mb-smarc-2.dtsi161 hnp-disable;
H A Dimx8mm-ucm-som.dtsi360 hnp-disable;
368 hnp-disable;
H A Dimx8mn-var-som-symphony.dts176 hnp-disable;
H A Dimx8mp-venice-gw71xx.dtsi150 hnp-disable;
H A Dimx8mm-var-som-symphony.dts168 hnp-disable;
H A Dimx8mq-tqma8mq-mba8mx.dts155 hnp-disable;
/linux/drivers/usb/gadget/legacy/
H A DKconfig66 bool "HNP Test Device"
72 the "B-Peripheral" role, that device will use HNP to let this
/linux/drivers/usb/dwc3/
H A 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/drivers/usb/chipidea/
H A Dotg.c11 * This file mainly handles otgsc register, OTG fsm operations for HNP and SRP

1234