/drivers/clk/samsung/ |
D | clk-exynos-audss.c | 30 static struct clk **clk_table; variable 91 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown() 92 clk_unregister_mux(clk_table[i]); in exynos_audss_clk_teardown() 96 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown() 97 clk_unregister_divider(clk_table[i]); in exynos_audss_clk_teardown() 101 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown() 102 clk_unregister_gate(clk_table[i]); in exynos_audss_clk_teardown() 132 clk_table = devm_kzalloc(&pdev->dev, in exynos_audss_clk_probe() 135 if (!clk_table) in exynos_audss_clk_probe() 138 clk_data.clks = clk_table; in exynos_audss_clk_probe() [all …]
|
D | clk-s5pv210-audss.c | 27 static struct clk **clk_table; variable 83 clk_table = devm_kzalloc(&pdev->dev, in s5pv210_audss_clk_probe() 86 if (!clk_table) in s5pv210_audss_clk_probe() 89 clk_data.clks = clk_table; in s5pv210_audss_clk_probe() 119 clk_table[CLK_MOUT_AUDSS] = clk_register_mux(NULL, "mout_audss", in s5pv210_audss_clk_probe() 130 clk_table[CLK_MOUT_I2S_A] = clk_register_mux(NULL, "mout_i2s_audss", in s5pv210_audss_clk_probe() 135 clk_table[CLK_DOUT_AUD_BUS] = clk_register_divider(NULL, in s5pv210_audss_clk_probe() 138 clk_table[CLK_DOUT_I2S_A] = clk_register_divider(NULL, "dout_i2s_audss", in s5pv210_audss_clk_probe() 142 clk_table[CLK_I2S] = clk_register_gate(NULL, "i2s_audss", in s5pv210_audss_clk_probe() 148 clk_table[CLK_HCLK_I2S] = clk_register_gate(NULL, "hclk_i2s_audss", in s5pv210_audss_clk_probe() [all …]
|
D | clk-s3c2410-dclk.c | 244 struct clk **clk_table; in s3c24xx_dclk_probe() local 257 clk_table = devm_kzalloc(&pdev->dev, in s3c24xx_dclk_probe() 260 if (!clk_table) in s3c24xx_dclk_probe() 263 s3c24xx_dclk->clk_data.clks = clk_table; in s3c24xx_dclk_probe() 275 clk_table[MUX_DCLK0] = clk_register_mux(&pdev->dev, "mux_dclk0", in s3c24xx_dclk_probe() 280 clk_table[MUX_DCLK1] = clk_register_mux(&pdev->dev, "mux_dclk1", in s3c24xx_dclk_probe() 286 clk_table[DIV_DCLK0] = clk_register_divider(&pdev->dev, "div_dclk0", in s3c24xx_dclk_probe() 289 clk_table[DIV_DCLK1] = clk_register_divider(&pdev->dev, "div_dclk1", in s3c24xx_dclk_probe() 293 clk_table[GATE_DCLK0] = clk_register_gate(&pdev->dev, "gate_dclk0", in s3c24xx_dclk_probe() 297 clk_table[GATE_DCLK1] = clk_register_gate(&pdev->dev, "gate_dclk1", in s3c24xx_dclk_probe() [all …]
|
D | clk-exynos-clkout.c | 33 struct clk *clk_table[EXYNOS_CLKOUT_NR_CLKS]; member 103 clkout->clk_table[0] = clk_register_composite(NULL, "clkout", in exynos_clkout_init() 108 if (IS_ERR(clkout->clk_table[0])) in exynos_clkout_init() 111 clkout->data.clks = clkout->clk_table; in exynos_clkout_init() 122 clk_unregister(clkout->clk_table[0]); in exynos_clkout_init()
|
D | clk.c | 63 struct clk **clk_table; in samsung_clk_init() local 70 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in samsung_clk_init() 71 if (!clk_table) in samsung_clk_init() 75 clk_table[i] = ERR_PTR(-ENOENT); in samsung_clk_init() 78 ctx->clk_data.clks = clk_table; in samsung_clk_init()
|
/drivers/clk/ |
D | clk-rk808.c | 94 struct clk **clk_table; in rk808_clkout_probe() local 104 clk_table = devm_kcalloc(&client->dev, RK808_NR_OUTPUT, in rk808_clkout_probe() 106 if (!clk_table) in rk808_clkout_probe() 120 clk_table[0] = devm_clk_register(&client->dev, in rk808_clkout_probe() 122 if (IS_ERR(clk_table[0])) in rk808_clkout_probe() 123 return PTR_ERR(clk_table[0]); in rk808_clkout_probe() 133 clk_table[1] = devm_clk_register(&client->dev, in rk808_clkout_probe() 135 if (IS_ERR(clk_table[1])) in rk808_clkout_probe() 136 return PTR_ERR(clk_table[1]); in rk808_clkout_probe() 138 rk808_clkout->clk_data.clks = clk_table; in rk808_clkout_probe()
|
D | clk-s2mps11.c | 33 static struct clk **clk_table; variable 192 clk_table = devm_kcalloc(&pdev->dev, S2MPS11_CLKS_NUM, in s2mps11_clk_probe() 194 if (!clk_table) in s2mps11_clk_probe() 253 clk_table[i] = s2mps11_clks[i].clk; in s2mps11_clk_probe() 256 clk_data.clks = clk_table; in s2mps11_clk_probe()
|
/drivers/clk/mmp/ |
D | clk.c | 12 static struct clk **clk_table; in mmp_clk_init() local 14 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in mmp_clk_init() 15 if (!clk_table) in mmp_clk_init() 18 unit->clk_table = clk_table; in mmp_clk_init() 20 unit->clk_data.clks = clk_table; in mmp_clk_init() 43 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks() 65 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks() 91 unit->clk_table[clks[i].id] = clk; in mmp_register_general_gate_clks() 119 unit->clk_table[clks[i].id] = clk; in mmp_register_gate_clks() 147 unit->clk_table[clks[i].id] = clk; in mmp_register_mux_clks() [all …]
|
D | clk.h | 138 struct clk **clk_table; member
|
/drivers/clk/rockchip/ |
D | clk.c | 163 static struct clk **clk_table; variable 176 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in rockchip_clk_init() 177 if (!clk_table) in rockchip_clk_init() 180 clk_data.clks = clk_table; in rockchip_clk_init() 194 if (clk_table && id) in rockchip_clk_add_lookup() 195 clk_table[id] = clk; in rockchip_clk_add_lookup()
|
/drivers/clk/hisilicon/ |
D | clk.c | 44 struct clk **clk_table; in hisi_clk_init() local 60 clk_table = kzalloc(sizeof(struct clk *) * nr_clks, GFP_KERNEL); in hisi_clk_init() 61 if (!clk_table) { in hisi_clk_init() 65 clk_data->clk_data.clks = clk_table; in hisi_clk_init()
|