Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A Dcore_intr.c684 u32 gpwrdn) in dwc_handle_gpwrdn_disc_det() argument
725 if (gpwrdn & GPWRDN_IDSTS) { in dwc_handle_gpwrdn_disc_det()
749 u32 gpwrdn; in dwc2_handle_gpwrdn_intr() local
753 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_handle_gpwrdn_intr()
755 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_handle_gpwrdn_intr()
759 gpwrdn); in dwc2_handle_gpwrdn_intr()
761 if ((gpwrdn & GPWRDN_DISCONN_DET) && in dwc2_handle_gpwrdn_intr()
774 if (gpwrdn & GPWRDN_IDSTS) { in dwc2_handle_gpwrdn_intr()
787 } else if ((gpwrdn & GPWRDN_RST_DET) && in dwc2_handle_gpwrdn_intr()
788 (gpwrdn & GPWRDN_RST_DET_MSK)) { in dwc2_handle_gpwrdn_intr()
[all …]
H A Dcore.c217 u32 gpwrdn; in dwc2_hib_restore_common() local
220 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
221 gpwrdn &= ~GPWRDN_PWRDNSWTCH; in dwc2_hib_restore_common()
222 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
226 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
227 gpwrdn &= ~GPWRDN_PWRDNRSTN; in dwc2_hib_restore_common()
228 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
233 gpwrdn |= GPWRDN_RESTORE; in dwc2_hib_restore_common()
239 gpwrdn &= ~GPWRDN_PWRDNCLMP; in dwc2_hib_restore_common()
248 gpwrdn |= GPWRDN_PWRDNRSTN; in dwc2_hib_restore_common()
[all …]
H A Dhcd.c5492 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5535 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5541 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5553 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5560 gpwrdn |= GPWRDN_LNSTSCHG_MSK; in dwc2_host_enter_hibernation()
5567 gpwrdn |= GPWRDN_PWRDNCLMP; in dwc2_host_enter_hibernation()
5573 gpwrdn |= GPWRDN_PWRDNSWTCH; in dwc2_host_enter_hibernation()
5598 u32 gpwrdn; in dwc2_host_exit_hibernation() local
5626 gpwrdn &= ~GPWRDN_RESTORE; in dwc2_host_exit_hibernation()
5637 gpwrdn &= ~GPWRDN_PMUACTV; in dwc2_host_exit_hibernation()
[all …]
H A Dgadget.c5318 u32 gpwrdn; in dwc2_gadget_enter_hibernation() local
5337 gpwrdn = GPWRDN_PWRDNRSTN; in dwc2_gadget_enter_hibernation()
5338 gpwrdn |= GPWRDN_PMUACTV; in dwc2_gadget_enter_hibernation()
5347 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_gadget_enter_hibernation()
5353 gpwrdn |= GPWRDN_RST_DET_MSK; in dwc2_gadget_enter_hibernation()
5354 gpwrdn |= GPWRDN_LNSTSCHG_MSK; in dwc2_gadget_enter_hibernation()
5361 gpwrdn |= GPWRDN_PWRDNCLMP; in dwc2_gadget_enter_hibernation()
5367 gpwrdn |= GPWRDN_PWRDNSWTCH; in dwc2_gadget_enter_hibernation()
5393 u32 gpwrdn; in dwc2_gadget_exit_hibernation() local
5419 gpwrdn &= ~GPWRDN_RESTORE; in dwc2_gadget_exit_hibernation()
[all …]
H A Dcore.h691 u32 gpwrdn; member
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h99 uint32_t gpwrdn; /* 58 */ member
H A Dhcd-dwc2.c1277 s->gpwrdn = GPWRDN_PWRDNRSTN; in dwc2_reset_enter()