Searched refs:pcgcctl (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/usb/dwc2/ |
D | core.c | 56 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, PCGCTL); in dwc2_restore_essential_regs() 187 pcgcctl |= PCGCTL_RESTOREMODE; in dwc2_restore_essential_regs() [all …]
|
D | core_intr.c | 566 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()
|
D | hcd.c | 5468 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 |= PCGCTL_PWRCLMP; in dwc2_host_enter_partial_power_down() [all …]
|
D | gadget.c | 5383 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local 5415 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation() 5416 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation() 5417 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation() 5492 u32 pcgcctl; in dwc2_gadget_enter_partial_power_down() local 5519 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_partial_power_down() 5521 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_gadget_enter_partial_power_down() 5522 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_enter_partial_power_down() 5525 pcgcctl |= PCGCTL_RSTPDWNMODULE; in dwc2_gadget_enter_partial_power_down() 5526 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_enter_partial_power_down() [all …]
|
D | core.h | 688 u32 pcgcctl; member
|