Lines Matching full:clock2
4063 unsigned int clock1, clock2; in drm_match_cea_mode_clock_tolerance() local
4069 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode_clock_tolerance()
4072 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
4104 unsigned int clock1, clock2; in drm_match_cea_mode() local
4110 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode()
4113 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
4170 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
4174 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode_clock_tolerance()
4177 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
4208 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
4212 clock2 = hdmi_mode_alternate_clock(hdmi_mode); in drm_match_hdmi_mode()
4215 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
4247 unsigned int clock1, clock2; in add_alternate_cea_modes() local
4251 clock2 = cea_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
4256 clock2 = hdmi_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
4265 if (clock1 == clock2) in add_alternate_cea_modes()
4268 if (mode->clock != clock1 && mode->clock != clock2) in add_alternate_cea_modes()
4285 newmode->clock = clock2; in add_alternate_cea_modes()
5128 int clock1, clock2, clock; in fixup_detailed_cea_mode_clock() local
5141 clock2 = cea_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
5148 clock2 = hdmi_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
5155 if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) in fixup_detailed_cea_mode_clock()
5158 clock = clock2; in fixup_detailed_cea_mode_clock()