• Home
  • Raw
  • Download

Lines Matching refs:clock2

3430 		unsigned int clock1, clock2;  in drm_match_cea_mode_clock_tolerance()  local
3434 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode_clock_tolerance()
3437 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
3469 unsigned int clock1, clock2; in drm_match_cea_mode() local
3473 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode()
3476 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
3533 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
3537 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode_clock_tolerance()
3540 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
3571 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
3575 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode()
3578 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
3610 unsigned int clock1, clock2; in add_alternate_cea_modes() local
3614 clock2 = cea_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
3619 clock2 = hdmi_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
3628 if (clock1 == clock2) in add_alternate_cea_modes()
3631 if (mode->clock != clock1 && mode->clock != clock2) in add_alternate_cea_modes()
3648 newmode->clock = clock2; in add_alternate_cea_modes()
4318 int clock1, clock2, clock; in fixup_detailed_cea_mode_clock() local
4331 clock2 = cea_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
4338 clock2 = hdmi_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
4345 if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) in fixup_detailed_cea_mode_clock()
4348 clock = clock2; in fixup_detailed_cea_mode_clock()