Lines Matching defs:mode_info
155 XRRModeInfo *mode_info;
177 XRRModeInfo *mode_info;
242 mode_height (XRRModeInfo *mode_info, Rotation rotation)
247 return mode_info->height;
250 return mode_info->width;
257 mode_width (XRRModeInfo *mode_info, Rotation rotation)
262 return mode_info->width;
265 return mode_info->height;
273 mode_refresh (XRRModeInfo *mode_info)
277 if (mode_info->hTotal && mode_info->vTotal)
278 rate = ((float) mode_info->dotClock /
279 ((float) mode_info->hTotal * (float) mode_info->vTotal));
491 crtcs[c].mode_info = NULL;
510 crtc->mode_info = output->mode_info;
524 if (!output->mode_info) continue;
581 if (!crtc->mode_info)
589 mode = crtc->mode_info->id;
593 crtc->mode_info->name, mode_refresh (crtc->mode_info),
716 * When crtc->mode_info is null, the crtc is to be
717 * disabled. Note set_crtcs () sets crtc->mode_info for
720 if (crtc->mode_info)
827 if (other->mode_info == NULL)
846 if (crtc->outputs[i]->mode_info) {
848 if (crtc->mode_info != output->mode_info)
898 if (output->mode_info == NULL) continue;
902 if (relation->mode_info == NULL)
923 output->x = relation->x - mode_width (output->mode_info, output->rotation);
927 output->x = relation->x + mode_width (relation->mode_info, relation->rotation);
931 output->y = relation->y - mode_height (output->mode_info, output->rotation);
935 output->y = relation->y + mode_height (relation->mode_info, relation->rotation);
960 if (output->mode_info == NULL) continue;
972 if (output->mode_info == NULL) continue;
991 XRRModeInfo *mode_info = output->mode_info;
994 if (!mode_info) continue;
998 w = mode_width (mode_info, output->rotation);
999 h = mode_height (mode_info, output->rotation);
1050 if (output->mode_info == NULL)
1109 if (output->mode_info)
1143 if (output->mode_info && !output->crtc_info) {
1190 if (!crtc->mode_info && !find_mode_by_xid (crtc_info->mode))
1194 (find_mode_by_xid (crtc_info->mode) != crtc->mode_info) ||
1352 XRRModeInfo *mode_info = c->smodes[i];
1355 if (!found && (start_mode != mode_info))
1360 if (mode_info) {
1363 w = mode_width (mode_info, output->rotation);
1364 h = mode_height (mode_info, output->rotation);
1443 /* set initial mode_info */
1446 con_outputs[ncon].output->mode_info =
1492 start_mode[j] = con_outputs[j].output->mode_info;
1670 if ((!output->mode_info) || (output->mode_info != new_mode[i])) {
1671 output->mode_info = new_mode[i];
1676 con_outputs[i].output->mode_info->name,
1681 output->mode_info = NULL;
1734 output->mode_info = NULL;