Home
last modified time | relevance | path

Searched refs:pll_base (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/arch/mips/ath79/
H A Dclock.c93 static void __init ar71xx_clocks_init(void __iomem *pll_base) in ar71xx_clocks_init() argument
105 pll = __raw_readl(pll_base + AR71XX_PLL_REG_CPU_CONFIG); in ar71xx_clocks_init()
124 static void __init ar724x_clocks_init(void __iomem *pll_base) in ar724x_clocks_init() argument
131 pll = __raw_readl(pll_base + AR724X_PLL_REG_CPU_CONFIG); in ar724x_clocks_init()
144 static void __init ar933x_clocks_init(void __iomem *pll_base) in ar933x_clocks_init() argument
165 clock_ctrl = __raw_readl(pll_base + AR933X_PLL_CLOCK_CTRL_REG); in ar933x_clocks_init()
178 cpu_config = __raw_readl(pll_base + AR933X_PLL_CPU_CONFIG_REG); in ar933x_clocks_init()
232 static void __init ar934x_clocks_init(void __iomem *pll_base) in ar934x_clocks_init() argument
265 pll = __raw_readl(pll_base + AR934X_PLL_CPU_CONFIG_REG); in ar934x_clocks_init()
292 pll = __raw_readl(pll_base + AR934X_PLL_DDR_CONFIG_REG); in ar934x_clocks_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/imx/
H A Dclk-imx5.c283 void __iomem *pll_base; in mx50_clocks_init() local
286 pll_base = ioremap(MX53_DPLL1_BASE, SZ_16K); in mx50_clocks_init()
287 WARN_ON(!pll_base); in mx50_clocks_init()
288 clk[IMX5_CLK_PLL1_SW] = imx_clk_pllv2("pll1_sw", "osc", pll_base); in mx50_clocks_init()
290 pll_base = ioremap(MX53_DPLL2_BASE, SZ_16K); in mx50_clocks_init()
291 WARN_ON(!pll_base); in mx50_clocks_init()
292 clk[IMX5_CLK_PLL2_SW] = imx_clk_pllv2("pll2_sw", "osc", pll_base); in mx50_clocks_init()
294 pll_base = ioremap(MX53_DPLL3_BASE, SZ_16K); in mx50_clocks_init()
295 WARN_ON(!pll_base); in mx50_clocks_init()
296 clk[IMX5_CLK_PLL3_SW] = imx_clk_pllv2("pll3_sw", "osc", pll_base); in mx50_clocks_init()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/
H A Dcpu.c61 unsigned int pll_base; in clk_get() local
69 pll_base = (unsigned int)davinci_pllc1_regs; in clk_get()
71 pll_base = (unsigned int)davinci_pllc0_regs; in clk_get()
79 pre_div = (readl(pll_base + PLLC_PREDIV) & in clk_get()
81 pllm = readl(pll_base + PLLC_PLLM) + 1; in clk_get()
89 post_div = (readl(pll_base + PLLC_POSTDIV) & in clk_get()
97 pll_out /= (readl(pll_base + sysdiv[id - 1]) & in clk_get()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Dvideo-pll.c134 void __iomem *pll_base, *clkctrl_base; in dss_video_pll_init() local
148 pll_base = devm_ioremap_resource(&pdev->dev, res); in dss_video_pll_init()
149 if (IS_ERR(pll_base)) { in dss_video_pll_init()
151 return ERR_CAST(pll_base); in dss_video_pll_init()
191 pll->base = pll_base; in dss_video_pll_init()
H A Ddsi.c294 void __iomem *pll_base; member
440 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg()
456 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg()
5226 pll->base = dsi->pll_base; in dsi_init_pll_data()
5351 dsi->pll_base = devm_ioremap(&dsidev->dev, res->start, in dsi_bind()
5353 if (!dsi->pll_base) { in dsi_bind()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/
H A Dvideo-pll.c142 void __iomem *pll_base, *clkctrl_base; in dss_video_pll_init() local
150 pll_base = devm_ioremap_resource(&pdev->dev, res); in dss_video_pll_init()
151 if (IS_ERR(pll_base)) in dss_video_pll_init()
152 return ERR_CAST(pll_base); in dss_video_pll_init()
183 pll->base = pll_base; in dss_video_pll_init()
H A Ddsi.c323 void __iomem *pll_base; member
443 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg()
457 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg()
5029 pll->base = dsi->pll_base; in dsi_init_pll_data()
5309 dsi->pll_base = devm_ioremap_resource(dev, res); in dsi_probe()
5310 if (IS_ERR(dsi->pll_base)) in dsi_probe()
5311 return PTR_ERR(dsi->pll_base); in dsi_probe()
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Dcpu.c180 if (readl(&pll->pll_base) & PLL_ENABLE_MASK) { in pllx_set_rate()
190 writel(reg, &pll->pll_base); in pllx_set_rate()
208 reg = readl(&pll->pll_base); in pllx_set_rate()
210 writel(reg, &pll->pll_base); in pllx_set_rate()
221 reg = readl(&pll->pll_base); in pllx_set_rate()
223 writel(reg, &pll->pll_base); in pllx_set_rate()
H A Dclock.c102 data = readl(&pll->pll_base); in clock_ll_read_pll()
154 writel(data, &pll->pll_base); in clock_start_pll()
157 writel(data, &simple_pll->pll_base); in clock_start_pll()
550 base = readl(&pll->pll_base); in clock_get_rate()
597 base_reg = readl(&pll->pll_base); in clock_set_rate()
616 if (base_reg != readl(&pll->pll_base)) in clock_set_rate()
624 writel(base_reg, &pll->pll_base); in clock_set_rate()
634 writel(base_reg, &pll->pll_base); in clock_set_rate()
638 writel(base_reg, &pll->pll_base); in clock_set_rate()
676 u32 reg = readl(&pll->pll_base); in clock_verify()
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-bm1880.c63 void __iomem *pll_base; member
530 void __iomem *pll_base = data->pll_base; in bm1880_clk_register_plls() local
536 hw = bm1880_clk_register_pll(bm1880_clk, pll_base); in bm1880_clk_register_plls()
877 void __iomem *pll_base, *sys_base; in bm1880_clk_probe() local
883 pll_base = devm_ioremap_resource(&pdev->dev, res); in bm1880_clk_probe()
884 if (IS_ERR(pll_base)) in bm1880_clk_probe()
885 return PTR_ERR(pll_base); in bm1880_clk_probe()
903 clk_data->pll_base = pll_base; in bm1880_clk_probe()
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot_avp.c189 writel(pllx_base.word, &clkrst->crc_pll_simple[SIMPLE_PLLX].pll_base); in wb_start()
192 writel(pllx_base.word, &clkrst->crc_pll_simple[SIMPLE_PLLX].pll_base); in wb_start()
194 writel(pllx_base.word, &clkrst->crc_pll_simple[SIMPLE_PLLX].pll_base); in wb_start()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/msm/
H A Dedp.txt9 * "pll_base"
33 "pll_base";
/OK3568_Linux_fs/kernel/drivers/clk/st/
H A Dclkgen-pll.c693 void __iomem *pll_base; in clkgen_c32_pll_setup() local
703 pll_base = clkgen_get_register_base(np); in clkgen_c32_pll_setup()
704 if (!pll_base) in clkgen_c32_pll_setup()
709 clk = clkgen_pll_register(parent_name, data, pll_base, pll_flags, in clkgen_c32_pll_setup()
740 clk = clkgen_odf_register(pll_name, pll_base, data, odf_flags, in clkgen_c32_pll_setup()
/OK3568_Linux_fs/kernel/arch/arm/mach-tegra/
H A Dsleep-tegra20.S46 .macro pll_enable, rd, r_car_base, pll_base argument
47 ldr \rd, [\r_car_base, #\pll_base]
50 streq \rd, [\r_car_base, #\pll_base]
H A Dsleep-tegra30.S90 .macro pll_enable, rd, r_car_base, pll_base, pll_misc
91 ldr \rd, [\r_car_base, #\pll_base]
94 streq \rd, [\r_car_base, #\pll_base]
107 .macro pll_locked, rd, r_car_base, pll_base argument
109 ldr \rd, [\r_car_base, #\pll_base]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/
H A Dclk_rst.h13 uint pll_base; /* the control register */ member
21 uint pll_base; /* the control register */ member
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra124/
H A Dcpu.c55 reg = readl(&clkrst->crc_pll_simple[SIMPLE_PLLX].pll_base); in enable_cpu_clocks()
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra114/
H A Dcpu.c62 reg = readl(&clkrst->crc_pll_simple[SIMPLE_PLLX].pll_base); in enable_cpu_clocks()