/linux-5.19.10/drivers/clk/imx/ |
D | clk-imxrt1050.c | 39 void __iomem *pll_base; in imxrt1050_clocks_probe() local 56 pll_base = of_iomap(anp, 0); in imxrt1050_clocks_probe() 58 if (WARN_ON(!pll_base)) in imxrt1050_clocks_probe() 65 pll_base + 0x0, 14, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); in imxrt1050_clocks_probe() 67 pll_base + 0x30, 14, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); in imxrt1050_clocks_probe() 69 pll_base + 0x10, 14, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); in imxrt1050_clocks_probe() 71 pll_base + 0xa0, 14, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); in imxrt1050_clocks_probe() 74 "pll1_arm_ref_sel", pll_base + 0x0, 0x7f); in imxrt1050_clocks_probe() 76 "pll2_sys_ref_sel", pll_base + 0x30, 0x1); in imxrt1050_clocks_probe() 78 "pll3_usb_otg_ref_sel", pll_base + 0x10, 0x1); in imxrt1050_clocks_probe() [all …]
|
D | clk-imx5.c | 283 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 …]
|
/linux-5.19.10/drivers/clk/visconti/ |
D | pll.c | 21 void __iomem *pll_base; member 61 val = readl(pll->pll_base + PLL_FRACMODE_REG); in visconti_pll_get_params() 66 rate_table->fracin = readl(pll->pll_base + PLL_FRACIN_REG) & PLL_FRACIN_MASK; in visconti_pll_get_params() 67 rate_table->intin = readl(pll->pll_base + PLL_INTIN_REG) & PLL_INTIN_MASK; in visconti_pll_get_params() 68 rate_table->refdiv = readl(pll->pll_base + PLL_REFDIV_REG) & PLL_REFDIV_MASK; in visconti_pll_get_params() 70 postdiv = readl(pll->pll_base + PLL_POSTDIV_REG); in visconti_pll_get_params() 134 writel(PLL_CREATE_FRACMODE(rate_table), pll->pll_base + PLL_FRACMODE_REG); in visconti_pll_set_params() 135 writel(PLL_CREATE_OSTDIV(rate_table), pll->pll_base + PLL_POSTDIV_REG); in visconti_pll_set_params() 136 writel(rate_table->intin, pll->pll_base + PLL_INTIN_REG); in visconti_pll_set_params() 137 writel(rate_table->fracin, pll->pll_base + PLL_FRACIN_REG); in visconti_pll_set_params() [all …]
|
/linux-5.19.10/arch/mips/ath79/ |
D | clock.c | 93 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 …]
|
/linux-5.19.10/drivers/gpu/drm/omapdrm/dss/ |
D | video-pll.c | 141 void __iomem *pll_base, *clkctrl_base; in dss_video_pll_init() local 148 pll_base = devm_platform_ioremap_resource_byname(pdev, reg_name[id]); in dss_video_pll_init() 149 if (IS_ERR(pll_base)) in dss_video_pll_init() 150 return ERR_CAST(pll_base); in dss_video_pll_init() 179 pll->base = pll_base; in dss_video_pll_init()
|
D | dsi.h | 343 void __iomem *pll_base; member
|
D | dsi.c | 94 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg() 108 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg() 4537 pll->base = dsi->pll_base; in dsi_init_pll_data() 4927 dsi->pll_base = devm_platform_ioremap_resource_byname(pdev, "pll"); in dsi_probe() 4928 if (IS_ERR(dsi->pll_base)) in dsi_probe() 4929 return PTR_ERR(dsi->pll_base); in dsi_probe()
|
/linux-5.19.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | video-pll.c | 133 void __iomem *pll_base, *clkctrl_base; in dss_video_pll_init() local 140 pll_base = devm_platform_ioremap_resource_byname(pdev, reg_name[id]); in dss_video_pll_init() 141 if (IS_ERR(pll_base)) { in dss_video_pll_init() 143 return ERR_CAST(pll_base); in dss_video_pll_init() 175 pll->base = pll_base; in dss_video_pll_init()
|
D | dsi.c | 294 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() 5218 pll->base = dsi->pll_base; in dsi_init_pll_data() 5343 dsi->pll_base = devm_ioremap(&dsidev->dev, res->start, in dsi_bind() 5345 if (!dsi->pll_base) { in dsi_bind()
|
/linux-5.19.10/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_28nm.c | 85 val = dsi_phy_read(pll_28nm->phy->pll_base + REG_DSI_28nm_PHY_PLL_STATUS); in pll_28nm_poll_for_ready() 100 void __iomem *base = pll_28nm->phy->pll_base; in pll_28nm_software_reset() 119 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_clk_set_rate() 243 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_clk_recalc_rate() 290 void __iomem *base = pll_28nm->phy->pll_base; in _dsi_pll_28nm_vco_prepare_hpm() 384 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_vco_prepare_lp() 438 dsi_phy_write(pll_28nm->phy->pll_base + REG_DSI_28nm_PHY_PLL_GLB_CFG, 0x00); in dsi_pll_28nm_vco_unprepare() 482 void __iomem *base = pll_28nm->phy->pll_base; in dsi_28nm_pll_save_state() 499 void __iomem *base = pll_28nm->phy->pll_base; in dsi_28nm_pll_restore_state() 552 pll_28nm->phy->pll_base + in pll_28nm_register() [all …]
|
D | dsi_phy_28nm_8960.c | 77 val = dsi_phy_read(pll_28nm->phy->pll_base + REG_DSI_28nm_8960_PHY_PLL_RDY); in pll_28nm_poll_for_ready() 97 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_clk_set_rate() 146 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_clk_recalc_rate() 180 void __iomem *base = pll_28nm->phy->pll_base; in dsi_pll_28nm_vco_prepare() 233 dsi_phy_write(pll_28nm->phy->pll_base + REG_DSI_28nm_8960_PHY_PLL_CTRL_0, 0x00); in dsi_pll_28nm_vco_unprepare() 347 void __iomem *base = pll_28nm->phy->pll_base; in dsi_28nm_pll_save_state() 363 void __iomem *base = pll_28nm->phy->pll_base; in dsi_28nm_pll_restore_state() 430 bytediv->reg = pll_28nm->phy->pll_base + REG_DSI_28nm_8960_PHY_PLL_CTRL_9; in pll_28nm_register() 450 parent_name, 0, pll_28nm->phy->pll_base + in pll_28nm_register()
|
D | dsi_phy_7nm.c | 173 void __iomem *base = pll->phy->pll_base; in dsi_pll_ssc_commit() 197 void __iomem *base = pll->phy->pll_base; in dsi_pll_config_hzindep_reg() 239 dsi_phy_write(pll->slave->phy->pll_base + REG_DSI_7nm_PHY_PLL_PERF_OPTIMIZE, 0x22); in dsi_pll_config_hzindep_reg() 245 void __iomem *base = pll->phy->pll_base; in dsi_pll_commit() 297 rc = readl_poll_timeout_atomic(pll->phy->pll_base + in dsi_pll_7nm_lock_status() 314 dsi_phy_write(pll->phy->pll_base + REG_DSI_7nm_PHY_PLL_SYSTEM_MUXES, 0); in dsi_pll_disable_pll_bias() 324 dsi_phy_write(pll->phy->pll_base + REG_DSI_7nm_PHY_PLL_SYSTEM_MUXES, 0xc0); in dsi_pll_enable_pll_bias() 435 void __iomem *base = pll_7nm->phy->pll_base; in dsi_pll_7nm_vco_recalc_rate() 502 cached->pll_out_div = dsi_phy_read(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state() 526 val = dsi_phy_read(pll_7nm->phy->pll_base + REG_DSI_7nm_PHY_PLL_PLL_OUTDIV_RATE); in dsi_7nm_pll_restore_state() [all …]
|
D | dsi_phy_10nm.c | 185 void __iomem *base = pll->phy->pll_base; in dsi_pll_ssc_commit() 209 void __iomem *base = pll->phy->pll_base; in dsi_pll_config_hzindep_reg() 235 void __iomem *base = pll->phy->pll_base; in dsi_pll_commit() 290 rc = readl_poll_timeout_atomic(pll->phy->pll_base + in dsi_pll_10nm_lock_status() 307 dsi_phy_write(pll->phy->pll_base + REG_DSI_10nm_PHY_PLL_SYSTEM_MUXES, 0); in dsi_pll_disable_pll_bias() 319 dsi_phy_write(pll->phy->pll_base + REG_DSI_10nm_PHY_PLL_SYSTEM_MUXES, 0xc0); in dsi_pll_enable_pll_bias() 421 void __iomem *base = pll_10nm->phy->pll_base; in dsi_pll_10nm_vco_recalc_rate() 488 cached->pll_out_div = dsi_phy_read(pll_10nm->phy->pll_base + in dsi_10nm_pll_save_state() 512 val = dsi_phy_read(pll_10nm->phy->pll_base + REG_DSI_10nm_PHY_PLL_PLL_OUTDIV_RATE); in dsi_10nm_pll_restore_state() 515 dsi_phy_write(pll_10nm->phy->pll_base + REG_DSI_10nm_PHY_PLL_PLL_OUTDIV_RATE, val); in dsi_10nm_pll_restore_state() [all …]
|
D | dsi_phy_14nm.c | 114 void __iomem *base = pll_14nm->phy->pll_base; in pll_14nm_poll_for_ready() 286 void __iomem *base = pll->phy->pll_base; in pll_db_commit_ssc() 321 void __iomem *base = pll->phy->pll_base; in pll_db_commit_common() 385 void __iomem *base = pll->phy->pll_base; in pll_db_commit_14nm() 494 void __iomem *base = pll_14nm->phy->pll_base; in dsi_pll_14nm_vco_recalc_rate() 533 void __iomem *base = pll_14nm->phy->pll_base; in dsi_pll_14nm_vco_prepare() 739 void __iomem *base = phy->pll_base; in dsi_14nm_set_usecase()
|
D | dsi_phy.h | 91 void __iomem *pll_base; member
|
D | dsi_phy.c | 719 phy->pll_base = msm_ioremap_size(pdev, "dsi_pll", &phy->pll_size); in dsi_phy_driver_probe() 720 if (IS_ERR(phy->pll_base)) { in dsi_phy_driver_probe() 935 phy->pll_size, phy->pll_base, in msm_dsi_phy_snapshot()
|
/linux-5.19.10/drivers/clk/ |
D | clk-bm1880.c | 63 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()
|
/linux-5.19.10/arch/arm/mach-tegra/ |
D | sleep-tegra20.S | 55 .macro store_pll_state, rd, tmp, r_car_base, pll_base, pll_mask 56 ldr \rd, [\r_car_base, #\pll_base] 65 .macro pll_enable, rd, r_car_base, pll_base, test_mask 69 ldr \rd, [\r_car_base, #\pll_base] 72 streq \rd, [\r_car_base, #\pll_base]
|
D | sleep-tegra30.S | 102 .macro store_pll_state, rd, tmp, r_car_base, pll_base, pll_mask 103 ldr \rd, [\r_car_base, #\pll_base] 130 .macro pll_enable, rd, r_car_base, pll_base, pll_misc, test_mask 134 ldr \rd, [\r_car_base, #\pll_base] 137 streq \rd, [\r_car_base, #\pll_base] 151 .macro pll_locked, rd, r_car_base, pll_base, test_mask 155 ldr \rd, [\r_car_base, #\pll_base]
|
/linux-5.19.10/drivers/clk/st/ |
D | clkgen-pll.c | 755 void __iomem *pll_base; in clkgen_c32_pll_setup() local 765 pll_base = clkgen_get_register_base(np); in clkgen_c32_pll_setup() 766 if (!pll_base) in clkgen_c32_pll_setup() 771 clk = clkgen_pll_register(parent_name, datac->data, pll_base, pll_flags, in clkgen_c32_pll_setup() 808 clk = clkgen_odf_register(pll_name, pll_base, datac->data, in clkgen_c32_pll_setup()
|