Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dcore_intr.c671 u32 gpwrdn) in dwc_handle_gpwrdn_disc_det() argument
716 if (gpwrdn & GPWRDN_IDSTS) { in dwc_handle_gpwrdn_disc_det()
740 u32 gpwrdn; in dwc2_handle_gpwrdn_intr() local
743 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_handle_gpwrdn_intr()
745 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_handle_gpwrdn_intr()
746 linestate = (gpwrdn & GPWRDN_LINESTATE_MASK) >> GPWRDN_LINESTATE_SHIFT; in dwc2_handle_gpwrdn_intr()
749 gpwrdn); in dwc2_handle_gpwrdn_intr()
751 if ((gpwrdn & GPWRDN_DISCONN_DET) && in dwc2_handle_gpwrdn_intr()
752 (gpwrdn & GPWRDN_DISCONN_DET_MSK) && !linestate) { in dwc2_handle_gpwrdn_intr()
758 dwc_handle_gpwrdn_disc_det(hsotg, gpwrdn); in dwc2_handle_gpwrdn_intr()
[all …]
H A 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 …]
H A Dgadget.c5292 u32 gpwrdn; in dwc2_gadget_enter_hibernation() local
5311 gpwrdn = GPWRDN_PWRDNRSTN; in dwc2_gadget_enter_hibernation()
5312 gpwrdn |= GPWRDN_PMUACTV; in dwc2_gadget_enter_hibernation()
5313 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5320 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_gadget_enter_hibernation()
5321 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_gadget_enter_hibernation()
5322 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_gadget_enter_hibernation()
5326 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_gadget_enter_hibernation()
5327 gpwrdn |= GPWRDN_RST_DET_MSK; in dwc2_gadget_enter_hibernation()
5328 gpwrdn |= GPWRDN_LNSTSCHG_MSK; in dwc2_gadget_enter_hibernation()
[all …]
H A Dhcd.c5412 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5454 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5455 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5456 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5460 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5461 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5462 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5472 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5473 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5474 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
[all …]
H A Dcore.h710 u32 gpwrdn; member