/kernel/linux/linux-5.10/drivers/phy/qualcomm/ |
H A D | phy-qcom-pcie2.c | 47 struct clk *pipe_clk; member 155 clk_set_rate(qphy->pipe_clk, 250000000); in qcom_pcie2_phy_power_on() 157 ret = clk_prepare_enable(qphy->pipe_clk); in qcom_pcie2_phy_power_on() 181 clk_disable_unprepare(qphy->pipe_clk); in qcom_pcie2_phy_power_off() 219 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 271 dev_err(dev, "failed to register pipe_clk\n"); in qcom_pcie2_phy_probe() 281 qphy->pipe_clk = devm_clk_get(dev, NULL); in qcom_pcie2_phy_probe() 282 if (IS_ERR(qphy->pipe_clk)) { in qcom_pcie2_phy_probe() 284 return PTR_ERR(qphy->pipe_clk); in qcom_pcie2_phy_probe()
|
H A D | phy-qcom-qmp.c | 1909 * @pipe_clk: pipe lock 1925 struct clk *pipe_clk; member 3111 ret = clk_prepare_enable(qphy->pipe_clk); in qcom_qmp_phy_power_on() 3113 dev_err(qmp->dev, "pipe_clk enable failed err=%d\n", ret); in qcom_qmp_phy_power_on() 3186 clk_disable_unprepare(qphy->pipe_clk); in qcom_qmp_phy_power_on() 3199 clk_disable_unprepare(qphy->pipe_clk); in qcom_qmp_phy_power_off() 3339 clk_disable_unprepare(qphy->pipe_clk); in qcom_qmp_phy_runtime_suspend() 3369 ret = clk_prepare_enable(qphy->pipe_clk); in qcom_qmp_phy_runtime_resume() 3371 dev_err(dev, "pipe_clk enable failed, err=%d\n", ret); in qcom_qmp_phy_runtime_resume() 3457 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-histb.c | 39 struct clk *pipe_clk; member 100 histb->pipe_clk = devm_clk_get(dev, "pipe"); in xhci_histb_clks_get() 101 if (IS_ERR(histb->pipe_clk)) { in xhci_histb_clks_get() 103 return PTR_ERR(histb->pipe_clk); in xhci_histb_clks_get() 131 ret = clk_prepare_enable(histb->pipe_clk); in xhci_histb_host_enable() 148 clk_disable_unprepare(histb->pipe_clk); in xhci_histb_host_enable() 162 clk_disable_unprepare(histb->pipe_clk); in xhci_histb_host_disable()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-histb.c | 39 struct clk *pipe_clk; member 100 histb->pipe_clk = devm_clk_get(dev, "pipe"); in xhci_histb_clks_get() 101 if (IS_ERR(histb->pipe_clk)) { in xhci_histb_clks_get() 103 return PTR_ERR(histb->pipe_clk); in xhci_histb_clks_get() 131 ret = clk_prepare_enable(histb->pipe_clk); in xhci_histb_host_enable() 148 clk_disable_unprepare(histb->pipe_clk); in xhci_histb_host_enable() 162 clk_disable_unprepare(histb->pipe_clk); in xhci_histb_host_disable()
|
/kernel/linux/linux-6.6/drivers/phy/qualcomm/ |
H A D | phy-qcom-pcie2.c | 47 struct clk *pipe_clk; member 155 clk_set_rate(qphy->pipe_clk, 250000000); in qcom_pcie2_phy_power_on() 157 ret = clk_prepare_enable(qphy->pipe_clk); in qcom_pcie2_phy_power_on() 181 clk_disable_unprepare(qphy->pipe_clk); in qcom_pcie2_phy_power_off() 219 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 272 dev_err(dev, "failed to register pipe_clk\n"); in qcom_pcie2_phy_probe() 282 qphy->pipe_clk = devm_clk_get(dev, NULL); in qcom_pcie2_phy_probe() 283 if (IS_ERR(qphy->pipe_clk)) { in qcom_pcie2_phy_probe() 285 return PTR_ERR(qphy->pipe_clk); in qcom_pcie2_phy_probe()
|
H A D | phy-qcom-qmp-pcie-msm8996.c | 207 * @pipe_clk: pipe clock 219 struct clk *pipe_clk; member 483 ret = clk_prepare_enable(qphy->pipe_clk); in qmp_pcie_msm8996_power_on() 485 dev_err(qmp->dev, "pipe_clk enable failed err=%d\n", ret); in qmp_pcie_msm8996_power_on() 521 clk_disable_unprepare(qphy->pipe_clk); in qmp_pcie_msm8996_power_on() 533 clk_disable_unprepare(qphy->pipe_clk); in qmp_pcie_msm8996_power_off() 657 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 739 qphy->pipe_clk = devm_get_clk_from_child(dev, np, NULL); in qmp_pcie_msm8996_create() 740 if (IS_ERR(qphy->pipe_clk)) { in qmp_pcie_msm8996_create() 741 return dev_err_probe(dev, PTR_ERR(qphy->pipe_clk), in qmp_pcie_msm8996_create() [all...] |
H A D | phy-qcom-qmp-usb-legacy.c | 559 struct clk *pipe_clk; member 867 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_usb_legacy_power_on() 869 dev_err(qmp->dev, "pipe_clk enable failed err=%d\n", ret); in qmp_usb_legacy_power_on() 903 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_legacy_power_on() 913 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_legacy_power_off() 1031 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_legacy_runtime_suspend() 1054 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_usb_legacy_runtime_resume() 1056 dev_err(dev, "pipe_clk enable failed, err=%d\n", ret); in qmp_usb_legacy_runtime_resume() 1146 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 1253 qmp->pipe_clk in qmp_usb_legacy_parse_dt_legacy() [all...] |
H A D | phy-qcom-qmp-usb.c | 1215 struct clk *pipe_clk; member 1723 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_usb_power_on() 1725 dev_err(qmp->dev, "pipe_clk enable failed err=%d\n", ret); in qmp_usb_power_on() 1763 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_power_on() 1773 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_power_off() 1891 clk_disable_unprepare(qmp->pipe_clk); in qmp_usb_runtime_suspend() 1914 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_usb_runtime_resume() 1916 dev_err(dev, "pipe_clk enable failed, err=%d\n", ret); in qmp_usb_runtime_resume() 2006 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 2118 qmp->pipe_clk in qmp_usb_parse_dt_legacy() [all...] |
H A D | phy-qcom-qmp-combo.c | 1400 struct clk *pipe_clk; member 2565 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_combo_usb_power_on() 2567 dev_err(qmp->dev, "pipe_clk enable failed err=%d\n", ret); in qmp_combo_usb_power_on() 2603 clk_disable_unprepare(qmp->pipe_clk); in qmp_combo_usb_power_on() 2613 clk_disable_unprepare(qmp->pipe_clk); in qmp_combo_usb_power_off() 2759 clk_disable_unprepare(qmp->pipe_clk); in qmp_combo_runtime_suspend() 2781 ret = clk_prepare_enable(qmp->pipe_clk); in qmp_combo_runtime_resume() 2783 dev_err(dev, "pipe_clk enable failed, err=%d\n", ret); in qmp_combo_runtime_resume() 2890 * I/P---^-->| PLL |---^--->pipe_clksrc--->| GCC |--->pipe_clk---+ 2900 snprintf(name, sizeof(name), "%s::pipe_clk", dev_nam in phy_pipe_clk_register() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.h | 167 * @pipe_clk: A pointer to the crtc's pipeline clock. 174 struct exynos_drm_clk *pipe_clk; member 181 if (crtc->pipe_clk) in exynos_drm_pipe_clk_enable() 182 crtc->pipe_clk->enable(crtc->pipe_clk, enable); in exynos_drm_pipe_clk_enable()
|
H A D | exynos_drm_fimd.c | 1085 ctx->crtc->pipe_clk = &ctx->dp_clk; in fimd_bind()
|
H A D | exynos_hdmi.c | 1854 crtc->pipe_clk = &hdata->phy_clk; in hdmi_bind()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.h | 167 * @pipe_clk: A pointer to the crtc's pipeline clock. 174 struct exynos_drm_clk *pipe_clk; member 181 if (crtc->pipe_clk) in exynos_drm_pipe_clk_enable() 182 crtc->pipe_clk->enable(crtc->pipe_clk, enable); in exynos_drm_pipe_clk_enable()
|
H A D | exynos_drm_fimd.c | 1135 ctx->crtc->pipe_clk = &ctx->dp_clk; in fimd_bind()
|
H A D | exynos_hdmi.c | 1866 crtc->pipe_clk = &hdata->phy_clk; in hdmi_bind()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pcie-histb.c | 55 struct clk *pipe_clk; member 221 clk_disable_unprepare(hipcie->pipe_clk); in histb_pcie_host_disable() 263 ret = clk_prepare_enable(hipcie->pipe_clk); in histb_pcie_host_enable() 287 clk_disable_unprepare(hipcie->pipe_clk); in histb_pcie_host_enable() 367 hipcie->pipe_clk = devm_clk_get(dev, "pipe"); in histb_pcie_probe() 368 if (IS_ERR(hipcie->pipe_clk)) { in histb_pcie_probe() 370 return PTR_ERR(hipcie->pipe_clk); in histb_pcie_probe()
|
H A D | pcie-qcom.c | 126 struct clk *pipe_clk; member 161 struct clk *pipe_clk; member 581 res->pipe_clk = devm_clk_get(dev, "pipe"); in qcom_pcie_get_resources_2_3_2() 582 return PTR_ERR_OR_ZERO(res->pipe_clk); in qcom_pcie_get_resources_2_3_2() 601 clk_disable_unprepare(res->pipe_clk); in qcom_pcie_post_deinit_2_3_2() 685 ret = clk_prepare_enable(res->pipe_clk); in qcom_pcie_post_init_2_3_2() 1157 res->pipe_clk = devm_clk_get(dev, "pipe"); in qcom_pcie_get_resources_2_7_0() 1158 return PTR_ERR_OR_ZERO(res->pipe_clk); in qcom_pcie_get_resources_2_7_0() 1238 return clk_prepare_enable(res->pipe_clk); in qcom_pcie_post_init_2_7_0() 1245 clk_disable_unprepare(res->pipe_clk); in qcom_pcie_post_deinit_2_7_0() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-histb.c | 55 struct clk *pipe_clk; member 211 clk_disable_unprepare(hipcie->pipe_clk); in histb_pcie_host_disable() 253 ret = clk_prepare_enable(hipcie->pipe_clk); in histb_pcie_host_enable() 277 clk_disable_unprepare(hipcie->pipe_clk); in histb_pcie_host_enable() 357 hipcie->pipe_clk = devm_clk_get(dev, "pipe"); in histb_pcie_probe() 358 if (IS_ERR(hipcie->pipe_clk)) { in histb_pcie_probe() 360 return PTR_ERR(hipcie->pipe_clk); in histb_pcie_probe()
|