Searched refs:pcgcctl (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/usb/dwc2/ |
H A D | core.c | 149 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 D | core_intr.c | 590 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 D | hcd.c | 5490 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 D | gadget.c | 5392 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 D | core.h | 688 u32 pcgcctl; member
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.h | 64 u32 pcgcctl; /* 0xe00 */ member
|
H A D | dwc2.c | 243 writel(0, ®s->pcgcctl); in dwc_otg_core_host_init()
|