Home
last modified time | relevance | path

Searched refs:gpwrdn (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/dev/usb/dwc2/
H A Ddwc2_coreintr.c699 u32 gpwrdn) in dwc_handle_gpwrdn_disc_det() argument
740 if (gpwrdn & GPWRDN_IDSTS) { in dwc_handle_gpwrdn_disc_det()
764 u32 gpwrdn; in dwc2_handle_gpwrdn_intr() local
768 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_handle_gpwrdn_intr()
770 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_handle_gpwrdn_intr()
774 gpwrdn); in dwc2_handle_gpwrdn_intr()
776 if ((gpwrdn & GPWRDN_DISCONN_DET) && in dwc2_handle_gpwrdn_intr()
789 if (gpwrdn & GPWRDN_IDSTS) { in dwc2_handle_gpwrdn_intr()
802 } else if ((gpwrdn & GPWRDN_RST_DET) && in dwc2_handle_gpwrdn_intr()
803 (gpwrdn & GPWRDN_RST_DET_MSK)) { in dwc2_handle_gpwrdn_intr()
[all …]
H A Ddwc2_core.c254 u32 gpwrdn; in dwc2_hib_restore_common() local
257 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
258 gpwrdn &= ~GPWRDN_PWRDNSWTCH; in dwc2_hib_restore_common()
259 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
263 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
264 gpwrdn &= ~GPWRDN_PWRDNRSTN; in dwc2_hib_restore_common()
265 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
270 gpwrdn |= GPWRDN_RESTORE; in dwc2_hib_restore_common()
276 gpwrdn &= ~GPWRDN_PWRDNCLMP; in dwc2_hib_restore_common()
285 gpwrdn |= GPWRDN_PWRDNRSTN; in dwc2_hib_restore_common()
[all …]
H A Ddwc2_hcd.c5521 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5564 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5570 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5582 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5589 gpwrdn |= GPWRDN_LNSTSCHG_MSK; in dwc2_host_enter_hibernation()
5590 gpwrdn |= GPWRDN_STS_CHGINT_MSK; in dwc2_host_enter_hibernation()
5596 gpwrdn |= GPWRDN_PWRDNCLMP; in dwc2_host_enter_hibernation()
5602 gpwrdn |= GPWRDN_PWRDNSWTCH; in dwc2_host_enter_hibernation()
5627 u32 gpwrdn; in dwc2_host_exit_hibernation() local
5655 gpwrdn &= ~GPWRDN_RESTORE; in dwc2_host_exit_hibernation()
[all …]
H A Ddwc2_core.h753 u32 gpwrdn; member