Searched refs:gpwrdn (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/usb/dwc2/ |
D | core_intr.c | 663 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 …]
|
D | core.c | 322 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 …]
|
D | hcd.c | 5377 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 …]
|
D | gadget.c | 5194 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 …]
|
D | core.h | 708 u32 gpwrdn; member
|