Searched refs:nr_clks (Results 1 – 9 of 9) sorted by relevance
/linux/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/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/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/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/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 for (i = 0; i < nr_clks; ++i) in samsung_clk_init() 82 ctx->clk_data.num = nr_clks; in samsung_clk_init()
|
H A D | clk.h | 371 void __iomem *base, unsigned long nr_clks);
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-samsung-hdptx.c | 274 int nr_clks; member 1039 clk_bulk_disable_unprepare(hdptx->nr_clks, hdptx->clks); in rk_hdptx_phy_runtime_suspend() 1049 ret = clk_bulk_prepare_enable(hdptx->nr_clks, hdptx->clks); in rk_hdptx_phy_runtime_resume() 1081 hdptx->nr_clks = ret; in rk_hdptx_phy_probe()
|