Home
last modified time | relevance | path

Searched refs:rate_table (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/drivers/clk/rockchip/
Dclk-cpu.c65 struct rockchip_cpuclk_rate_table *rate_table; member
77 const struct rockchip_cpuclk_rate_table *rate_table = in rockchip_get_cpuclk_settings() local
78 cpuclk->rate_table; in rockchip_get_cpuclk_settings()
82 if (rate == rate_table[i].prate) in rockchip_get_cpuclk_settings()
83 return &rate_table[i]; in rockchip_get_cpuclk_settings()
321 cpuclk->rate_table = kmemdup(rates, in rockchip_clk_register_cpuclk()
324 if (!cpuclk->rate_table) { in rockchip_clk_register_cpuclk()
340 kfree(cpuclk->rate_table); in rockchip_clk_register_cpuclk()
Dclk-pll.c47 const struct rockchip_pll_rate_table *rate_table; member
61 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_get_pll_settings() local
65 if (rate == rate_table[i].rate) in rockchip_get_pll_settings()
66 return &rate_table[i]; in rockchip_get_pll_settings()
76 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_pll_round_rate() local
81 if (drate >= rate_table[i].rate) in rockchip_pll_round_rate()
82 return rate_table[i].rate; in rockchip_pll_round_rate()
86 return rate_table[i - 1].rate; in rockchip_pll_round_rate()
845 struct rockchip_pll_rate_table *rate_table, in rockchip_clk_register_pll() argument
914 if (rate_table) { in rockchip_clk_register_pll()
[all …]
Dclk.h286 struct rockchip_pll_rate_table *rate_table; member
305 .rate_table = _rtable, \
313 struct rockchip_pll_rate_table *rate_table,
Dclk-rk3188.c867 if (!pll->rate_table) in rk3188_clk_init()
870 rate = pll->rate_table; in rk3188_clk_init()
Dclk.c430 list->mode_shift, list->rate_table, in rockchip_clk_register_plls()
/linux-4.19.296/drivers/clk/samsung/
Dclk-pll.c32 const struct samsung_pll_rate_table *rate_table; member
40 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_get_pll_settings() local
44 if (rate == rate_table[i].rate) in samsung_get_pll_settings()
45 return &rate_table[i]; in samsung_get_pll_settings()
55 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_pll_round_rate() local
60 if (drate >= rate_table[i].rate) in samsung_pll_round_rate()
61 return rate_table[i].rate; in samsung_pll_round_rate()
65 return rate_table[i - 1].rate; in samsung_pll_round_rate()
1271 if (pll_clk->rate_table) { in _samsung_clk_register_pll()
1273 for (len = 0; pll_clk->rate_table[len].rate != 0; ) in _samsung_clk_register_pll()
[all …]
Dclk-s3c2410.c384 s3c2410_plls[mpll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init()
385 s3c2410_plls[upll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init()
398 s3c244x_common_plls[mpll].rate_table = in s3c2410_common_clk_init()
400 s3c244x_common_plls[upll].rate_table = in s3c2410_common_clk_init()
Dclk.h258 const struct samsung_pll_rate_table *rate_table; member
270 .rate_table = _rtable, \
Dclk-exynos4.c1454 exynos4210_plls[apll].rate_table = in exynos4_clk_init()
1456 exynos4210_plls[epll].rate_table = in exynos4_clk_init()
1461 exynos4210_plls[vpll].rate_table = in exynos4_clk_init()
1468 exynos4x12_plls[apll].rate_table = in exynos4_clk_init()
1470 exynos4x12_plls[epll].rate_table = in exynos4_clk_init()
1472 exynos4x12_plls[vpll].rate_table = in exynos4_clk_init()
Dclk-exynos5250.c840 exynos5250_plls[epll].rate_table = epll_24mhz_tbl; in exynos5250_clk_init()
841 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init()
845 exynos5250_plls[vpll].rate_table = vpll_24mhz_tbl; in exynos5250_clk_init()
Dclk-exynos5410.c274 exynos5410_plls[epll].rate_table = exynos5410_pll2550x_24mhz_tbl; in exynos5410_clk_init()
Dclk-exynos5420.c1502 exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
1503 exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; in exynos5x_clk_init()
1504 exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
1505 exynos5x_plls[bpll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
/linux-4.19.296/include/sound/
Dac97_codec.h394 unsigned char rate_table[4]; member