Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/dwc2/
Dcore_intr.c663 u32 gpwrdn; in dwc2_handle_gpwrdn_intr() local
666 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_handle_gpwrdn_intr()
668 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_handle_gpwrdn_intr()
669 linestate = (gpwrdn & GPWRDN_LINESTATE_MASK) >> GPWRDN_LINESTATE_SHIFT; in dwc2_handle_gpwrdn_intr()
672 gpwrdn); in dwc2_handle_gpwrdn_intr()
674 if ((gpwrdn & GPWRDN_DISCONN_DET) && in dwc2_handle_gpwrdn_intr()
675 (gpwrdn & GPWRDN_DISCONN_DET_MSK) && !linestate) { in dwc2_handle_gpwrdn_intr()
716 if (gpwrdn & GPWRDN_IDSTS) { in dwc2_handle_gpwrdn_intr()
732 if ((gpwrdn & GPWRDN_LNSTSCHG) && in dwc2_handle_gpwrdn_intr()
733 (gpwrdn & GPWRDN_LNSTSCHG_MSK) && linestate) { in dwc2_handle_gpwrdn_intr()
[all …]
Dcore.c322 u32 gpwrdn; in dwc2_hib_restore_common() local
325 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
326 gpwrdn &= ~GPWRDN_PWRDNSWTCH; in dwc2_hib_restore_common()
327 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
331 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
332 gpwrdn &= ~GPWRDN_PWRDNRSTN; in dwc2_hib_restore_common()
333 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
337 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_hib_restore_common()
338 gpwrdn |= GPWRDN_RESTORE; in dwc2_hib_restore_common()
339 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
[all …]
Dhcd.c5377 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5419 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5420 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5421 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5425 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5426 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5427 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5437 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5438 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5439 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
[all …]
Dgadget.c5194 u32 gpwrdn; in dwc2_gadget_enter_hibernation() local
5213 gpwrdn = GPWRDN_PWRDNRSTN; in dwc2_gadget_enter_hibernation()
5214 gpwrdn |= GPWRDN_PMUACTV; in dwc2_gadget_enter_hibernation()
5215 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5222 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_gadget_enter_hibernation()
5223 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_gadget_enter_hibernation()
5224 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5228 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_gadget_enter_hibernation()
5229 gpwrdn |= GPWRDN_RST_DET_MSK; in dwc2_gadget_enter_hibernation()
5230 gpwrdn |= GPWRDN_LNSTSCHG_MSK; in dwc2_gadget_enter_hibernation()
[all …]
Dcore.h708 u32 gpwrdn; member