Lines Matching refs:cea_mode
3331 cea_mode_alternate_clock(const struct drm_display_mode *cea_mode) in cea_mode_alternate_clock() argument
3333 unsigned int clock = cea_mode->clock; in cea_mode_alternate_clock()
3335 if (drm_mode_vrefresh(cea_mode) % 6 != 0) in cea_mode_alternate_clock()
3343 if (cea_mode->vdisplay == 240 || cea_mode->vdisplay == 480) in cea_mode_alternate_clock()
3399 struct drm_display_mode cea_mode = *cea_mode_for_vic(vic); in drm_match_cea_mode_clock_tolerance() local
3403 clock1 = cea_mode.clock; in drm_match_cea_mode_clock_tolerance()
3404 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode_clock_tolerance()
3411 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
3413 } while (cea_mode_alternate_timings(vic, &cea_mode)); in drm_match_cea_mode_clock_tolerance()
3438 struct drm_display_mode cea_mode = *cea_mode_for_vic(vic); in drm_match_cea_mode() local
3442 clock1 = cea_mode.clock; in drm_match_cea_mode()
3443 clock2 = cea_mode_alternate_clock(&cea_mode); in drm_match_cea_mode()
3450 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
3452 } while (cea_mode_alternate_timings(vic, &cea_mode)); in drm_match_cea_mode()
3577 const struct drm_display_mode *cea_mode = NULL; in add_alternate_cea_modes() local
3583 cea_mode = cea_mode_for_vic(vic); in add_alternate_cea_modes()
3584 clock2 = cea_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
3588 cea_mode = &edid_4k_modes[vic]; in add_alternate_cea_modes()
3589 clock2 = hdmi_mode_alternate_clock(cea_mode); in add_alternate_cea_modes()
3593 if (!cea_mode) in add_alternate_cea_modes()
3596 clock1 = cea_mode->clock; in add_alternate_cea_modes()
3604 newmode = drm_mode_duplicate(dev, cea_mode); in add_alternate_cea_modes()
3735 const struct drm_display_mode *cea_mode; in drm_display_mode_from_cea_vic() local
3738 cea_mode = cea_mode_for_vic(video_code); in drm_display_mode_from_cea_vic()
3739 if (!cea_mode) in drm_display_mode_from_cea_vic()
3742 newmode = drm_mode_duplicate(dev, cea_mode); in drm_display_mode_from_cea_vic()
4287 const struct drm_display_mode *cea_mode; in fixup_detailed_cea_mode_clock() local
4299 cea_mode = cea_mode_for_vic(vic); in fixup_detailed_cea_mode_clock()
4300 clock1 = cea_mode->clock; in fixup_detailed_cea_mode_clock()
4301 clock2 = cea_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()
4306 cea_mode = &edid_4k_modes[vic]; in fixup_detailed_cea_mode_clock()
4307 clock1 = cea_mode->clock; in fixup_detailed_cea_mode_clock()
4308 clock2 = hdmi_mode_alternate_clock(cea_mode); in fixup_detailed_cea_mode_clock()