/drivers/video/fbdev/ |
H A D | efifb.c | 87 char *this_opt; local 91 while ((this_opt = strsep(&options, ",")) != NULL) { 92 if (!*this_opt) continue; 96 !strcmp(this_opt, efifb_dmi_list[i].optname)) { 103 if (!strncmp(this_opt, "base:", 5)) 104 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); 105 else if (!strncmp(this_opt, "stride:", 7)) 106 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; 107 else if (!strncmp(this_opt, "height:", 7)) 108 screen_info.lfb_height = simple_strtoul(this_opt [all...] |
H A D | fm2fb.c | 298 char *this_opt; local 303 while ((this_opt = strsep(&options, ",")) != NULL) { 304 if (!strncmp(this_opt, "pal", 3)) 306 else if (!strncmp(this_opt, "ntsc", 4))
|
H A D | au1100fb.c | 392 char *this_opt, *options; local 405 while ((this_opt = strsep(&options, ",")) != NULL) { 407 if (!strncmp(this_opt, "panel:", 6)) { 409 this_opt += 6; 411 if (!strncmp(this_opt, known_lcd_panels[i].name, 412 strlen(this_opt))) { 419 print_warn("Panel '%s' not supported!", this_opt); 425 print_warn("Unsupported option \"%s\"", this_opt);
|
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 | igafb.c | 561 char *this_opt; local 566 while ((this_opt = strsep(&options, ",")) != NULL) {
|
H A D | valkyriefb.c | 565 char *this_opt; local 570 while ((this_opt = strsep(&options, ",")) != NULL) { 571 if (!strncmp(this_opt, "vmode:", 6)) { 572 int vmode = simple_strtoul(this_opt+6, NULL, 0); 576 else if (!strncmp(this_opt, "cmode:", 6)) { 577 int depth = simple_strtoul(this_opt+6, NULL, 0);
|
H A D | vesafb.c | 196 char *this_opt; local 201 while ((this_opt = strsep(&options, ",")) != NULL) { 202 if (!*this_opt) continue; 204 if (! strcmp(this_opt, "inverse")) 206 else if (! strcmp(this_opt, "redraw")) 208 else if (! strcmp(this_opt, "ypan")) 210 else if (! strcmp(this_opt, "ywrap")) 212 else if (! strcmp(this_opt, "vgapal")) 214 else if (! strcmp(this_opt, "pmipal")) 216 else if (! strncmp(this_opt, "mtr [all...] |
H A D | vfb.c | 455 char *this_opt; local 467 while ((this_opt = strsep(&options, ",")) != NULL) { 468 if (!*this_opt) 471 if (!strcmp(this_opt, "disable"))
|
H A D | macfb.c | 525 char *this_opt; local 530 while ((this_opt = strsep(&options, ",")) != NULL) { 531 if (!*this_opt) 534 if (!strcmp(this_opt, "inverse")) 537 if (!strcmp(this_opt, "vidtest"))
|
H A D | platinumfb.c | 498 char *this_opt; local 503 while ((this_opt = strsep(&options, ",")) != NULL) { 504 if (!strncmp(this_opt, "vmode:", 6)) { 505 int vmode = simple_strtoul(this_opt+6, NULL, 0); 508 } else if (!strncmp(this_opt, "cmode:", 6)) { 509 int depth = simple_strtoul(this_opt+6, NULL, 0);
|
H A D | controlfb.c | 551 char *this_opt; local 556 while ((this_opt = strsep(&options, ",")) != NULL) { 557 if (!strncmp(this_opt, "vmode:", 6)) { 558 int vmode = simple_strtoul(this_opt+6, NULL, 0); 562 } else if (!strncmp(this_opt, "cmode:", 6)) { 563 int depth = simple_strtoul(this_opt+6, NULL, 0);
|
H A D | gbefb.c | 1101 char *this_opt; local 1106 while ((this_opt = strsep(&options, ",")) != NULL) { 1107 if (!strncmp(this_opt, "monitor:", 8)) { 1108 if (!strncmp(this_opt + 8, "crt", 3)) { 1112 } else if (!strncmp(this_opt + 8, "1600sw", 6) || 1113 !strncmp(this_opt + 8, "lcd", 3)) { 1118 } else if (!strncmp(this_opt, "mem:", 4)) { 1119 gbe_mem_size = memparse(this_opt + 4, &this_opt); 1125 mode_option = this_opt; [all...] |
H A D | neofb.c | 2198 char *this_opt; local 2205 while ((this_opt = strsep(&options, ",")) != NULL) { 2206 if (!*this_opt) 2209 if (!strncmp(this_opt, "internal", 8)) 2211 else if (!strncmp(this_opt, "external", 8)) 2213 else if (!strncmp(this_opt, "nostretch", 9)) 2215 else if (!strncmp(this_opt, "nopciburst", 10)) 2217 else if (!strncmp(this_opt, "libretto", 8)) 2220 mode_option = this_opt;
|
H A D | pm2fb.c | 1780 char *this_opt; local 1785 while ((this_opt = strsep(&options, ",")) != NULL) { 1786 if (!*this_opt) 1788 if (!strcmp(this_opt, "lowhsync")) 1790 else if (!strcmp(this_opt, "lowvsync")) 1792 else if (!strncmp(this_opt, "hwcursor=", 9)) 1793 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); 1795 else if (!strncmp(this_opt, "nomtrr", 6)) 1798 else if (!strncmp(this_opt, "noaccel", 7)) 1801 mode_option = this_opt; [all...] |
H A D | pm3fb.c | 1523 char *this_opt; local 1529 while ((this_opt = strsep(&options, ",")) != NULL) { 1530 if (!*this_opt) 1532 else if (!strncmp(this_opt, "noaccel", 7)) 1534 else if (!strncmp(this_opt, "hwcursor=", 9)) 1535 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); 1537 else if (!strncmp(this_opt, "nomtrr", 6)) 1541 mode_option = this_opt;
|
H A D | pvr2fb.c | 1027 char *this_opt; local 1034 while ((this_opt = strsep(&options, ","))) { 1035 if (!*this_opt) 1037 if (!strcmp(this_opt, "inverse")) { 1039 } else if (!strncmp(this_opt, "cable:", 6)) { 1040 strcpy(cable_arg, this_opt + 6); 1041 } else if (!strncmp(this_opt, "output:", 7)) { 1042 strcpy(output_arg, this_opt + 7); 1043 } else if (!strncmp(this_opt, "nopan", 5)) { 1045 } else if (!strncmp(this_opt, "nowra [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 | tgafb.c | 1568 char *this_opt; local 1571 while ((this_opt = strsep(&arg, ","))) { 1572 if (!*this_opt) 1574 if (!strncmp(this_opt, "mode:", 5)) 1575 mode_option = this_opt+5; 1579 this_opt);
|
H A D | uvesafb.c | 1832 char *this_opt; local 1837 while ((this_opt = strsep(&options, ",")) != NULL) { 1838 if (!*this_opt) continue; 1840 if (!strcmp(this_opt, "redraw")) 1842 else if (!strcmp(this_opt, "ypan")) 1844 else if (!strcmp(this_opt, "ywrap")) 1846 else if (!strcmp(this_opt, "vgapal")) 1848 else if (!strcmp(this_opt, "pmipal")) 1850 else if (!strncmp(this_opt, "mtrr:", 5)) 1851 mtrr = simple_strtoul(this_opt [all...] |
/drivers/video/fbdev/geode/ |
H A D | gx1fb_core.c | 409 char *this_opt; local 414 while ((this_opt = strsep(&options, ","))) { 415 if (!*this_opt) 418 if (!strncmp(this_opt, "mode:", 5)) 419 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); 420 else if (!strncmp(this_opt, "crt:", 4)) 421 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); 422 else if (!strncmp(this_opt, "panel:", 6)) 423 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); 425 strlcpy(mode_option, this_opt, sizeo [all...] |
/drivers/video/fbdev/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/video/fbdev/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 | 1605 char *this_opt; local 1612 while ((this_opt = strsep(&options, ",")) != NULL) { 1614 if (!*this_opt) 1617 if (!strncmp(this_opt, "mode:", 5)) { 1618 mode = this_opt + 5; 1619 } else if (!strncmp(this_opt, "vesa:", 5)) { 1620 vesa = xgifb_optval(this_opt, 5); 1621 } else if (!strncmp(this_opt, "vrate:", 6)) { 1622 refresh_rate = xgifb_optval(this_opt, 6); 1623 } else if (!strncmp(this_opt, "rat [all...] |
/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 1476 char *this_opt; local 1482 while ((this_opt = strsep(&options, ",")) != NULL) { 1483 if (!strncmp(this_opt, "forceCRTC", 9)) { 1486 p = this_opt + 9; 1492 } else if (!strncmp(this_opt, "flatpanel", 9)) { 1494 } else if (!strncmp(this_opt, "hwcur", 5)) { 1496 } else if (!strncmp(this_opt, "noaccel", 6)) { 1498 } else if (!strncmp(this_opt, "noscale", 7)) { 1500 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { 1502 } else if (!strncmp(this_opt, "paneltwea [all...] |
/drivers/video/fbdev/savage/ |
H A D | savagefb_driver.c | 2541 char *this_opt; local 2546 while ((this_opt = strsep(&options, ",")) != NULL) { 2547 mode_option = this_opt;
|