Home
last modified time | relevance | path

Searched refs:pcgcctl (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/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 in dwc2_exit_partial_power_down()
191 u32 pcgcctl; dwc2_enter_partial_power_down() local
254 u32 pcgcctl; dwc2_restore_essential_regs() local
[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.c5381 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5420 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5421 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5422 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5436 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5437 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5438 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
H A Dcore.h692 * @pcgcctl: Backup of PCGCCTL register
707 u32 pcgcctl; member
H A Dgadget.c5318 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5350 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation()
5351 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5352 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation()
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dcore.c56 gr->pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_backup_global_registers()
94 dwc2_writel(hsotg, gr->pcgcctl, PCGCTL); in dwc2_restore_global_registers()
149 u32 pcgcctl; in dwc2_restore_essential_regs() local
161 pcgcctl = (gr->pcgcctl & 0xffffc000); in dwc2_restore_essential_regs()
164 if (!(pcgcctl & PCGCTL_P2HD_PRT_SPD_MASK)) in dwc2_restore_essential_regs()
165 pcgcctl |= BIT(17); in dwc2_restore_essential_regs()
167 if (!(pcgcctl & PCGCTL_P2HD_DEV_ENUM_SPD_MASK)) in dwc2_restore_essential_regs()
168 pcgcctl |= BIT(17); in dwc2_restore_essential_regs()
170 dwc2_writel(hsotg, pcgcctl, PCGCT in dwc2_restore_essential_regs()
[all...]
H A Dcore_intr.c566 u32 pcgcctl; in dwc2_handle_lpm_intr() local
598 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr()
599 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr()
600 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
H A Dhcd.c5468 u32 pcgcctl; in dwc2_host_enter_hibernation() local
5507 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5508 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5509 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5523 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation()
5524 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation()
5525 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation()
5722 u32 pcgcctl; in dwc2_host_enter_partial_power_down() local
5760 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_partial_power_down()
5762 pcgcctl | in dwc2_host_enter_partial_power_down()
5798 u32 pcgcctl; dwc2_host_exit_partial_power_down() local
[all...]
H A Dgadget.c5382 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local
5414 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation()
5415 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation()
5416 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation()
5491 u32 pcgcctl; in dwc2_gadget_enter_partial_power_down() local
5518 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_partial_power_down()
5520 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_gadget_enter_partial_power_down()
5521 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_enter_partial_power_down()
5524 pcgcctl |= PCGCTL_RSTPDWNMODULE; in dwc2_gadget_enter_partial_power_down()
5525 dwc2_writel(hsotg, pcgcctl, PCGCT in dwc2_gadget_enter_partial_power_down()
5554 u32 pcgcctl; dwc2_gadget_exit_partial_power_down() local
[all...]
H A Dcore.h673 * @pcgcctl: Backup of PCGCCTL register
688 u32 pcgcctl; member

Completed in 37 milliseconds