| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 | 137 unsigned int nr_clks; member 253 int nr_clks);
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/clk/samsung/ |
| H A D | clk.c | 58 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()
|
| H A D | clk.h | 318 unsigned long nr_clks);
|
| /OK3568_Linux_fs/kernel/drivers/clk/socfpga/ |
| H A D | clk-s10.c | 387 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()
|
| H A D | clk-agilex.c | 404 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()
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk.c | 393 unsigned long nr_clks) in rockchip_clk_init() argument 403 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in rockchip_clk_init() 407 for (i = 0; i < nr_clks; ++i) in rockchip_clk_init() 412 ctx->clk_data.clk_num = nr_clks; in rockchip_clk_init()
|
| H A D | clk.h | 1257 void __iomem *base, unsigned long nr_clks);
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-samsung-hdptx.c | 327 int nr_clks; member 1049 ret = clk_bulk_prepare_enable(hdptx->nr_clks, hdptx->clks); in rockchip_hdptx_phy_power_on() 1098 clk_bulk_disable_unprepare(hdptx->nr_clks, hdptx->clks); in rockchip_hdptx_phy_power_off() 1168 hdptx->nr_clks = ret; in rockchip_hdptx_phy_probe()
|
| H A D | phy-rockchip-samsung-hdptx-hdmi.c | 714 int nr_clks; member 2044 clk_bulk_unprepare(hdptx->nr_clks, hdptx->clks); in rockchip_hdptx_phy_runtime_disable() 2103 ret = clk_bulk_enable(hdptx->nr_clks, hdptx->clks); in hdptx_phy_clk_enable() 2138 clk_bulk_disable(hdptx->nr_clks, hdptx->clks); in hdptx_phy_clk_disable() 2236 hdptx->nr_clks = ret; in rockchip_hdptx_phy_probe() 2238 ret = clk_bulk_prepare(hdptx->nr_clks, hdptx->clks); in rockchip_hdptx_phy_probe() 2343 clk_bulk_unprepare(hdptx->nr_clks, hdptx->clks); in rockchip_hdptx_phy_probe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/analogix/ |
| H A D | analogix_dp_core.h | 177 int nr_clks; member
|
| H A D | analogix_dp_core.c | 2303 dp->nr_clks = ret; in analogix_dp_probe() 2447 clk_bulk_disable_unprepare(dp->nr_clks, dp->clks); in analogix_dp_runtime_suspend() 2455 return clk_bulk_prepare_enable(dp->nr_clks, dp->clks); in analogix_dp_runtime_resume()
|