Lines Matching refs:pcgctl
5618 u32 pcgctl; in dwc2_gadget_enter_clock_gating() local
5623 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_clock_gating()
5624 pcgctl |= PCGCTL_STOPPCLK; in dwc2_gadget_enter_clock_gating()
5625 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_enter_clock_gating()
5629 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_clock_gating()
5630 pcgctl |= PCGCTL_GATEHCLK; in dwc2_gadget_enter_clock_gating()
5631 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_enter_clock_gating()
5648 u32 pcgctl; in dwc2_gadget_exit_clock_gating() local
5654 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_clock_gating()
5655 pcgctl &= ~PCGCTL_GATEHCLK; in dwc2_gadget_exit_clock_gating()
5656 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_exit_clock_gating()
5660 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_clock_gating()
5661 pcgctl &= ~PCGCTL_STOPPCLK; in dwc2_gadget_exit_clock_gating()
5662 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_exit_clock_gating()