| /linux-6.15/drivers/clk/microchip/ |
| H A D | clk-pic32mzda.c | 158 int nr_clks, i, ret; in pic32mzda_clk_probe() local 212 for (nr_clks = PB1CLK, i = 0; nr_clks <= PB7CLK; i++, nr_clks++) in pic32mzda_clk_probe() 213 clks[nr_clks] = pic32_periph_clk_register(&periph_clocks[i], in pic32mzda_clk_probe() 216 for (nr_clks = REF1CLK, i = 0; nr_clks <= REF5CLK; i++, nr_clks++) in pic32mzda_clk_probe() 217 clks[nr_clks] = pic32_refo_clk_register(&ref_clks[i], core); in pic32mzda_clk_probe()
|
| /linux-6.15/drivers/clk/mmp/ |
| H A D | clk.c | 11 int nr_clks) in mmp_clk_init() argument 15 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in mmp_clk_init() 20 unit->nr_clks = nr_clks; in mmp_clk_init() 22 unit->clk_data.clk_num = nr_clks; in mmp_clk_init() 186 if (id >= unit->nr_clks) { in mmp_clk_add()
|
| H A D | clk.h | 133 unsigned int nr_clks; member 249 int nr_clks);
|
| /linux-6.15/drivers/clk/hisilicon/ |
| H A D | clk.c | 27 int nr_clks) in hisi_clk_alloc() argument 45 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc() 52 clk_data->clk_data.clk_num = nr_clks; in hisi_clk_alloc() 59 int nr_clks) in hisi_clk_init() argument 76 clk_table = kcalloc(nr_clks, sizeof(*clk_table), GFP_KERNEL); in hisi_clk_init() 81 clk_data->clk_data.clk_num = nr_clks; in hisi_clk_init()
|
| /linux-6.15/drivers/clk/visconti/ |
| H A D | clkc.c | 189 unsigned long nr_clks) in visconti_init_clk() argument 194 ctx = devm_kzalloc(dev, struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL); in visconti_init_clk() 198 for (i = 0; i < nr_clks; ++i) in visconti_init_clk() 200 ctx->clk_data.num = nr_clks; in visconti_init_clk()
|
| H A D | clkc.h | 70 unsigned long nr_clks);
|
| /linux-6.15/drivers/clk/rockchip/ |
| H A D | clk.c | 359 unsigned long nr_clks, bool has_late_clocks) in rockchip_clk_init_base() argument 372 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in rockchip_clk_init_base() 376 for (i = 0; i < nr_clks; ++i) in rockchip_clk_init_base() 381 ctx->clk_data.clk_num = nr_clks; in rockchip_clk_init_base() 397 unsigned long nr_clks) in rockchip_clk_init() argument 399 return rockchip_clk_init_base(np, base, nr_clks, false); in rockchip_clk_init() 405 unsigned long nr_clks) in rockchip_clk_init_early() argument 407 return rockchip_clk_init_base(np, base, nr_clks, true); in rockchip_clk_init_early()
|
| H A D | clk-rk3528.c | 1070 unsigned long nr_clks; in clk_rk3528_probe() local 1073 nr_clks = rockchip_clk_find_max_clk_id(rk3528_clk_branches, in clk_rk3528_probe() 1081 ctx = rockchip_clk_init(np, reg_base, nr_clks); in clk_rk3528_probe()
|
| H A D | clk.h | 1120 void __iomem *base, unsigned long nr_clks); 1122 void __iomem *base, unsigned long nr_clks);
|
| /linux-6.15/drivers/clk/samsung/ |
| H A D | clk.c | 68 void __iomem *base, unsigned long nr_clks) in samsung_clk_init() argument 73 ctx = kzalloc(struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL); in samsung_clk_init() 77 ctx->clk_data.num = nr_clks; in samsung_clk_init() 78 for (i = 0; i < nr_clks; ++i) in samsung_clk_init()
|
| H A D | clk.h | 372 void __iomem *base, unsigned long nr_clks);
|
| /linux-6.15/drivers/phy/rockchip/ |
| H A D | phy-rockchip-samsung-hdptx.c | 432 int nr_clks; member 1909 clk_bulk_disable_unprepare(hdptx->nr_clks, hdptx->clks); in rk_hdptx_phy_runtime_suspend() 1919 ret = clk_bulk_prepare_enable(hdptx->nr_clks, hdptx->clks); in rk_hdptx_phy_runtime_resume() 1968 hdptx->nr_clks = ret; in rk_hdptx_phy_probe()
|