Home
last modified time | relevance | path

Searched refs:pcgcctl (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c149 u32 pcgcctl; in dwc2_restore_essential_regs() local
161 pcgcctl = (gr->pcgcctl & 0xffffc000); in dwc2_restore_essential_regs()
165 pcgcctl |= BIT(17); in dwc2_restore_essential_regs()
168 pcgcctl |= BIT(17); in dwc2_restore_essential_regs()
170 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
187 pcgcctl |= PCGCTL_RESTOREMODE; in dwc2_restore_essential_regs()
188 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
191 pcgcctl |= PCGCTL_ESS_REG_RESTORED; in dwc2_restore_essential_regs()
192 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
198 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
[all …]
H A Dcore_intr.c590 u32 pcgcctl; in dwc2_handle_lpm_intr() local
622 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr()
623 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr()
624 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
H A Dhcd.c5490 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5530 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5546 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5753 u32 pcgcctl; in dwc2_host_enter_partial_power_down() local
5793 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_host_enter_partial_power_down()
5797 pcgcctl |= PCGCTL_RSTPDWNMODULE; in dwc2_host_enter_partial_power_down()
5801 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_partial_power_down()
5829 u32 pcgcctl; in dwc2_host_exit_partial_power_down() local
5836 pcgcctl &= ~PCGCTL_STOPPCLK; in dwc2_host_exit_partial_power_down()
5841 pcgcctl &= ~PCGCTL_PWRCLMP; in dwc2_host_exit_partial_power_down()
[all …]
H A Dgadget.c5392 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5425 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5501 u32 pcgcctl; in dwc2_gadget_enter_partial_power_down() local
5528 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_partial_power_down()
5530 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_gadget_enter_partial_power_down()
5534 pcgcctl |= PCGCTL_RSTPDWNMODULE; in dwc2_gadget_enter_partial_power_down()
5538 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_gadget_enter_partial_power_down()
5564 u32 pcgcctl; in dwc2_gadget_exit_partial_power_down() local
5574 pcgcctl &= ~PCGCTL_STOPPCLK; in dwc2_gadget_exit_partial_power_down()
5578 pcgcctl &= ~PCGCTL_PWRCLMP; in dwc2_gadget_exit_partial_power_down()
[all …]
H A Dcore.h688 u32 pcgcctl; member
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.h64 u32 pcgcctl; /* 0xe00 */ member
H A Ddwc2.c243 writel(0, &regs->pcgcctl); in dwc_otg_core_host_init()