Lines Matching refs:modedb

1040         struct dsscomp_videomode modedb[32];  in omap4_hwc_set_best_hdmi_mode()  member
1044 d.dis.modedb_len = sizeof(d.modedb) / sizeof(*d.modedb); in omap4_hwc_set_best_hdmi_mode()
1076 if (d.modedb[i].flag & FB_FLAG_PREFERRED) { in omap4_hwc_set_best_hdmi_mode()
1077 preferred_mode_xres = d.modedb[i].xres; in omap4_hwc_set_best_hdmi_mode()
1078 preferred_mode_yres = d.modedb[i].yres; in omap4_hwc_set_best_hdmi_mode()
1080 i, d.modedb[i].xres, d.modedb[i].yres); in omap4_hwc_set_best_hdmi_mode()
1093 __u32 mode_xres = d.modedb[i].xres; in omap4_hwc_set_best_hdmi_mode()
1094 __u32 mode_yres = d.modedb[i].yres; in omap4_hwc_set_best_hdmi_mode()
1099 if ((d.modedb[i].flag & FB_FLAG_HW_CAPABLE) == 0) in omap4_hwc_set_best_hdmi_mode()
1102 if (d.modedb[i].vmode & FB_VMODE_INTERLACED) in omap4_hwc_set_best_hdmi_mode()
1105 if (d.modedb[i].flag & FB_FLAG_RATIO_4_3) { in omap4_hwc_set_best_hdmi_mode()
1108 } else if (d.modedb[i].flag & FB_FLAG_RATIO_16_9) { in omap4_hwc_set_best_hdmi_mode()
1120 if (!d.modedb[i].pixclock || in omap4_hwc_set_best_hdmi_mode()
1121 (d.modedb[i].vmode & ~FB_VMODE_INTERLACED) || in omap4_hwc_set_best_hdmi_mode()
1124 1000000000 / d.modedb[i].pixclock, NULL)) in omap4_hwc_set_best_hdmi_mode()
1128 if (d.modedb[i].flag & (FB_FLAG_RATIO_4_3 | FB_FLAG_RATIO_16_9)) in omap4_hwc_set_best_hdmi_mode()
1132 if (d.modedb[i].xres == preferred_mode_xres && in omap4_hwc_set_best_hdmi_mode()
1133 d.modedb[i].yres == preferred_mode_yres) { in omap4_hwc_set_best_hdmi_mode()
1141 if (!forced_preferred_mode && (d.modedb[i].flag & FB_FLAG_PREFERRED)) in omap4_hwc_set_best_hdmi_mode()
1148 mode_xres, mode_yres, d.modedb[i].refresh ? : 1); in omap4_hwc_set_best_hdmi_mode()
1152 d.modedb[i].refresh, d.modedb[i].flag, d.modedb[i].vmode, in omap4_hwc_set_best_hdmi_mode()
1168 sdis.mode = d.dis.modedb[best]; in omap4_hwc_set_best_hdmi_mode()
1182 d.modedb[best].xres, d.modedb[best].yres); in omap4_hwc_set_best_hdmi_mode()