Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/interconnect/qcom/
Dqcs404.c114 struct clk_bulk_data *bus_clks; member
387 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in qcom_icc_set()
390 qp->bus_clks[i].id, ret); in qcom_icc_set()
432 qp->bus_clks = devm_kmemdup(dev, bus_clocks, sizeof(bus_clocks), in qnoc_probe()
434 if (!qp->bus_clks) in qnoc_probe()
438 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in qnoc_probe()
442 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in qnoc_probe()
457 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
489 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
500 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_remove()
Dmsm8916.c126 struct clk_bulk_data *bus_clks; member
420 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in msm8916_icc_set()
423 qp->bus_clks[i].id, ret); in msm8916_icc_set()
465 qp->bus_clks = devm_kmemdup(dev, msm8916_bus_clocks, in msm8916_qnoc_probe()
467 if (!qp->bus_clks) in msm8916_qnoc_probe()
471 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in msm8916_qnoc_probe()
475 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in msm8916_qnoc_probe()
490 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in msm8916_qnoc_probe()
521 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in msm8916_qnoc_probe()
531 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in msm8916_qnoc_remove()
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()
/Linux-v5.10/drivers/gpu/drm/msm/dsi/
Ddsi_host.c106 struct clk *bus_clks[DSI_BUS_CLK_MAX]; member
391 msm_host->bus_clks[i] = msm_clk_get(pdev, in dsi_clk_init()
393 if (IS_ERR(msm_host->bus_clks[i])) { in dsi_clk_init()
394 ret = PTR_ERR(msm_host->bus_clks[i]); in dsi_clk_init()
457 ret = clk_prepare_enable(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
468 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
481 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_disable()