Home
last modified time | relevance | path

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

/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 …]
/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.h53 u8 aclk = 0; in alps_bsbe1_set_symbol_rate() local
56 if (srate < 1500000) { aclk = 0xb7; bclk = 0x47; } in alps_bsbe1_set_symbol_rate()
57 else if (srate < 3000000) { aclk = 0xb7; bclk = 0x4b; } in alps_bsbe1_set_symbol_rate()
58 else if (srate < 7000000) { aclk = 0xb7; bclk = 0x4f; } in alps_bsbe1_set_symbol_rate()
59 else if (srate < 14000000) { aclk = 0xb7; bclk = 0x53; } in alps_bsbe1_set_symbol_rate()
60 else if (srate < 30000000) { aclk = 0xb6; bclk = 0x53; } in alps_bsbe1_set_symbol_rate()
61 else if (srate < 45000000) { aclk = 0xb4; bclk = 0x51; } in alps_bsbe1_set_symbol_rate()
63 stv0299_writereg(fe, 0x13, aclk); in alps_bsbe1_set_symbol_rate()
Dbsru6.h72 u8 aclk = 0; in alps_bsru6_set_symbol_rate() local
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 = 0xb7; in alps_bsru6_set_symbol_rate()
88 aclk = 0xb6; in alps_bsru6_set_symbol_rate()
91 aclk = 0xb4; in alps_bsru6_set_symbol_rate()
95 stv0299_writereg(fe, 0x13, aclk); in alps_bsru6_set_symbol_rate()
/drivers/media/pci/mantis/
Dmantis_vp1033.c121 u8 aclk = 0; in lgtdqcs001f_set_symbol_rate() local
125 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
128 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
131 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
134 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
137 aclk = 0xb6; in lgtdqcs001f_set_symbol_rate()
140 aclk = 0xb4; in lgtdqcs001f_set_symbol_rate()
143 stv0299_writereg(fe, 0x13, aclk); in lgtdqcs001f_set_symbol_rate()
/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()
/drivers/crypto/rockchip/
Drk3288_crypto.c33 err = clk_prepare_enable(dev->aclk); in rk_crypto_enable_clk()
55 clk_disable_unprepare(dev->aclk); in rk_crypto_enable_clk()
66 clk_disable_unprepare(dev->aclk); in rk_crypto_disable_clk()
320 crypto_info->aclk = devm_clk_get(&pdev->dev, "aclk"); in rk_crypto_probe()
321 if (IS_ERR(crypto_info->aclk)) { in rk_crypto_probe()
322 err = PTR_ERR(crypto_info->aclk); in rk_crypto_probe()
Drk3288_crypto.h185 struct clk *aclk; member
/drivers/gpu/drm/arm/
Dmalidp_drv.c296 hwdev->aclk = devm_clk_get(dev, "aclk"); in malidp_bind()
297 if (IS_ERR(hwdev->aclk)) in malidp_bind()
298 return PTR_ERR(hwdev->aclk); in malidp_bind()
325 clk_prepare_enable(hwdev->aclk); in malidp_bind()
420 clk_disable_unprepare(hwdev->aclk); in malidp_bind()
452 clk_disable_unprepare(hwdev->aclk); in malidp_unbind()
Dmalidp_hw.h100 struct clk *aclk; member
/drivers/iommu/
Dexynos-iommu.c237 struct clk *aclk; /* SYSMMU's aclk clock */ member
334 BUG_ON(clk_prepare_enable(data->aclk)); in __sysmmu_enable_clocks()
339 clk_disable_unprepare(data->aclk); in __sysmmu_disable_clocks()
631 data->aclk = devm_clk_get(dev, "aclk"); in exynos_sysmmu_probe()
632 if (PTR_ERR(data->aclk) == -ENOENT) in exynos_sysmmu_probe()
633 data->aclk = NULL; in exynos_sysmmu_probe()
634 else if (IS_ERR(data->aclk)) in exynos_sysmmu_probe()
635 return PTR_ERR(data->aclk); in exynos_sysmmu_probe()
643 if (!data->clk && (!data->aclk || !data->pclk)) { in exynos_sysmmu_probe()
/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c51 struct clk *aclk; member
724 ctx->aclk = devm_clk_get(dev, "aclk_decon0"); in decon_probe()
725 if (IS_ERR(ctx->aclk)) { in decon_probe()
727 ret = PTR_ERR(ctx->aclk); in decon_probe()
808 clk_disable_unprepare(ctx->aclk); in exynos7_decon_suspend()
825 ret = clk_prepare_enable(ctx->aclk); in exynos7_decon_resume()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c141 struct clk *aclk; member
517 ret = clk_enable(vop->aclk); in vop_enable()
552 clk_disable(vop->aclk); in vop_enable()
617 clk_disable(vop->aclk); in vop_crtc_disable()
1340 vop->aclk = devm_clk_get(vop->dev, "aclk_vop"); in vop_initial()
1341 if (IS_ERR(vop->aclk)) { in vop_initial()
1343 return PTR_ERR(vop->aclk); in vop_initial()
1370 ret = clk_prepare_enable(vop->aclk); in vop_initial()
1419 clk_disable(vop->aclk); in vop_initial()
1428 clk_disable_unprepare(vop->aclk); in vop_initial()
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c1252 u8 aclk = 0; in alps_stv0299_set_symbol_rate() local
1256 aclk = 0xb7; in alps_stv0299_set_symbol_rate()
1259 aclk = 0xb7; in alps_stv0299_set_symbol_rate()
1262 aclk = 0xb7; in alps_stv0299_set_symbol_rate()
1265 aclk = 0xb7; in alps_stv0299_set_symbol_rate()
1268 aclk = 0xb6; in alps_stv0299_set_symbol_rate()
1271 aclk = 0xb4; in alps_stv0299_set_symbol_rate()
1275 stv0299_writereg(fe, 0x13, aclk); in alps_stv0299_set_symbol_rate()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dhwmgr_ppt.h60 uint32_t aclk; /* ACP clock */ member
Dprocess_pptables_v1_0.c741 mm_table_record->aclk = mm_dependency_record->ulAClk; in get_mm_clock_voltage_table()
/drivers/media/pci/cx88/
Dcx88-dvb.c959 u8 aclk = 0; in samsung_smt_7020_stv0299_set_symbol_rate() local
963 aclk = 0xb7; in samsung_smt_7020_stv0299_set_symbol_rate()
966 aclk = 0xb7; in samsung_smt_7020_stv0299_set_symbol_rate()
969 aclk = 0xb7; in samsung_smt_7020_stv0299_set_symbol_rate()
972 aclk = 0xb7; in samsung_smt_7020_stv0299_set_symbol_rate()
975 aclk = 0xb6; in samsung_smt_7020_stv0299_set_symbol_rate()
978 aclk = 0xb4; in samsung_smt_7020_stv0299_set_symbol_rate()
982 stv0299_writereg(fe, 0x13, aclk); in samsung_smt_7020_stv0299_set_symbol_rate()
/drivers/media/pci/ttpci/
Dbudget-av.c477 u8 aclk = 0; in philips_su1278_ty_ci_set_symbol_rate() local
481 aclk = 0xb5; in philips_su1278_ty_ci_set_symbol_rate()
495 stv0299_writereg(fe, 0x13, aclk); in philips_su1278_ty_ci_set_symbol_rate()
850 u8 aclk = 0; in philips_sd1878_ci_set_symbol_rate() local
854 aclk = 0xb5; in philips_sd1878_ci_set_symbol_rate()
871 stv0299_writereg(fe, 0x13, aclk); in philips_sd1878_ci_set_symbol_rate()
/drivers/gpu/drm/amd/powerplay/inc/
Deventmgr.h95 uint32_t aclk; member
/drivers/clk/samsung/
Dclk-exynos5420.c1353 #define E5420_KFC_DIV(kpll, pclk, aclk) \ argument
1354 ((((kpll) << 24) | ((pclk) << 20) | ((aclk) << 4)))
Dclk-exynos5433.c3609 #define E5433_APOLLO_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ argument
3611 ((pclk) << 12) | ((aclk) << 8))
3858 #define E5433_ATLAS_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ argument
3860 ((pclk) << 12) | ((aclk) << 8))
/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smc.c1261 table->AcpLevel[count].Frequency = mm_table->entries[count].aclk; in fiji_populate_smc_acp_level()
Dtonga_smc.c1345 pptable_info->mm_dep_table->entries[count].aclk; in tonga_populate_smc_acp_level()