Home
last modified time | relevance | path

Searched refs:HPRT0_CONNDET (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c458 s->hprt0 |= HPRT0_CONNDET | HPRT0_CONNSTS; in dwc2_attach()
474 s->hprt0 |= HPRT0_CONNDET | HPRT0_ENACHG; in dwc2_detach()
916 HPRT0_CONNDET); in dwc2_hreg0_write()
918 HPRT0_CONNDET); in dwc2_hreg0_write()
922 HPRT0_CONNDET); in dwc2_hreg0_write()
924 HPRT0_CONNDET); in dwc2_hreg0_write()
932 if (val & (HPRT0_OVRCURRCHG | HPRT0_ENACHG | HPRT0_CONNDET)) { in dwc2_hreg0_write()
944 val & ~HPRT0_CONNDET); in dwc2_hreg0_write()
947 val &= ~HPRT0_CONNDET; in dwc2_hreg0_write()
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.h466 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()
H A Dhcd_intr.c339 hprt0_modify &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | in dwc2_port_intr()
346 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()
347 dwc2_writel(hsotg, hprt0_modify | HPRT0_CONNDET, HPRT0); in dwc2_port_intr()
H A Dhw.h728 #define HPRT0_CONNDET BIT(1) macro
H A Dhcd.c1797 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()
4515 dwc2_writel(hsotg, HPRT0_PWR | HPRT0_CONNDET | in _dwc2_hcd_resume()
5679 hprt0 |= HPRT0_CONNDET; in dwc2_host_exit_hibernation()
/openbmc/qemu/include/hw/usb/
H A Ddwc2-regs.h752 #define HPRT0_CONNDET BIT(1) macro