Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
H A Dintel_cx0_phy.c2114 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_dump_hw_state() local
2122 frac_quot = hw_state->pll[12] << 8 | hw_state->pll[11]; in intel_c10pll_dump_hw_state()
2126 frac_quot, frac_rem, frac_den); in intel_c10pll_dump_hw_state()
2305 unsigned int frac, frac_en, frac_quot, frac_rem, frac_den; in intel_c20pll_calc_port_clock() local
2317 frac_quot = pll_state->mpllb[8]; in intel_c20pll_calc_port_clock()
2327 frac_quot = pll_state->mplla[8]; in intel_c20pll_calc_port_clock()
2337 frac = frac_quot + DIV_ROUND_CLOSEST(frac_rem, frac_den); in intel_c20pll_calc_port_clock()
2653 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_calc_port_clock() local
2658 frac_quot = pll_state->pll[12] << 8 | pll_state->pll[11]; in intel_c10pll_calc_port_clock()
2669 tmpclk = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + in intel_c10pll_calc_port_clock()
H A Dintel_snps_phy.c1924 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_mpllb_calc_port_clock() local
1938 frac_quot = REG_FIELD_GET(SNPS_PHY_MPLLB_FRACN_QUOT, pll_state->mpllb_fracn2); in intel_mpllb_calc_port_clock()
1947 return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + in intel_mpllb_calc_port_clock()