Home
last modified time | relevance | path

Searched refs:clk_table (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/clk/samsung/
Dclk-s5pv210-audss.c73 struct clk_hw **clk_table; in s5pv210_audss_clk_probe() local
91 clk_table = clk_data->hws; in s5pv210_audss_clk_probe()
120 clk_table[CLK_MOUT_AUDSS] = clk_hw_register_mux(NULL, "mout_audss", in s5pv210_audss_clk_probe()
131 clk_table[CLK_MOUT_I2S_A] = clk_hw_register_mux(NULL, "mout_i2s_audss", in s5pv210_audss_clk_probe()
136 clk_table[CLK_DOUT_AUD_BUS] = clk_hw_register_divider(NULL, in s5pv210_audss_clk_probe()
139 clk_table[CLK_DOUT_I2S_A] = clk_hw_register_divider(NULL, in s5pv210_audss_clk_probe()
143 clk_table[CLK_I2S] = clk_hw_register_gate(NULL, "i2s_audss", in s5pv210_audss_clk_probe()
149 clk_table[CLK_HCLK_I2S] = clk_hw_register_gate(NULL, "hclk_i2s_audss", in s5pv210_audss_clk_probe()
152 clk_table[CLK_HCLK_UART] = clk_hw_register_gate(NULL, "hclk_uart_audss", in s5pv210_audss_clk_probe()
155 clk_table[CLK_HCLK_HWA] = clk_hw_register_gate(NULL, "hclk_hwa_audss", in s5pv210_audss_clk_probe()
[all …]
Dclk-s3c2410-dclk.c245 struct clk_hw **clk_table; in s3c24xx_dclk_probe() local
255 clk_table = s3c24xx_dclk->clk_data.hws; in s3c24xx_dclk_probe()
271 clk_table[MUX_DCLK0] = clk_hw_register_mux(&pdev->dev, "mux_dclk0", in s3c24xx_dclk_probe()
276 clk_table[MUX_DCLK1] = clk_hw_register_mux(&pdev->dev, "mux_dclk1", in s3c24xx_dclk_probe()
282 clk_table[DIV_DCLK0] = clk_hw_register_divider(&pdev->dev, "div_dclk0", in s3c24xx_dclk_probe()
285 clk_table[DIV_DCLK1] = clk_hw_register_divider(&pdev->dev, "div_dclk1", in s3c24xx_dclk_probe()
289 clk_table[GATE_DCLK0] = clk_hw_register_gate(&pdev->dev, "gate_dclk0", in s3c24xx_dclk_probe()
293 clk_table[GATE_DCLK1] = clk_hw_register_gate(&pdev->dev, "gate_dclk1", in s3c24xx_dclk_probe()
298 clk_table[MUX_CLKOUT0] = s3c24xx_register_clkout(&pdev->dev, in s3c24xx_dclk_probe()
301 clk_table[MUX_CLKOUT1] = s3c24xx_register_clkout(&pdev->dev, in s3c24xx_dclk_probe()
[all …]
Dclk-exynos-audss.c135 struct clk_hw **clk_table; in exynos_audss_clk_probe() local
159 clk_table = clk_data->hws; in exynos_audss_clk_probe()
190 clk_table[EXYNOS_MOUT_AUDSS] = clk_hw_register_mux(dev, "mout_audss", in exynos_audss_clk_probe()
201 clk_table[EXYNOS_MOUT_I2S] = clk_hw_register_mux(dev, "mout_i2s", in exynos_audss_clk_probe()
206 clk_table[EXYNOS_DOUT_SRP] = clk_hw_register_divider(dev, "dout_srp", in exynos_audss_clk_probe()
210 clk_table[EXYNOS_DOUT_AUD_BUS] = clk_hw_register_divider(dev, in exynos_audss_clk_probe()
214 clk_table[EXYNOS_DOUT_I2S] = clk_hw_register_divider(dev, "dout_i2s", in exynos_audss_clk_probe()
218 clk_table[EXYNOS_SRP_CLK] = clk_hw_register_gate(dev, "srp_clk", in exynos_audss_clk_probe()
222 clk_table[EXYNOS_I2S_BUS] = clk_hw_register_gate(dev, "i2s_bus", in exynos_audss_clk_probe()
226 clk_table[EXYNOS_SCLK_I2S] = clk_hw_register_gate(dev, "sclk_i2s", in exynos_audss_clk_probe()
[all …]
/linux-4.19.296/drivers/clk/mmp/
Dclk.c13 struct clk **clk_table; in mmp_clk_init() local
15 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in mmp_clk_init()
16 if (!clk_table) in mmp_clk_init()
19 unit->clk_table = clk_table; in mmp_clk_init()
21 unit->clk_data.clks = clk_table; in mmp_clk_init()
44 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks()
66 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks()
92 unit->clk_table[clks[i].id] = clk; in mmp_register_general_gate_clks()
120 unit->clk_table[clks[i].id] = clk; in mmp_register_gate_clks()
148 unit->clk_table[clks[i].id] = clk; in mmp_register_mux_clks()
[all …]
Dclk.h139 struct clk **clk_table; member
/linux-4.19.296/drivers/clk/hisilicon/
Dclk.c45 struct clk **clk_table; in hisi_clk_alloc() local
59 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc()
60 sizeof(*clk_table), in hisi_clk_alloc()
62 if (!clk_table) in hisi_clk_alloc()
65 clk_data->clk_data.clks = clk_table; in hisi_clk_alloc()
76 struct clk **clk_table; in hisi_clk_init() local
90 clk_table = kcalloc(nr_clks, sizeof(*clk_table), GFP_KERNEL); in hisi_clk_init()
91 if (!clk_table) in hisi_clk_init()
94 clk_data->clk_data.clks = clk_table; in hisi_clk_init()
/linux-4.19.296/drivers/clk/axis/
Dclk-artpec6.c23 struct clk *clk_table[ARTPEC6_CLK_NUMCLOCKS]; member
59 clks = clkdata->clk_table; in of_artpec6_clkctrl_setup()
110 clkdata->clk_data.clks = clkdata->clk_table; in of_artpec6_clkctrl_setup()
124 struct clk **clks = clkdata->clk_table; in artpec6_clkctrl_probe()
/linux-4.19.296/drivers/clk/socfpga/
Dclk-s10.c274 struct clk **clk_table; in __socfpga_s10_clk_init() local
290 clk_table = devm_kcalloc(dev, nr_clks, sizeof(*clk_table), GFP_KERNEL); in __socfpga_s10_clk_init()
291 if (!clk_table) in __socfpga_s10_clk_init()
294 clk_data->clk_data.clks = clk_table; in __socfpga_s10_clk_init()
/linux-4.19.296/drivers/clk/rockchip/
Dclk.c373 struct clk **clk_table; in rockchip_clk_init() local
380 clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); in rockchip_clk_init()
381 if (!clk_table) in rockchip_clk_init()
385 clk_table[i] = ERR_PTR(-ENOENT); in rockchip_clk_init()
388 ctx->clk_data.clks = clk_table; in rockchip_clk_init()