Home
last modified time | relevance | path

Searched refs:pll_read (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm_8960.c101 val = pll_read(pll_28nm->mmio + REG_DSI_28nm_8960_PHY_PLL_RDY); in pll_28nm_poll_for_ready()
134 val = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_2); in dsi_pll_28nm_clk_set_rate()
141 val = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_3); in dsi_pll_28nm_clk_set_rate()
151 val = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_8); in dsi_pll_28nm_clk_set_rate()
179 status = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_0); in dsi_pll_28nm_clk_recalc_rate()
182 fb_divider = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_1); in dsi_pll_28nm_clk_recalc_rate()
184 temp = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_2) & 0x07; in dsi_pll_28nm_clk_recalc_rate()
188 ref_divider = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_3); in dsi_pll_28nm_clk_recalc_rate()
232 div = pll_read(bytediv->reg) & 0xff; in clk_bytediv_recalc_rate()
278 val = pll_read(bytediv->reg); in clk_bytediv_set_rate()
[all …]
Ddsi_pll_28nm.c106 val = pll_read(pll_28nm->mmio + REG_DSI_28nm_PHY_PLL_STATUS); in pll_28nm_poll_for_ready()
192 sdm_cfg1 = pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG1); in dsi_pll_28nm_clk_set_rate()
274 doubler = pll_read(base + REG_DSI_28nm_PHY_PLL_REFCLK_CFG) & in dsi_pll_28nm_clk_recalc_rate()
279 sdm0 = pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG0); in dsi_pll_28nm_clk_recalc_rate()
283 pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG0), in dsi_pll_28nm_clk_recalc_rate()
289 pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG1), in dsi_pll_28nm_clk_recalc_rate()
292 sdm2 = FIELD(pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG2), in dsi_pll_28nm_clk_recalc_rate()
294 sdm3 = FIELD(pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG3), in dsi_pll_28nm_clk_recalc_rate()
454 pll_read(base + REG_DSI_28nm_PHY_PLL_POSTDIV3_CFG); in dsi_pll_28nm_save_state()
456 pll_read(base + REG_DSI_28nm_PHY_PLL_POSTDIV1_CFG); in dsi_pll_28nm_save_state()
[all …]
Ddsi_pll_10nm.c361 u32 data = pll_read(pll->phy_cmn_mmio + REG_DSI_10nm_PHY_CMN_CTRL_0); in dsi_pll_disable_pll_bias()
371 u32 data = pll_read(pll->phy_cmn_mmio + REG_DSI_10nm_PHY_CMN_CTRL_0); in dsi_pll_enable_pll_bias()
383 data = pll_read(pll->phy_cmn_mmio + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_pll_disable_global_clk()
392 data = pll_read(pll->phy_cmn_mmio + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_pll_enable_global_clk()
481 dec = pll_read(base + REG_DSI_10nm_PHY_PLL_DECIMAL_DIV_START_1); in dsi_pll_10nm_vco_recalc_rate()
484 frac = pll_read(base + REG_DSI_10nm_PHY_PLL_FRAC_DIV_START_LOW_1); in dsi_pll_10nm_vco_recalc_rate()
485 frac |= ((pll_read(base + REG_DSI_10nm_PHY_PLL_FRAC_DIV_START_MID_1) & in dsi_pll_10nm_vco_recalc_rate()
487 frac |= ((pll_read(base + REG_DSI_10nm_PHY_PLL_FRAC_DIV_START_HIGH_1) & in dsi_pll_10nm_vco_recalc_rate()
527 cached->pll_out_div = pll_read(pll_10nm->mmio + in dsi_pll_10nm_save_state()
531 cmn_clk_cfg0 = pll_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG0); in dsi_pll_10nm_save_state()
[all …]
Ddsi_pll_14nm.c193 val = pll_read(base + in pll_14nm_poll_for_ready()
206 val = pll_read(base + in pll_14nm_poll_for_ready()
643 dec_start = pll_read(base + REG_DSI_14nm_PHY_PLL_DEC_START); in dsi_pll_14nm_vco_recalc_rate()
648 div_frac_start = (pll_read(base + REG_DSI_14nm_PHY_PLL_DIV_FRAC_START3) in dsi_pll_14nm_vco_recalc_rate()
650 div_frac_start |= (pll_read(base + REG_DSI_14nm_PHY_PLL_DIV_FRAC_START2) in dsi_pll_14nm_vco_recalc_rate()
652 div_frac_start |= pll_read(base + REG_DSI_14nm_PHY_PLL_DIV_FRAC_START1) in dsi_pll_14nm_vco_recalc_rate()
697 val = pll_read(base + REG_DSI_14nm_PHY_CMN_CLK_CFG0) >> shift; in dsi_pll_14nm_postdiv_recalc_rate()
739 val = pll_read(base + REG_DSI_14nm_PHY_CMN_CLK_CFG0); in dsi_pll_14nm_postdiv_set_rate()
810 data = pll_read(cmn_base + REG_DSI_14nm_PHY_CMN_CLK_CFG0); in dsi_pll_14nm_save_state()
Ddsi_pll.h55 static inline u32 pll_read(const void __iomem *reg) in pll_read() function
/Linux-v4.19/arch/c6x/platforms/
Dpll.c204 static u32 pll_read(struct pll_data *pll, int reg) in pll_read() function
243 v = pll_read(pll, clk->div); in clk_sysclk_recalc()
279 ctrl = pll_read(pll, PLLCTL); in clk_pllclk_recalc()
288 mult = pll_read(pll, PLLM); in clk_pllclk_recalc()
292 prediv = pll_read(pll, PLLPRE); in clk_pllclk_recalc()
299 postdiv = pll_read(pll, PLLPOST); in clk_pllclk_recalc()
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_pll_8960.c251 static inline u32 pll_read(struct hdmi_pll_8960 *pll, u32 reg) in pll_read() function
307 val = pll_read(pll, REG_HDMI_8960_PHY_PLL_PWRDN_B); in hdmi_pll_enable()
316 val = pll_read(pll, REG_HDMI_8960_PHY_PLL_STATUS0); in hdmi_pll_enable()
358 val = pll_read(pll, REG_HDMI_8960_PHY_PLL_PWRDN_B); in hdmi_pll_disable()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Datom.h123 uint32_t (* pll_read)(struct card_info *, uint32_t); /* filled by driver */ member
Datom.c315 val = gctx->card->pll_read(gctx->card, idx); in atom_get_src_int()
Damdgpu_atombios.c2027 atom_card_info->pll_read = cail_pll_read; in amdgpu_atombios_init()
/Linux-v4.19/drivers/gpu/drm/radeon/
Datom.h122 uint32_t (* pll_read)(struct card_info *, uint32_t); /* filled by driver */ member
Dradeon_device.c989 atom_card_info->pll_read = cail_pll_read; in radeon_atombios_init()
Datom.c319 val = gctx->card->pll_read(gctx->card, idx); in atom_get_src_int()