Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/interconnect/qcom/
Dqcs404.c114 struct clk_bulk_data *bus_clks; member
396 ret = clk_set_rate(qp->bus_clks[i].clk, rate); in qcom_icc_set()
399 qp->bus_clks[i].id, ret); in qcom_icc_set()
441 qp->bus_clks = devm_kmemdup(dev, bus_clocks, sizeof(bus_clocks), in qnoc_probe()
443 if (!qp->bus_clks) in qnoc_probe()
447 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in qnoc_probe()
451 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in qnoc_probe()
466 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
501 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe()
517 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_remove()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c105 struct clk *bus_clks[DSI_BUS_CLK_MAX]; member
387 msm_host->bus_clks[i] = msm_clk_get(pdev, in dsi_clk_init()
389 if (IS_ERR(msm_host->bus_clks[i])) { in dsi_clk_init()
390 ret = PTR_ERR(msm_host->bus_clks[i]); in dsi_clk_init()
453 ret = clk_prepare_enable(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
464 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_enable()
477 clk_disable_unprepare(msm_host->bus_clks[i]); in dsi_bus_clk_disable()