Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
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()
756 linestate = (gpwrdn & GPWRDN_LINESTATE_MASK) >> GPWRDN_LINESTATE_SHIFT; in dwc2_handle_gpwrdn_intr()
759 gpwrdn); in dwc2_handle_gpwrdn_intr()
761 if ((gpwrdn & GPWRDN_DISCONN_DET) && in dwc2_handle_gpwrdn_intr()
762 (gpwrdn & GPWRDN_DISCONN_DET_MSK) && !linestate) { in dwc2_handle_gpwrdn_intr()
768 dwc_handle_gpwrdn_disc_det(hsotg, gpwrdn); in dwc2_handle_gpwrdn_intr()
[all …]
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()
232 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
233 gpwrdn |= GPWRDN_RESTORE; in dwc2_hib_restore_common()
234 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
[all …]
Dhcd.c5492 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5534 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5535 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5536 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5540 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5541 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5542 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5552 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5553 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5554 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
[all …]
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()
5339 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5346 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_gadget_enter_hibernation()
5347 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_gadget_enter_hibernation()
5348 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5352 gpwrdn = dwc2_readl(hsotg, GPWRDN); 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()
[all …]
Dcore.h691 u32 gpwrdn; member