Lines Matching refs:modes
1074 } static const modes[] = { in mixer_mode_fixup() local
1090 for (i = 0; i < ARRAY_SIZE(modes); ++i) in mixer_mode_fixup()
1091 if (width <= modes[i].hdisplay && height <= modes[i].vdisplay) { in mixer_mode_fixup()
1092 ctx->scan_value = modes[i].scan_val; in mixer_mode_fixup()
1093 if (width < modes[i].hdisplay || in mixer_mode_fixup()
1094 height < modes[i].vdisplay) { in mixer_mode_fixup()
1095 adjusted_mode->hdisplay = modes[i].hdisplay; in mixer_mode_fixup()
1096 adjusted_mode->hsync_start = modes[i].hdisplay; in mixer_mode_fixup()
1097 adjusted_mode->hsync_end = modes[i].htotal; in mixer_mode_fixup()
1098 adjusted_mode->htotal = modes[i].htotal; in mixer_mode_fixup()
1099 adjusted_mode->vdisplay = modes[i].vdisplay; in mixer_mode_fixup()
1100 adjusted_mode->vsync_start = modes[i].vdisplay; in mixer_mode_fixup()
1101 adjusted_mode->vsync_end = modes[i].vtotal; in mixer_mode_fixup()
1102 adjusted_mode->vtotal = modes[i].vtotal; in mixer_mode_fixup()