Lines Matching defs:cea_mode
2250 cea_mode_alternate_clock(const struct drm_display_mode *cea_mode)
2252 unsigned int clock = cea_mode->clock;
2254 if (cea_mode->vrefresh % 6 != 0)
2262 if (cea_mode->vdisplay == 240 || cea_mode->vdisplay == 480)
2285 const struct drm_display_mode *cea_mode = (struct drm_display_mode *)&edid_cea_modes[mode];
2289 clock1 = cea_mode->clock;
2290 clock2 = cea_mode_alternate_clock(cea_mode);
2294 drm_mode_equal_no_clocks(to_match, cea_mode))
2320 const struct drm_display_mode *cea_mode;
2328 cea_mode = &edid_cea_modes[cea_mode_idx];
2330 clock1 = cea_mode->clock;
2331 clock2 = cea_mode_alternate_clock(cea_mode);
2339 newmode = drm_mode_duplicate(dev, cea_mode);
2368 u8 * mode, cea_mode;
2372 cea_mode = (*mode & 127) - 1; /* CEA modes are numbered 1..127 */
2373 if (cea_mode < ARRAY_SIZE(edid_cea_modes)) {
2376 &edid_cea_modes[cea_mode]);