Lines Matching refs:clock2
4071 unsigned int clock1, clock2; in drm_match_cea_mode_clock_tolerance() local
4077 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode_clock_tolerance()
4080 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
4112 unsigned int clock1, clock2; in drm_match_cea_mode() local
4118 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode()
4121 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
4178 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
4182 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode_clock_tolerance()
4185 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
4216 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
4220 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode()
4223 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
4255 unsigned int clock1, clock2; in add_alternate_cea_modes() local
4259 clock2 = cea_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
4264 clock2 = hdmi_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
4273 if (clock1 == clock2) in add_alternate_cea_modes()
4276 if (mode->clock != clock1 && mode->clock != clock2) in add_alternate_cea_modes()
4293 newmode->clock = clock2; in add_alternate_cea_modes()
5136 int clock1, clock2, clock; in fixup_detailed_cea_mode_clock() local
5149 clock2 = cea_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
5156 clock2 = hdmi_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
5163 if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) in fixup_detailed_cea_mode_clock()
5166 clock = clock2; in fixup_detailed_cea_mode_clock()