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()
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 …]
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()
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 …]
H A Dhcd.c5489 u32 gpwrdn; in dwc2_host_enter_hibernation() local
5531 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5532 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5533 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5537 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5538 gpwrdn |= GPWRDN_PMUACTV; in dwc2_host_enter_hibernation()
5539 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_hibernation()
5549 gpwrdn = dwc2_readl(hsotg, GPWRDN); in dwc2_host_enter_hibernation()
5550 gpwrdn |= GPWRDN_PMUINTSEL; in dwc2_host_enter_hibernation()
5551 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_host_enter_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()
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 …]
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.c1282 s->gpwrdn = GPWRDN_PWRDNRSTN; in dwc2_reset_enter()