Searched refs:frac_quot (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_cx0_phy.c | 2110 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_dump_hw_state() local 2118 frac_quot = hw_state->pll[12] << 8 | hw_state->pll[11]; in intel_c10pll_dump_hw_state() 2122 frac_quot, frac_rem, frac_den); in intel_c10pll_dump_hw_state() 2301 unsigned int frac, frac_en, frac_quot, frac_rem, frac_den; in intel_c20pll_calc_port_clock() local 2313 frac_quot = pll_state->mpllb[8]; in intel_c20pll_calc_port_clock() 2323 frac_quot = pll_state->mplla[8]; in intel_c20pll_calc_port_clock() 2333 frac = frac_quot + DIV_ROUND_CLOSEST(frac_rem, frac_den); in intel_c20pll_calc_port_clock() 2649 unsigned int frac_quot = 0, frac_rem = 0, frac_den = 1; in intel_c10pll_calc_port_clock() local 2654 frac_quot = pll_state->pll[12] << 8 | pll_state->pll[11]; in intel_c10pll_calc_port_clock() 2665 tmpclk = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(refclk, (multiplier << 16) + frac_quot) + in intel_c10pll_calc_port_clock()
|
| D | intel_snps_phy.c | 1924 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()
|