Lines Matching defs:mode
301 struct gfx_video_mode mode;
304 strlcpy(mode.mode_name, pScrn->currentMode->name, GFX_MAX_VMODE_LEN);
306 strlcpy(mode.mode_name, " ", GFX_MAX_VMODE_LEN);
309 mode.vRefresh = pScrn->currentMode->VRefresh;
311 status = ioctl(info->fd, GFX_IOCTL_SET_VIDEO_MODE, &mode);
422 unsigned char *mode = "1280x1024";
552 char *mode, *token;
557 mode = strdup(pScrn->display->modes[0]);
558 token = strtok(mode, "x");
563 free(mode);