Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/
Dclk-axm5516.c41 struct axxia_clk aclk; member
44 #define to_axxia_pllclk(_aclk) container_of(_aclk, struct axxia_pllclk, aclk)
53 struct axxia_clk *aclk = to_axxia_clk(hw); in axxia_pllclk_recalc() local
54 struct axxia_pllclk *pll = to_axxia_pllclk(aclk); in axxia_pllclk_recalc()
58 regmap_read(aclk->regmap, pll->reg, &control); in axxia_pllclk_recalc()
79 struct axxia_clk aclk; member
84 #define to_axxia_divclk(_aclk) container_of(_aclk, struct axxia_divclk, aclk)
92 struct axxia_clk *aclk = to_axxia_clk(hw); in axxia_divclk_recalc_rate() local
93 struct axxia_divclk *divclk = to_axxia_divclk(aclk); in axxia_divclk_recalc_rate()
96 regmap_read(aclk->regmap, divclk->reg, &ctrl); in axxia_divclk_recalc_rate()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dz0194a.h18 u8 aclk = 0; in sharp_z0194a_set_symbol_rate() local
22 aclk = 0xb7; bclk = 0x47; } in sharp_z0194a_set_symbol_rate()
24 aclk = 0xb7; bclk = 0x4b; } in sharp_z0194a_set_symbol_rate()
26 aclk = 0xb7; bclk = 0x4f; } in sharp_z0194a_set_symbol_rate()
28 aclk = 0xb7; bclk = 0x53; } in sharp_z0194a_set_symbol_rate()
30 aclk = 0xb6; bclk = 0x53; } in sharp_z0194a_set_symbol_rate()
32 aclk = 0xb4; bclk = 0x51; } in sharp_z0194a_set_symbol_rate()
34 stv0299_writereg(fe, 0x13, aclk); in sharp_z0194a_set_symbol_rate()
Dbsbe1.h50 u8 aclk = 0; in alps_bsbe1_set_symbol_rate() local
53 if (srate < 1500000) { aclk = 0xb7; bclk = 0x47; } in alps_bsbe1_set_symbol_rate()
54 else if (srate < 3000000) { aclk = 0xb7; bclk = 0x4b; } in alps_bsbe1_set_symbol_rate()
55 else if (srate < 7000000) { aclk = 0xb7; bclk = 0x4f; } in alps_bsbe1_set_symbol_rate()
56 else if (srate < 14000000) { aclk = 0xb7; bclk = 0x53; } in alps_bsbe1_set_symbol_rate()
57 else if (srate < 30000000) { aclk = 0xb6; bclk = 0x53; } in alps_bsbe1_set_symbol_rate()
58 else if (srate < 45000000) { aclk = 0xb4; bclk = 0x51; } in alps_bsbe1_set_symbol_rate()
60 stv0299_writereg(fe, 0x13, aclk); in alps_bsbe1_set_symbol_rate()
Dbsru6.h69 u8 aclk = 0; in alps_bsru6_set_symbol_rate() local
73 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
76 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
79 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
82 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
85 aclk = 0xb6; in alps_bsru6_set_symbol_rate()
88 aclk = 0xb4; in alps_bsru6_set_symbol_rate()
92 stv0299_writereg(fe, 0x13, aclk); in alps_bsru6_set_symbol_rate()
/linux-4.19.296/drivers/iio/adc/
Dstm32-dfsdm-core.c90 struct clk *aclk; /* audio clock */ member
112 if (priv->aclk) { in stm32_dfsdm_start_dfsdm()
113 ret = clk_prepare_enable(priv->aclk); in stm32_dfsdm_start_dfsdm()
121 clk_src = priv->aclk ? 1 : 0; in stm32_dfsdm_start_dfsdm()
149 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_start_dfsdm()
187 if (priv->aclk) in stm32_dfsdm_stop_dfsdm()
188 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_stop_dfsdm()
233 priv->aclk = devm_clk_get(&pdev->dev, "audio"); in stm32_dfsdm_parse_of()
234 if (IS_ERR(priv->aclk)) in stm32_dfsdm_parse_of()
235 priv->aclk = NULL; in stm32_dfsdm_parse_of()
[all …]
Dstm32-adc-core.c69 struct clk *aclk; member
97 if (!priv->aclk) { in stm32f4_adc_clk_sel()
102 rate = clk_get_rate(priv->aclk); in stm32f4_adc_clk_sel()
179 if (priv->aclk) { in stm32h7_adc_clk_sel()
184 rate = clk_get_rate(priv->aclk); in stm32h7_adc_clk_sel()
437 priv->aclk = devm_clk_get(&pdev->dev, "adc"); in stm32_adc_probe()
438 if (IS_ERR(priv->aclk)) { in stm32_adc_probe()
439 ret = PTR_ERR(priv->aclk); in stm32_adc_probe()
441 priv->aclk = NULL; in stm32_adc_probe()
448 if (priv->aclk) { in stm32_adc_probe()
[all …]
/linux-4.19.296/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c201 u8 aclk = 0; in samsung_tbmu24112_set_symbol_rate() local
205 aclk = 0xb7; bclk = 0x47; in samsung_tbmu24112_set_symbol_rate()
207 aclk = 0xb7; bclk = 0x4b; in samsung_tbmu24112_set_symbol_rate()
209 aclk = 0xb7; bclk = 0x4f; in samsung_tbmu24112_set_symbol_rate()
211 aclk = 0xb7; bclk = 0x53; in samsung_tbmu24112_set_symbol_rate()
213 aclk = 0xb6; bclk = 0x53; in samsung_tbmu24112_set_symbol_rate()
215 aclk = 0xb4; bclk = 0x51; in samsung_tbmu24112_set_symbol_rate()
218 stv0299_writereg(fe, 0x13, aclk); in samsung_tbmu24112_set_symbol_rate()
/linux-4.19.296/drivers/clk/samsung/
Dclk-exynos5420.c1454 #define E5420_KFC_DIV(kpll, pclk, aclk) \ argument
1455 ((((kpll) << 24) | ((pclk) << 20) | ((aclk) << 4)))
Dclk-exynos5433.c3629 #define E5433_APOLLO_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ argument
3631 ((pclk) << 12) | ((aclk) << 8))
3878 #define E5433_ATLAS_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ argument
3880 ((pclk) << 12) | ((aclk) << 8))