Home
last modified time | relevance | path

Searched refs:clk_regs (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Drv740_dpm.c195 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_mclk_value()
196 u32 mpll_ss1 = pi->clk_regs.rv770.mpll_ss1; in rv740_populate_mclk_value()
197 u32 mpll_ss2 = pi->clk_regs.rv770.mpll_ss2; in rv740_populate_mclk_value()
291 pi->clk_regs.rv770.cg_spll_func_cntl = in rv740_read_clock_registers()
293 pi->clk_regs.rv770.cg_spll_func_cntl_2 = in rv740_read_clock_registers()
295 pi->clk_regs.rv770.cg_spll_func_cntl_3 = in rv740_read_clock_registers()
302 pi->clk_regs.rv770.mpll_ad_func_cntl = in rv740_read_clock_registers()
304 pi->clk_regs.rv770.mpll_ad_func_cntl_2 = in rv740_read_clock_registers()
306 pi->clk_regs.rv770.mpll_dq_func_cntl = in rv740_read_clock_registers()
308 pi->clk_regs.rv770.mpll_dq_func_cntl_2 = in rv740_read_clock_registers()
[all …]
H A Drv730_dpm.c126 u32 mpll_ss = pi->clk_regs.rv730.mpll_ss; in rv730_populate_mclk_value()
199 pi->clk_regs.rv730.cg_spll_func_cntl = in rv730_read_clock_registers()
201 pi->clk_regs.rv730.cg_spll_func_cntl_2 = in rv730_read_clock_registers()
203 pi->clk_regs.rv730.cg_spll_func_cntl_3 = in rv730_read_clock_registers()
210 pi->clk_regs.rv730.mclk_pwrmgt_cntl = in rv730_read_clock_registers()
212 pi->clk_regs.rv730.dll_cntl = in rv730_read_clock_registers()
214 pi->clk_regs.rv730.mpll_func_cntl = in rv730_read_clock_registers()
216 pi->clk_regs.rv730.mpll_func_cntl2 = in rv730_read_clock_registers()
218 pi->clk_regs.rv730.mpll_func_cntl3 = in rv730_read_clock_registers()
220 pi->clk_regs.rv730.mpll_ss = in rv730_read_clock_registers()
[all …]
H A Drv770_dpm.c394 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_mclk_value()
396 pi->clk_regs.rv770.mpll_ad_func_cntl_2; in rv770_populate_mclk_value()
398 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_mclk_value()
400 pi->clk_regs.rv770.mpll_dq_func_cntl_2; in rv770_populate_mclk_value()
402 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv770_populate_mclk_value()
492 pi->clk_regs.rv770.cg_spll_func_cntl; in rv770_populate_sclk_value()
922 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_smc_acpi_state()
926 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_smc_acpi_state()
930 pi->clk_regs.rv770.cg_spll_func_cntl; in rv770_populate_smc_acpi_state()
1522 pi->clk_regs.rv770.cg_spll_func_cntl = in rv770_read_clock_registers()
[all …]
H A Dcypress_dpm.c480 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_mclk_value()
482 pi->clk_regs.rv770.mpll_ad_func_cntl_2; in cypress_populate_mclk_value()
484 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_mclk_value()
486 pi->clk_regs.rv770.mpll_dq_func_cntl_2; in cypress_populate_mclk_value()
488 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in cypress_populate_mclk_value()
490 pi->clk_regs.rv770.dll_cntl; in cypress_populate_mclk_value()
1339 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_smc_acpi_state()
1343 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_smc_acpi_state()
1347 pi->clk_regs.rv770.cg_spll_func_cntl; in cypress_populate_smc_acpi_state()
1353 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in cypress_populate_smc_acpi_state()
[all …]
H A Drv770_dpm.h96 union r7xx_clock_registers clk_regs; member
/openbmc/linux/drivers/clk/pxa/
H A Dclk-pxa27x.c56 static void __iomem *clk_regs; variable
105 unsigned long ccsr = readl(clk_regs + CCSR); in pxa27x_is_ppll_disabled()
207 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_cpll_get_rate()
252 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_lcd_base_get_rate()
253 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa27x_lcd_base_get_rate()
274 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_lcd_base_get_parent()
303 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_core_get_parent()
340 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_run_get_rate()
363 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_system_bus_get_rate()
380 unsigned long ccsr = readl(clk_regs + CCSR); in clk_pxa27x_system_bus_get_parent()
[all …]
H A Dclk-pxa3xx.c125 static void __iomem *clk_regs; variable
162 u32 accr = readl(clk_regs + ACCR); in pxa3xx_clk_update_accr()
167 writel(accr, clk_regs + ACCR); in pxa3xx_clk_update_accr()
171 while ((readl(clk_regs + ACSR) & mask) != (accr & mask)) in pxa3xx_clk_update_accr()
180 ac97_div = readl(clk_regs + AC97_DIV); in clk_pxa3xx_ac97_get_rate()
197 unsigned long acsr = readl(clk_regs + ACSR); in clk_pxa3xx_smemc_get_rate()
208 unsigned long acsr = readl(clk_regs + ACSR); in pxa3xx_is_ring_osc_forced()
288 unsigned long acsr = readl(clk_regs + ACSR); in clk_pxa3xx_system_bus_get_rate()
335 unsigned long acsr = readl(clk_regs + ACSR); in clk_pxa3xx_run_get_rate()
351 unsigned long acsr = readl(clk_regs + ACSR); in clk_pxa3xx_cpll_get_rate()
[all …]
H A Dclk-pxa25x.c44 static void __iomem *clk_regs; variable
103 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa25x_memory_get_rate()
207 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa25x_run_get_rate()
218 unsigned long clkcfg, cccr = readl(clk_regs + CCCR); in clk_pxa25x_cpll_get_rate()
250 pxa2xx_cpll_change(&pxa25x_freqs[i], mdrefr_dri, clk_regs + CCCR); in clk_pxa25x_cpll_set_rate()
329 clk_regs = regs; in pxa25x_clocks_init()
332 return clk_pxa_cken_init(pxa25x_clocks, ARRAY_SIZE(pxa25x_clocks), clk_regs); in pxa25x_clocks_init()
H A Dclk-pxa.c100 int nb_clks, void __iomem *clk_regs) in clk_pxa_cken_init() argument
114 pxa_clk->gate.reg = clk_regs + clks[i].cken_reg; in clk_pxa_cken_init()
H A Dclk-pxa.h152 int nb_clks, void __iomem *clk_regs);
/openbmc/linux/drivers/clk/tegra/
H A Dclk-tegra124-emc.c74 void __iomem *clk_regs; member
105 val = readl(tegra->clk_regs + CLK_SOURCE_EMC); in emc_recalc_rate()
170 val = readl(tegra->clk_regs + CLK_SOURCE_EMC); in emc_get_parent()
260 car_value = readl(tegra->clk_regs + CLK_SOURCE_EMC); in emc_set_timing()
268 writel(car_value, tegra->clk_regs + CLK_SOURCE_EMC); in emc_set_timing()
501 tegra->clk_regs = base; in tegra124_clk_register_emc()
/openbmc/linux/drivers/clk/samsung/
H A Dclk-exynos7.c198 .clk_regs = topc_clk_regs,
390 .clk_regs = top0_clk_regs,
572 .clk_regs = top1_clk_regs,
617 .clk_regs = ccore_clk_regs,
684 .clk_regs = peric0_clk_regs,
808 .clk_regs = peric1_clk_regs,
863 .clk_regs = peris_clk_regs,
973 .clk_regs = fsys0_clk_regs,
1104 .clk_regs = fsys1_clk_regs,
1217 .clk_regs = mscl_clk_regs,
[all …]
H A Dclk-exynos-arm64.c119 data->clk_save = samsung_clk_alloc_reg_dump(cmu->clk_regs, in exynos_arm64_cmu_prepare_pm()
180 exynos_arm64_init_clocks(np, cmu->clk_regs, cmu->nr_clk_regs); in exynos_arm64_register_cmu()
227 exynos_arm64_init_clocks(np, cmu->clk_regs, cmu->nr_clk_regs); in exynos_arm64_register_cmu_pm()
H A Dclk-exynos5260.c154 .clk_regs = aud_clk_regs,
344 .clk_regs = disp_clk_regs,
408 .clk_regs = egl_clk_regs,
508 .clk_regs = fsys_clk_regs,
599 .clk_regs = g2d_clk_regs,
662 .clk_regs = g3d_clk_regs,
795 .clk_regs = gscl_clk_regs,
914 .clk_regs = isp_clk_regs,
978 .clk_regs = kfc_clk_regs,
1034 .clk_regs = mfc_clk_regs,
[all …]
H A Dclk-exynos850.c502 .clk_regs = top_clk_regs,
642 .clk_regs = apm_clk_regs,
925 .clk_regs = aud_clk_regs,
1028 .clk_regs = cmgp_clk_regs,
1124 .clk_regs = g3d_clk_regs,
1226 .clk_regs = hsi_clk_regs,
1358 .clk_regs = is_clk_regs,
1467 .clk_regs = mfcmscl_clk_regs,
1643 .clk_regs = peri_clk_regs,
1750 .clk_regs = core_clk_regs,
[all …]
H A Dclk-exynosautov9.c956 .clk_regs = top_clk_regs,
1016 .clk_regs = busmc_clk_regs,
1074 .clk_regs = core_clk_regs,
1314 .clk_regs = fsys0_clk_regs,
1441 .clk_regs = fsys1_clk_regs,
1508 .clk_regs = fsys2_clk_regs,
1763 .clk_regs = peric0_clk_regs,
2018 .clk_regs = peric1_clk_regs,
2065 .clk_regs = peris_clk_regs,
H A Dclk-exynos7885.c343 .clk_regs = top_clk_regs,
562 .clk_regs = peri_clk_regs,
671 .clk_regs = core_clk_regs,
753 .clk_regs = fsys_clk_regs,
H A Dclk-exynos5433.c825 .clk_regs = top_clk_regs,
904 .clk_regs = cpif_clk_regs,
1558 .clk_regs = mif_clk_regs,
2363 .clk_regs = fsys_clk_regs,
2486 .clk_regs = g2d_clk_regs,
2914 .clk_regs = disp_clk_regs,
3084 .clk_regs = aud_clk_regs,
3233 .clk_regs = bus2_clk_regs,
3367 .clk_regs = g3d_clk_regs,
4247 .clk_regs = mfc_clk_regs,
[all …]
H A Dclk-fsd.c304 .clk_regs = cmu_clk_regs,
669 .clk_regs = peric_clk_regs,
968 .clk_regs = fsys0_clk_regs,
1140 .clk_regs = fsys1_clk_regs,
1417 .clk_regs = imem_clk_regs,
1542 .clk_regs = mfc_clk_regs,
1746 .clk_regs = cam_csi_clk_regs,
H A Dclk.c385 if (cmu->clk_regs) in samsung_cmu_register_one()
387 cmu->clk_regs, cmu->nr_clk_regs, in samsung_cmu_register_one()
H A Dclk.h331 const unsigned long *clk_regs; member
H A Dclk-exynos3250.c816 .clk_regs = exynos3250_cmu_clk_regs,
932 .clk_regs = exynos3250_cmu_dmc_clk_regs,
/openbmc/linux/drivers/thermal/tegra/
H A Dsoctherm.c334 void __iomem *clk_regs; member
1961 v = readl(ts->clk_regs + CAR_SUPER_CCLKG_DIVIDER); in tegra_soctherm_throttle()
1963 writel(v, ts->clk_regs + CAR_SUPER_CCLKG_DIVIDER); in tegra_soctherm_throttle()
2111 tegra->clk_regs = devm_platform_ioremap_resource_byname(pdev, "car-reg"); in tegra_soctherm_probe()
2112 if (IS_ERR(tegra->clk_regs)) { in tegra_soctherm_probe()
2114 return PTR_ERR(tegra->clk_regs); in tegra_soctherm_probe()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.h552 union r7xx_clock_registers clk_regs; member