Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/dwc2/
Dcore.c86 gr->pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_backup_global_registers()
124 dwc2_writel(hsotg, gr->pcgcctl, PCGCTL); in dwc2_restore_global_registers()
138 u32 pcgcctl; in dwc2_exit_partial_power_down() local
144 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_exit_partial_power_down()
145 pcgcctl &= ~PCGCTL_STOPPCLK; in dwc2_exit_partial_power_down()
146 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_exit_partial_power_down()
148 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_exit_partial_power_down()
149 pcgcctl &= ~PCGCTL_PWRCLMP; in dwc2_exit_partial_power_down()
150 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_exit_partial_power_down()
152 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_exit_partial_power_down()
[all …]
Dcore_intr.c433 u32 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_wakeup_detected_intr() local
436 pcgcctl &= ~PCGCTL_STOPPCLK; in dwc2_handle_wakeup_detected_intr()
437 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_wakeup_detected_intr()
559 u32 pcgcctl; in dwc2_handle_lpm_intr() local
591 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr()
592 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr()
593 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
Dcore.h673 u32 pcgcctl; member
Dhcd.c5499 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5538 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5539 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5540 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5554 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5555 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5556 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
Dgadget.c5032 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5064 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation()
5065 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5066 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation()