Searched refs:bus_clks (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/interconnect/qcom/ |
D | icc-rpm.c | 384 if (!strcmp(qp->bus_clks[i].id, "bus_a")) in qcom_icc_set() 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() 445 qp = devm_kzalloc(dev, struct_size(qp, bus_clks, cd_num), GFP_KERNEL); in qnoc_probe() 460 qp->bus_clks[i].id = cds[i]; in qnoc_probe() 494 ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); in qnoc_probe() 498 ret = clk_bulk_prepare_enable(qp->num_clks, qp->bus_clks); in qnoc_probe() 520 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe() 553 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_probe() 565 clk_bulk_disable_unprepare(qp->num_clks, qp->bus_clks); in qnoc_remove()
|
D | msm8974.c | 194 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()
|
D | icc-rpm.h | 40 struct clk_bulk_data bus_clks[]; member
|
/linux-6.1.9/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 115 struct clk_bulk_data bus_clks[DSI_BUS_CLK_MAX]; member 314 msm_host->bus_clks[i].id = cfg->bus_clk_names[i]; in dsi_clk_init() 317 ret = devm_clk_bulk_get(&pdev->dev, msm_host->num_bus_clks, msm_host->bus_clks); in dsi_clk_init() 381 clk_bulk_disable_unprepare(msm_host->num_bus_clks, msm_host->bus_clks); in msm_dsi_runtime_suspend() 396 return clk_bulk_prepare_enable(msm_host->num_bus_clks, msm_host->bus_clks); in msm_dsi_runtime_resume()
|