Home
last modified time | relevance | path

Searched refs:frac_quot (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_cx0_phy.c1874 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_dump_hw_state() local
1882 frac_quot = hw_state->pll[12] << 8 | hw_state->pll[11]; in intel_c10pll_dump_hw_state()
1886 frac_quot, frac_rem, frac_den); in intel_c10pll_dump_hw_state()
2339 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_calc_port_clock() local
2344 frac_quot = pll_state->pll[12] << 8 | pll_state->pll[11]; in intel_c10pll_calc_port_clock()
2355 tmpclk = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + in intel_c10pll_calc_port_clock()
2366 unsigned int frac, frac_en, frac_quot, frac_rem, frac_den; in intel_c20pll_calc_port_clock() local
2378 frac_quot = pll_state->mpllb[8]; in intel_c20pll_calc_port_clock()
2388 frac_quot = pll_state->mplla[8]; in intel_c20pll_calc_port_clock()
2398 frac = frac_quot + DIV_ROUND_CLOSEST(frac_rem, frac_den); in intel_c20pll_calc_port_clock()
H A Dintel_snps_phy.c1922 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_mpllb_calc_port_clock() local
1936 frac_quot = REG_FIELD_GET(SNPS_PHY_MPLLB_FRACN_QUOT, pll_state->mpllb_fracn2); in intel_mpllb_calc_port_clock()
1945 return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + in intel_mpllb_calc_port_clock()