Home
last modified time | relevance | path

Searched refs:pll_state (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_ddi.c1275 static int skl_calc_wrpll_link(const struct intel_dpll_hw_state *pll_state) in skl_calc_wrpll_link() argument
1279 p0 = pll_state->cfgcr2 & DPLL_CFGCR2_PDIV_MASK; in skl_calc_wrpll_link()
1280 p2 = pll_state->cfgcr2 & DPLL_CFGCR2_KDIV_MASK; in skl_calc_wrpll_link()
1282 if (pll_state->cfgcr2 & DPLL_CFGCR2_QDIV_MODE(1)) in skl_calc_wrpll_link()
1283 p1 = (pll_state->cfgcr2 & DPLL_CFGCR2_QDIV_RATIO_MASK) >> 8; in skl_calc_wrpll_link()
1318 dco_freq = (pll_state->cfgcr1 & DPLL_CFGCR1_DCO_INTEGER_MASK) in skl_calc_wrpll_link()
1321 dco_freq += (((pll_state->cfgcr1 & DPLL_CFGCR1_DCO_FRACTION_MASK) >> 9) in skl_calc_wrpll_link()
1331 struct intel_dpll_hw_state *pll_state) in cnl_calc_wrpll_link() argument
1335 p0 = pll_state->cfgcr1 & DPLL_CFGCR1_PDIV_MASK; in cnl_calc_wrpll_link()
1336 p2 = pll_state->cfgcr1 & DPLL_CFGCR1_KDIV_MASK; in cnl_calc_wrpll_link()
[all …]
Dintel_dpll_mgr.c249 const struct intel_dpll_hw_state *pll_state, in intel_find_shared_dpll() argument
270 if (memcmp(pll_state, in intel_find_shared_dpll()
272 sizeof(*pll_state)) == 0) { in intel_find_shared_dpll()
297 const struct intel_dpll_hw_state *pll_state) in intel_reference_shared_dpll() argument
305 shared_dpll[id].hw_state = *pll_state; in intel_reference_shared_dpll()
2572 struct intel_dpll_hw_state *pll_state) in icl_calc_dpll_state() argument
2604 memset(pll_state, 0, sizeof(*pll_state)); in icl_calc_dpll_state()
2606 pll_state->cfgcr0 = cfgcr0; in icl_calc_dpll_state()
2607 pll_state->cfgcr1 = cfgcr1; in icl_calc_dpll_state()
2698 struct intel_dpll_hw_state *pll_state) in icl_calc_mg_pll_state() argument
[all …]
/Linux-v5.4/drivers/clk/
Dclk-stm32f4.c671 int pll_state; in stm32f4_pll_set_rate() local
673 pll_state = stm32f4_pll_is_enabled(hw); in stm32f4_pll_set_rate()
675 if (pll_state) in stm32f4_pll_set_rate()
684 if (pll_state) in stm32f4_pll_set_rate()
721 int pll_state, ret; in stm32f4_pll_div_set_rate() local
726 pll_state = stm32f4_pll_is_enabled(pll_div->hw_pll); in stm32f4_pll_div_set_rate()
728 if (pll_state) in stm32f4_pll_div_set_rate()
733 if (pll_state) in stm32f4_pll_div_set_rate()
/Linux-v5.4/sound/soc/codecs/
Dwm8580.c228 struct pll_state { struct
248 struct pll_state a; argument
249 struct pll_state b;
466 struct pll_state *state; in wm8580_set_dai_pll()