Home
last modified time | relevance | path

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

12345

/openbmc/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
H A Ddwc2.yaml136 hnp-disable: true
/openbmc/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.
/openbmc/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
/openbmc/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.
/openbmc/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.h364 * is in the Mini-AB jack, and HNP has been used to switch roles
367 * supports HNP at this port.
369 * only supports HNP on a different root port.
371 * enabled HNP support.
373 * in peripheral mode can support HNP polling.
/openbmc/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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.c334 * Handles OTG hnp timeouts, such as b_ase0_brst
344 dev_dbg(musb->controller, "HNP: b_wait_acon timeout; back to b_peripheral\n"); in musb_otg_timer_func()
351 dev_dbg(musb->controller, "HNP: %s timeout\n", in musb_otg_timer_func()
357 dev_dbg(musb->controller, "HNP: Unhandled mode %s\n", in musb_otg_timer_func()
365 * Stops the HNP transition. Caller must take care of locking.
373 dev_dbg(musb->controller, "HNP: stop from %s\n", otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
378 dev_dbg(musb->controller, "HNP: back to %s\n", in musb_hnp_stop()
382 dev_dbg(musb->controller, "HNP: Disabling HR\n"); in musb_hnp_stop()
392 dev_dbg(musb->controller, "HNP: Stopping in unknown state %s\n", in musb_hnp_stop()
397 * When returning to A state after HNP, avoid hub_port_rebounce(), in musb_hnp_stop()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx7ulp-com.dts34 hnp-disable;
H A Dimx7d-mba7.dts109 hnp-disable;
H A Dimx7ulp-evk.dts73 hnp-disable;
H A Dimx6ulz-bsh-smm-m2.dts60 hnp-disable;
H A Dimx6q-var-dt6customboard.dts227 hnp-disable;
/openbmc/linux/drivers/usb/dwc2/
H A 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()
494 * For HNP the USB Suspend interrupt signals the change from "a_peripheral"
/openbmc/u-boot/arch/arm/dts/
H A Dimx6ul-phycore-segin.dts47 hnp-disable;
/openbmc/linux/drivers/usb/musb/
H A 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", musb_otg_state_string(musb)); in musb_hnp_stop()
638 musb_dbg(musb, "HNP: back to %s", musb_otg_state_string(musb)); in musb_hnp_stop()
641 musb_dbg(musb, "HNP: Disabling HR"); in musb_hnp_stop()
652 musb_dbg(musb, "HNP: Stopping in unknown state %s", in musb_hnp_stop()
657 * 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()
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl-evk.dts320 hnp-disable;
337 hnp-disable;
H A Dimx8mp-venice-gw71xx.dtsi129 hnp-disable;
H A Dimx8mn-var-som-symphony.dts167 hnp-disable;
H A Dimx8mm-var-som-symphony.dts169 hnp-disable;
/openbmc/linux/drivers/usb/core/
H A Dotg_productlist.h45 /* HNP test device is _never_ targeted (see OTG spec 6.6.6) */ in is_targeted()
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c48 * The hnp/srp capability must be disabled if the platform
49 * does't support hnp/srp. Otherwise the force mode can't work.
274 /* Clear Host Set HNP Enable in the OTG Control Register */ in dwc_otg_core_host_init()
370 * Also do this on HNP Dev/Host mode switches (done in dev_init in dwc_otg_core_init()
1315 priv->hnp_srp_disable = dev_read_bool(dev, "hnp-srp-disable"); in dwc2_usb_ofdata_to_platdata()
/openbmc/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

12345