Searched refs:pcgcctl (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/usb/dwc2/ |
H A 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 …]
|
H A D | core_intr.c | 590 u32 pcgcctl; in dwc2_handle_lpm_intr() local 622 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_lpm_intr() 623 pcgcctl |= PCGCTL_ENBL_SLEEP_GATING; in dwc2_handle_lpm_intr() 624 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_handle_lpm_intr()
|
H A D | hcd.c | 5487 u32 pcgcctl; in dwc2_host_enter_hibernation() local 5526 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation() 5527 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation() 5528 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation() 5542 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_hibernation() 5543 pcgcctl |= PCGCTL_STOPPCLK; in dwc2_host_enter_hibernation() 5544 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_host_enter_hibernation() 5750 u32 pcgcctl; in dwc2_host_enter_partial_power_down() local 5788 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_partial_power_down() 5790 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_host_enter_partial_power_down() [all …]
|
H A D | gadget.c | 5393 u32 pcgcctl; in dwc2_gadget_exit_hibernation() local 5425 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_hibernation() 5426 pcgcctl &= ~PCGCTL_RSTPDWNMODULE; in dwc2_gadget_exit_hibernation() 5427 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_exit_hibernation() 5502 u32 pcgcctl; in dwc2_gadget_enter_partial_power_down() local 5529 pcgcctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_partial_power_down() 5531 pcgcctl |= PCGCTL_PWRCLMP; in dwc2_gadget_enter_partial_power_down() 5532 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_enter_partial_power_down() 5535 pcgcctl |= PCGCTL_RSTPDWNMODULE; in dwc2_gadget_enter_partial_power_down() 5536 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_gadget_enter_partial_power_down() [all …]
|
H A D | core.h | 688 u32 pcgcctl; member
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.h | 64 u32 pcgcctl; /* 0xe00 */ member
|
H A D | dwc2.c | 243 writel(0, ®s->pcgcctl); in dwc_otg_core_host_init()
|