Searched refs:pcgctl (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/usb/dwc2/ |
| H A D | core_intr.c | 87 u32 pcgctl; in dwc2_handle_otg_intr() local 103 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_otg_intr() 104 pcgctl &= ~PCGCTL_GATEHCLK; in dwc2_handle_otg_intr() 105 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_handle_otg_intr() 109 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_handle_otg_intr() 110 pcgctl &= ~PCGCTL_STOPPCLK; in dwc2_handle_otg_intr() 111 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_handle_otg_intr() 344 u32 pcgctl; in dwc2_wakeup_from_lpm_l1() local 359 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_wakeup_from_lpm_l1() 360 pcgctl &= ~PCGCTL_ENBL_SLEEP_GATING; in dwc2_wakeup_from_lpm_l1() [all …]
|
| H A D | hcd.c | 3274 u32 pcgctl; in dwc2_port_suspend() local 3321 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_port_suspend() 3322 pcgctl &= ~PCGCTL_STOPPCLK; in dwc2_port_suspend() 3323 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_port_suspend() 3390 u32 pcgctl; in dwc2_hcd_hub_control() local 3676 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_hcd_hub_control() 3677 pcgctl &= ~(PCGCTL_ENBL_SLEEP_GATING | PCGCTL_STOPPCLK); in dwc2_hcd_hub_control() 3678 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_hcd_hub_control() 5921 u32 pcgctl; in dwc2_host_enter_clock_gating() local 5931 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_host_enter_clock_gating() [all …]
|
| H A D | gadget.c | 5681 u32 pcgctl; in dwc2_gadget_enter_clock_gating() local 5686 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_clock_gating() 5687 pcgctl |= PCGCTL_STOPPCLK; in dwc2_gadget_enter_clock_gating() 5688 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_enter_clock_gating() 5692 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_enter_clock_gating() 5693 pcgctl |= PCGCTL_GATEHCLK; in dwc2_gadget_enter_clock_gating() 5694 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_gadget_enter_clock_gating() 5711 u32 pcgctl; in dwc2_gadget_exit_clock_gating() local 5717 pcgctl = dwc2_readl(hsotg, PCGCTL); in dwc2_gadget_exit_clock_gating() 5718 pcgctl &= ~PCGCTL_GATEHCLK; in dwc2_gadget_exit_clock_gating() [all …]
|