Lines Matching full:clock1

4063 		unsigned int clock1, clock2;  in drm_match_cea_mode_clock_tolerance()  local
4068 clock1 = cea_mode.clock; in drm_match_cea_mode_clock_tolerance()
4071 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
4104 unsigned int clock1, clock2; in drm_match_cea_mode() local
4109 clock1 = cea_mode.clock; in drm_match_cea_mode()
4112 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
4170 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
4173 clock1 = hdmi_mode->clock; in drm_match_hdmi_mode_clock_tolerance()
4176 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
4208 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
4211 clock1 = hdmi_mode->clock; in drm_match_hdmi_mode()
4214 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
4247 unsigned int clock1, clock2; in add_alternate_cea_modes() local
4263 clock1 = cea_mode->clock; 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()
4282 if (mode->clock != clock1) in add_alternate_cea_modes()
4283 newmode->clock = clock1; in add_alternate_cea_modes()
5128 int clock1, clock2, clock; in fixup_detailed_cea_mode_clock() local
5140 clock1 = cea_mode->clock; in fixup_detailed_cea_mode_clock()
5147 clock1 = cea_mode->clock; in fixup_detailed_cea_mode_clock()
5155 if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) in fixup_detailed_cea_mode_clock()
5156 clock = clock1; in fixup_detailed_cea_mode_clock()