Lines Matching refs:cea_mode
2248 cea_mode_alternate_clock(const struct drm_display_mode *cea_mode)
2250 unsigned int clock = cea_mode->clock;
2252 if (cea_mode->vrefresh % 6 != 0)
2260 if (cea_mode->vdisplay == 240 || cea_mode->vdisplay == 480)
2283 const struct drm_display_mode *cea_mode = (struct drm_display_mode *)&edid_cea_modes[mode];
2287 clock1 = cea_mode->clock;
2288 clock2 = cea_mode_alternate_clock(cea_mode);
2292 drm_mode_equal_no_clocks(to_match, cea_mode))
2318 const struct drm_display_mode *cea_mode;
2326 cea_mode = &edid_cea_modes[cea_mode_idx];
2328 clock1 = cea_mode->clock;
2329 clock2 = cea_mode_alternate_clock(cea_mode);
2337 newmode = drm_mode_duplicate(dev, cea_mode);
2366 u8 * mode, cea_mode;
2370 cea_mode = (*mode & 127) - 1; /* CEA modes are numbered 1..127 */
2371 if (cea_mode < ARRAY_SIZE(edid_cea_modes)) {
2374 &edid_cea_modes[cea_mode]);