Home
last modified time | relevance | path

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

/Linux-v5.4/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()
571 u32 pcgcctl; in dwc2_handle_lpm_intr() local
603 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr()
604 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr()
605 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
Dhcd.c5375 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5414 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5415 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5416 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5430 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5431 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5432 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
Dcore.h700 u32 pcgcctl; member
Dgadget.c5209 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5241 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation()
5242 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5243 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation()