Home
last modified time | relevance | path

Searched refs:nr_clks (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/microchip/
Dclk-pic32mzda.c158 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()
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk.c11 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()
Dclk.h137 unsigned int nr_clks; member
253 int nr_clks);
/kernel/linux/linux-5.10/drivers/clk/hisilicon/
Dclk.c27 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()
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk.c58 void __iomem *base, unsigned long nr_clks) in samsung_clk_init() argument
63 ctx = kzalloc(struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL); in samsung_clk_init()
67 for (i = 0; i < nr_clks; ++i) in samsung_clk_init()
71 ctx->clk_data.num = nr_clks; in samsung_clk_init()
Dclk.h318 unsigned long nr_clks);
/kernel/linux/linux-5.10/drivers/clk/socfpga/
Dclk-agilex.c404 int nr_clks) in __socfpga_agilex_clk_init() argument
424 clk_table = devm_kcalloc(dev, nr_clks, sizeof(*clk_table), GFP_KERNEL); in __socfpga_agilex_clk_init()
429 clk_data->clk_data.clk_num = nr_clks; in __socfpga_agilex_clk_init()
Dclk-s10.c387 int nr_clks) in __socfpga_s10_clk_init() argument
408 clk_table = devm_kcalloc(dev, nr_clks, sizeof(*clk_table), GFP_KERNEL); in __socfpga_s10_clk_init()
413 clk_data->clk_data.clk_num = nr_clks; in __socfpga_s10_clk_init()
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk.c365 unsigned long nr_clks) in rockchip_clk_init() argument
375 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in rockchip_clk_init()
379 for (i = 0; i < nr_clks; ++i) in rockchip_clk_init()
384 ctx->clk_data.clk_num = nr_clks; in rockchip_clk_init()
Dclk.h832 void __iomem *base, unsigned long nr_clks);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch3312 unsigned long nr_clks)
8928 + dp->nr_clks = ret;
9086 + clk_bulk_disable_unprepare(dp->nr_clks, dp->clks);
9096 + return clk_bulk_prepare_enable(dp->nr_clks, dp->clks);
9167 + int nr_clks;