Home
last modified time | relevance | path

Searched refs:bus_clks (Results 1 – 5 of 5) sorted by relevance

/drivers/interconnect/qcom/
Dicc-rpm.c77 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in qcom_icc_set()
80 qp->bus_clks[i].id, ret); in qcom_icc_set()
123 qp->bus_clks = devm_kmemdup(dev, cd, cd_size, in qnoc_probe()
125 if (!qp->bus_clks) in qnoc_probe()
129 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in qnoc_probe()
133 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in qnoc_probe()
148 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
177 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
189 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_remove()
Dsdm660.c197 struct clk_bulk_data *bus_clks; member
772 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in qcom_icc_set()
775 qp->bus_clks[i].id, ret); in qcom_icc_set()
819 qp->bus_clks = devm_kmemdup(dev, bus_mm_clocks, in qnoc_probe()
823 qp->bus_clks = devm_kmemdup(dev, bus_a2noc_clocks, in qnoc_probe()
830 qp->bus_clks = devm_kmemdup(dev, bus_clocks, sizeof(bus_clocks), in qnoc_probe()
834 if (!qp->bus_clks) in qnoc_probe()
853 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in qnoc_probe()
857 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in qnoc_probe()
872 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
[all …]
Dmsm8974.c194 struct clk_bulk_data *bus_clks; member
627 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in msm8974_icc_set()
630 qp->bus_clks[i].id, ret); in msm8974_icc_set()
680 qp->bus_clks = devm_kmemdup(dev, msm8974_icc_bus_clocks, in msm8974_icc_probe()
682 if (!qp->bus_clks) in msm8974_icc_probe()
686 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in msm8974_icc_probe()
690 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in msm8974_icc_probe()
741 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in msm8974_icc_probe()
751 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in msm8974_icc_remove()
Dicc-rpm.h25 struct clk_bulk_data *bus_clks; member
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c109 struct clk *bus_clks[DSI_BUS_CLK_MAX]; member
378 msm_host->bus_clks[i] = msm_clk_get(pdev, in dsi_clk_init()
380 if (IS_ERR(msm_host->bus_clks[i])) { in dsi_clk_init()
381 ret = PTR_ERR(msm_host->bus_clks[i]); in dsi_clk_init()
444 ret = clk_prepare_enable(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
455 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
468 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_disable()