/drivers/video/ |
H A D | vesafb.c | 197 char *this_opt; local 202 while ((this_opt = strsep(&options, ",")) != NULL) { 203 if (!*this_opt) continue; 205 if (! strcmp(this_opt, "inverse")) 207 else if (! strcmp(this_opt, "redraw")) 209 else if (! strcmp(this_opt, "ypan")) 211 else if (! strcmp(this_opt, "ywrap")) 213 else if (! strcmp(this_opt, "vgapal")) 215 else if (! strcmp(this_opt, "pmipal")) 217 else if (! strncmp(this_opt, "mtr [all...] |
H A D | grvga.c | 273 char *this_opt; local 278 while ((this_opt = strsep(&options, " ")) != NULL) { 279 if (!*this_opt) 284 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); 288 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); 292 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); 296 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); 300 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); 304 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); 308 screendata->lower_margin = simple_strtoul(this_opt, NUL 364 char *this_opt = strsep(&options, ","); local [all...] |
H A D | fm2fb.c | 300 char *this_opt; local 305 while ((this_opt = strsep(&options, ",")) != NULL) { 306 if (!strncmp(this_opt, "pal", 3)) 308 else if (!strncmp(this_opt, "ntsc", 4))
|
H A D | efifb.c | 303 char *this_opt; local 309 while ((this_opt = strsep(&options, ",")) != NULL) { 310 if (!*this_opt) continue; 313 if (!strcmp(this_opt, dmi_list[i].optname) && 321 if (!strncmp(this_opt, "base:", 5)) 322 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); 323 else if (!strncmp(this_opt, "stride:", 7)) 324 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; 325 else if (!strncmp(this_opt, "height:", 7)) 326 screen_info.lfb_height = simple_strtoul(this_opt [all...] |
H A D | pxafb.c | 1856 static int __devinit parse_opt_mode(struct device *dev, const char *this_opt) argument 1860 const char *name = this_opt+5; 1915 static int __devinit parse_opt(struct device *dev, char *this_opt) argument 1923 if (!strncmp(this_opt, "vmem:", 5)) { 1924 video_mem_size = memparse(this_opt + 5, NULL); 1925 } else if (!strncmp(this_opt, "mode:", 5)) { 1926 return parse_opt_mode(dev, this_opt); 1927 } else if (!strncmp(this_opt, "pixclock:", 9)) { 1928 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); 1930 } else if (!strncmp(this_opt, "lef 2017 char *this_opt; local [all...] |
H A D | au1100fb.c | 431 char *this_opt, *options; local 444 while ((this_opt = strsep(&options, ",")) != NULL) { 446 if (!strncmp(this_opt, "panel:", 6)) { 448 this_opt += 6; 450 if (!strncmp(this_opt, known_lcd_panels[i].name, 451 strlen(this_opt))) { 458 print_warn("Panel '%s' not supported!", this_opt); 464 print_warn("Unsupported option \"%s\"", this_opt);
|
H A D | sa1100fb.c | 1311 char *this_opt; 1316 while ((this_opt = strsep(&options, ",")) != NULL) { 1318 if (!strncmp(this_opt, "bpp:", 4)) 1320 simple_strtoul(this_opt + 4, NULL, 0); 1322 if (!strncmp(this_opt, "lccr0:", 6)) 1324 simple_strtoul(this_opt + 6, NULL, 0); 1325 if (!strncmp(this_opt, "lccr1:", 6)) { 1327 simple_strtoul(this_opt + 6, NULL, 0); 1331 if (!strncmp(this_opt, "lccr2:", 6)) { 1333 simple_strtoul(this_opt [all...] |
H A D | uvesafb.c | 1885 char *this_opt; local 1890 while ((this_opt = strsep(&options, ",")) != NULL) { 1891 if (!*this_opt) continue; 1893 if (!strcmp(this_opt, "redraw")) 1895 else if (!strcmp(this_opt, "ypan")) 1897 else if (!strcmp(this_opt, "ywrap")) 1899 else if (!strcmp(this_opt, "vgapal")) 1901 else if (!strcmp(this_opt, "pmipal")) 1903 else if (!strncmp(this_opt, "mtrr:", 5)) 1904 mtrr = simple_strtoul(this_opt [all...] |
H A D | sstfb.c | 1276 char *this_opt; local 1281 while ((this_opt = strsep(&options, ",")) != NULL) { 1282 if (!*this_opt) continue; 1284 f_ddprintk("option %s\n", this_opt); 1286 if (!strcmp(this_opt, "vganopass")) 1288 else if (!strcmp(this_opt, "vgapass")) 1290 else if (!strcmp(this_opt, "clipping")) 1292 else if (!strcmp(this_opt, "noclipping")) 1294 else if (!strcmp(this_opt, "fastpci")) 1296 else if (!strcmp(this_opt, "slowpc [all...] |
H A D | pvr2fb.c | 1026 char *this_opt; local 1033 while ((this_opt = strsep(&options, ","))) { 1034 if (!*this_opt) 1036 if (!strcmp(this_opt, "inverse")) { 1038 } else if (!strncmp(this_opt, "cable:", 6)) { 1039 strcpy(cable_arg, this_opt + 6); 1040 } else if (!strncmp(this_opt, "output:", 7)) { 1041 strcpy(output_arg, this_opt + 7); 1042 } else if (!strncmp(this_opt, "nopan", 5)) { 1044 } else if (!strncmp(this_opt, "nowra [all...] |
H A D | au1200fb.c | 1613 char *this_opt, *endptr; local 1622 while ((this_opt = strsep(&options, ",")) != NULL) { 1625 if (!strncmp(this_opt, "panel:", 6)) { 1629 this_opt += 6; 1632 li = simple_strtol(this_opt, &endptr, 0); 1635 else if (strcmp(this_opt, "bs") == 0) 1639 if (!strcmp(this_opt, 1647 print_warn("Panel %s not supported!", this_opt); 1651 } else if (strncmp(this_opt, "nohwcursor", 10) == 0) 1653 else if (strncmp(this_opt, "device [all...] |
H A D | platinumfb.c | 497 char *this_opt; local 502 while ((this_opt = strsep(&options, ",")) != NULL) { 503 if (!strncmp(this_opt, "vmode:", 6)) { 504 int vmode = simple_strtoul(this_opt+6, NULL, 0); 507 } else if (!strncmp(this_opt, "cmode:", 6)) { 508 int depth = simple_strtoul(this_opt+6, NULL, 0);
|
H A D | valkyriefb.c | 562 char *this_opt; local 567 while ((this_opt = strsep(&options, ",")) != NULL) { 568 if (!strncmp(this_opt, "vmode:", 6)) { 569 int vmode = simple_strtoul(this_opt+6, NULL, 0); 573 else if (!strncmp(this_opt, "cmode:", 6)) { 574 int depth = simple_strtoul(this_opt+6, NULL, 0);
|
H A D | 68328fb.c | 415 char *this_opt; 421 while ((this_opt = strsep(&options, ",")) != NULL) { 422 if (!*this_opt) 424 if (!strncmp(this_opt, "disable", 7))
|
H A D | vfb.c | 454 char *this_opt; local 466 while ((this_opt = strsep(&options, ",")) != NULL) { 467 if (!*this_opt) 470 if (!strcmp(this_opt, "disable"))
|
/drivers/video/matrox/ |
H A D | matroxfb_base.c | 2292 char *this_opt; local 2299 while ((this_opt = strsep(&options, ",")) != NULL) { 2300 if (!*this_opt) continue; 2302 dprintk("matroxfb_setup: option %s\n", this_opt); 2304 if (!strncmp(this_opt, "dev:", 4)) 2305 dev = simple_strtoul(this_opt+4, NULL, 0); 2306 else if (!strncmp(this_opt, "depth:", 6)) { 2307 switch (simple_strtoul(this_opt+6, NULL, 0)) { 2318 } else if (!strncmp(this_opt, "xres:", 5)) 2319 xres = simple_strtoul(this_opt [all...] |
/drivers/video/geode/ |
H A D | gx1fb_core.c | 410 char *this_opt; local 415 while ((this_opt = strsep(&options, ","))) { 416 if (!*this_opt) 419 if (!strncmp(this_opt, "mode:", 5)) 420 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); 421 else if (!strncmp(this_opt, "crt:", 4)) 422 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); 423 else if (!strncmp(this_opt, "panel:", 6)) 424 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); 426 strlcpy(mode_option, this_opt, sizeo [all...] |
/drivers/video/via/ |
H A D | viafbdev.c | 1975 char *this_opt; local 1986 while ((this_opt = strsep(&options, ",")) != NULL) { 1987 if (!*this_opt) 1990 if (!strncmp(this_opt, "viafb_mode1=", 12)) { 1991 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); 1992 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { 1993 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); 1994 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { 1995 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) 1997 } else if (!strncmp(this_opt, "viafb_bp [all...] |
/drivers/video/intelfb/ |
H A D | intelfbdrv.c | 277 static __inline__ char * get_opt_string(const char *this_opt, const char *name) argument 283 p = OPT_STRVAL(this_opt, name); 295 static __inline__ int get_opt_int(const char *this_opt, const char *name, argument 301 if (!OPT_EQUAL(this_opt, name)) 304 *ret = OPT_INTVAL(this_opt, name); 308 static __inline__ int get_opt_bool(const char *this_opt, const char *name, argument 314 if (OPT_EQUAL(this_opt, name)) { 315 if (this_opt[strlen(name)] == '=') 316 *ret = simple_strtoul(this_opt + strlen(name) + 1, 321 if (OPT_EQUAL(this_opt, "n 331 char *this_opt; local [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_fb.c | 322 char *this_opt; local 327 while ((this_opt = strsep(&options, ",")) != NULL) { 328 if (!*this_opt) 330 mode_option = this_opt;
|
/drivers/video/nvidia/ |
H A D | nvidia.c | 1478 char *this_opt; local 1484 while ((this_opt = strsep(&options, ",")) != NULL) { 1485 if (!strncmp(this_opt, "forceCRTC", 9)) { 1488 p = this_opt + 9; 1494 } else if (!strncmp(this_opt, "flatpanel", 9)) { 1496 } else if (!strncmp(this_opt, "hwcur", 5)) { 1498 } else if (!strncmp(this_opt, "noaccel", 6)) { 1500 } else if (!strncmp(this_opt, "noscale", 7)) { 1502 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { 1504 } else if (!strncmp(this_opt, "paneltwea [all...] |
/drivers/video/i810/ |
H A D | i810_main.c | 1961 char *this_opt, *suffix = NULL; local 1966 while ((this_opt = strsep(&options, ",")) != NULL) { 1967 if (!strncmp(this_opt, "mtrr", 4)) 1969 else if (!strncmp(this_opt, "accel", 5)) 1971 else if (!strncmp(this_opt, "extvga", 6)) 1973 else if (!strncmp(this_opt, "sync", 4)) 1975 else if (!strncmp(this_opt, "vram:", 5)) 1976 vram = (simple_strtoul(this_opt+5, NULL, 0)); 1977 else if (!strncmp(this_opt, "voffset:", 8)) 1978 voffset = (simple_strtoul(this_opt [all...] |
/drivers/video/kyro/ |
H A D | fbdev.c | 561 char *this_opt; local 566 while ((this_opt = strsep(&options, ","))) { 567 if (!*this_opt) 569 if (strcmp(this_opt, "nopan") == 0) { 571 } else if (strcmp(this_opt, "nowrap") == 0) { 574 } else if (strcmp(this_opt, "nomtrr") == 0) { 578 mode_option = this_opt;
|
/drivers/staging/xgifb/ |
H A D | XGI_main_26.c | 1836 char *this_opt; local 1843 while ((this_opt = strsep(&options, ",")) != NULL) { 1845 if (!*this_opt) 1848 if (!strncmp(this_opt, "mode:", 5)) { 1849 mode = this_opt + 5; 1850 } else if (!strncmp(this_opt, "vesa:", 5)) { 1851 vesa = xgifb_optval(this_opt, 5); 1852 } else if (!strncmp(this_opt, "vrate:", 6)) { 1853 refresh_rate = xgifb_optval(this_opt, 6); 1854 } else if (!strncmp(this_opt, "rat [all...] |
/drivers/video/omap/ |
H A D | omapfb_main.c | 1887 char *this_opt = NULL; local 1895 while (!r && (this_opt = strsep(&options, ",")) != NULL) { 1896 if (!strncmp(this_opt, "accel", 5)) 1898 else if (!strncmp(this_opt, "vram:", 5)) { 1901 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); 1920 else if (!strncmp(this_opt, "vxres:", 6)) 1921 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); 1922 else if (!strncmp(this_opt, "vyres:", 6)) 1923 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); 1924 else if (!strncmp(this_opt, "rotat [all...] |