Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_cx0_phy.c2114 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_dump_hw_state() local
2123 frac_rem = hw_state->pll[14] << 8 | hw_state->pll[13]; 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
2318 frac_rem = pll_state->mpllb[9]; in intel_c20pll_calc_port_clock()
2328 frac_rem = pll_state->mplla[9]; 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
2659 frac_rem = pll_state->pll[14] << 8 | pll_state->pll[13]; in intel_c10pll_calc_port_clock()
2670 DIV_ROUND_CLOSEST(refclk * frac_rem, frac_den), in intel_c10pll_calc_port_clock()
Dintel_snps_phy.c1924 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_mpllb_calc_port_clock() local
1939 frac_rem = REG_FIELD_GET(SNPS_PHY_MPLLB_FRACN_REM, pll_state->mpllb_fracn2); in intel_mpllb_calc_port_clock()
1948 DIV_ROUND_CLOSEST(refclk * frac_rem, frac_den), in intel_mpllb_calc_port_clock()