• Home
  • Raw
  • Download

Lines Matching refs:mode

142     const struct fb_videomode *mode;  member
223 const struct fb_videomode *mode = NULL; in mac_vmode_to_var() local
228 mode = map->mode; in mac_vmode_to_var()
231 if (!mode) in mac_vmode_to_var()
271 var->xres = mode->xres; in mac_vmode_to_var()
272 var->yres = mode->yres; in mac_vmode_to_var()
273 var->xres_virtual = mode->xres; in mac_vmode_to_var()
274 var->yres_virtual = mode->yres; in mac_vmode_to_var()
277 var->pixclock = mode->pixclock; in mac_vmode_to_var()
278 var->left_margin = mode->left_margin; in mac_vmode_to_var()
279 var->right_margin = mode->right_margin; in mac_vmode_to_var()
280 var->upper_margin = mode->upper_margin; in mac_vmode_to_var()
281 var->lower_margin = mode->lower_margin; in mac_vmode_to_var()
282 var->hsync_len = mode->hsync_len; in mac_vmode_to_var()
283 var->vsync_len = mode->vsync_len; in mac_vmode_to_var()
284 var->sync = mode->sync; in mac_vmode_to_var()
285 var->vmode = mode->vmode; in mac_vmode_to_var()
322 const struct fb_videomode *mode = map->mode; in mac_var_to_vmode() local
324 if (var->xres > mode->xres || var->yres > mode->yres) in mac_var_to_vmode()
326 if (var->xres_virtual > mode->xres || var->yres_virtual > mode->yres) in mac_var_to_vmode()
328 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
330 if ((var->vmode & FB_VMODE_MASK) != mode->vmode) in mac_var_to_vmode()
340 const struct fb_videomode *clk_mode = map->mode; in mac_var_to_vmode()
342 if (mode->xres != clk_mode->xres || mode->yres != clk_mode->yres) in mac_var_to_vmode()
344 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
346 if (mode->vmode != clk_mode->vmode) in mac_var_to_vmode()