Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A 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 …]
H A Dcore_intr.c439 u32 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_wakeup_detected_intr() local
442 pcgcctl &= ~PCGCTL_STOPPCLK; in dwc2_handle_wakeup_detected_intr()
443 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_wakeup_detected_intr()
577 u32 pcgcctl; in dwc2_handle_lpm_intr() local
609 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr()
610 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr()
611 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
H A Dhcd.c5410 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5449 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5450 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5451 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5465 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5466 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5467 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
H A Dcore.h707 u32 pcgcctl; member
H A Dgadget.c5366 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5398 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation()
5399 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5400 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Ddwc2.h65 u32 pcgcctl; /* 0xe00 */ member
H A Ddwc2.c246 writel(0, &regs->pcgcctl); in dwc_otg_core_host_init()