Lines Matching defs:mode

106 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
107 module_param_named(mode, mode_option, charp, 0444);
108 MODULE_PARM_DESC(mode, "Default video mode ('640x480-8@60', etc) (deprecated)");
303 int (*dac_set_mode)(struct dac_info *info, int mode);
344 static inline int dac_set_mode(struct dac_info *info, int mode)
346 return info->dacops->dac_set_mode(info, mode);
368 u8 mode;
380 static int ics5342_set_mode(struct dac_info *info, int mode)
384 if (mode >= DAC_MAX)
387 code = ics5342_mode_table[mode];
393 DAC_PAR(info)->mode = mode;
412 /* only postdivider 4 (r=2) is valid in mode DAC_PSEUDO8_16 */
413 int rv = svga_compute_pll((DAC_PAR(info)->mode == DAC_PSEUDO8_16)
450 DAC_PAR(info)->mode = DAC_PSEUDO8_8; /* estimation */
573 fb_err(info, "unsupported mode requested\n");
605 /* Interlaced mode is broken */
612 /* Set video mode from par */
617 u32 value, mode, hmul, hdiv, offset_value, screen_size;
701 mode = svga_match_format(arkfb_formats, &(info->var), &(info->fix));
703 /* Set mode-specific register values */
704 switch (mode) {
706 fb_dbg(info, "text mode\n");
709 vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
718 vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
725 vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
732 vga_wseq(par->state.vgabase, 0x11, 0x16); /* 8bpp accel mode */
748 vga_wseq(par->state.vgabase, 0x11, 0x1A); /* 16bpp accel mode */
755 vga_wseq(par->state.vgabase, 0x11, 0x1A); /* 16bpp accel mode */
762 vga_wseq(par->state.vgabase, 0x11, 0x16); /* 8bpp accel mode ??? */
771 vga_wseq(par->state.vgabase, 0x11, 0x1E); /* 32bpp accel mode */
777 fb_err(info, "unsupported mode - bug\n");
792 /* Set interlaced mode start/end register */
1027 /* Prepare startup mode */
1031 dev_err(info->device, "mode %s not found\n", mode_option);