Searched refs:this_opt (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/drivers/video/fbdev/
H A Dgrvga.c265 char *this_opt; local
270 while ((this_opt = strsep(&options, " ")) != NULL) {
271 if (!*this_opt)
276 screendata->pixclock = simple_strtoul(this_opt, NULL, 0);
280 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0);
284 screendata->right_margin = simple_strtoul(this_opt, NULL, 0);
288 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0);
292 screendata->left_margin = simple_strtoul(this_opt, NULL, 0);
296 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0);
300 screendata->lower_margin = simple_strtoul(this_opt, NUL
354 char *this_opt = strsep(&options, ","); local
[all...]
H A Dvesafb.c212 char *this_opt; local
217 while ((this_opt = strsep(&options, ",")) != NULL) {
218 if (!*this_opt) continue;
220 if (! strcmp(this_opt, "inverse"))
222 else if (! strcmp(this_opt, "redraw"))
224 else if (! strcmp(this_opt, "ypan"))
226 else if (! strcmp(this_opt, "ywrap"))
228 else if (! strcmp(this_opt, "vgapal"))
230 else if (! strcmp(this_opt, "pmipal"))
232 else if (! strncmp(this_opt, "mtr
[all...]
H A Dfm2fb.c295 char *this_opt; local
300 while ((this_opt = strsep(&options, ",")) != NULL) {
301 if (!strncmp(this_opt, "pal", 3))
303 else if (!strncmp(this_opt, "ntsc", 4))
H A Defifb.c280 char *this_opt; local
283 while ((this_opt = strsep(&options, ",")) != NULL) {
284 if (!*this_opt) continue;
286 efifb_setup_from_dmi(si, this_opt);
288 if (!strncmp(this_opt, "base:", 5))
289 si->lfb_base = simple_strtoul(this_opt+5, NULL, 0);
290 else if (!strncmp(this_opt, "stride:", 7))
291 si->lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4;
292 else if (!strncmp(this_opt, "height:", 7))
293 si->lfb_height = simple_strtoul(this_opt
[all...]
H A Duvesafb.c1808 char *this_opt; local
1813 while ((this_opt = strsep(&options, ",")) != NULL) {
1814 if (!*this_opt) continue;
1816 if (!strcmp(this_opt, "redraw"))
1818 else if (!strcmp(this_opt, "ypan"))
1820 else if (!strcmp(this_opt, "ywrap"))
1822 else if (!strcmp(this_opt, "vgapal"))
1824 else if (!strcmp(this_opt, "pmipal"))
1826 else if (!strncmp(this_opt, "mtrr:", 5))
1827 mtrr = simple_strtoul(this_opt
[all...]
H A Dpxafb.c1852 static int parse_opt_mode(struct device *dev, const char *this_opt, argument
1855 const char *name = this_opt+5;
1910 static int parse_opt(struct device *dev, char *this_opt, argument
1918 if (!strncmp(this_opt, "vmem:", 5)) {
1919 video_mem_size = memparse(this_opt + 5, NULL);
1920 } else if (!strncmp(this_opt, "mode:", 5)) {
1921 return parse_opt_mode(dev, this_opt, inf);
1922 } else if (!strncmp(this_opt, "pixclock:", 9)) {
1923 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0);
1925 } else if (!strncmp(this_opt, "lef
2013 char *this_opt; local
[all...]
H A Dau1100fb.c368 char *this_opt, *options; local
381 while ((this_opt = strsep(&options, ",")) != NULL) {
383 if (!strncmp(this_opt, "panel:", 6)) {
385 this_opt += 6;
387 if (!strncmp(this_opt, known_lcd_panels[i].name,
388 strlen(this_opt))) {
395 print_warn("Panel '%s' not supported!", this_opt);
401 print_warn("Unsupported option \"%s\"", this_opt);
H A Dsstfb.c1278 char *this_opt; local
1283 while ((this_opt = strsep(&options, ",")) != NULL) {
1284 if (!*this_opt) continue;
1286 f_ddprintk("option %s\n", this_opt);
1288 if (!strcmp(this_opt, "vganopass"))
1290 else if (!strcmp(this_opt, "vgapass"))
1292 else if (!strcmp(this_opt, "clipping"))
1294 else if (!strcmp(this_opt, "noclipping"))
1296 else if (!strcmp(this_opt, "fastpci"))
1298 else if (!strcmp(this_opt, "slowpc
[all...]
H A Dvfb.c397 char *this_opt; local
409 while ((this_opt = strsep(&options, ",")) != NULL) {
410 if (!*this_opt)
413 if (!strcmp(this_opt, "disable"))
416 mode_option = this_opt;
H A Dpvr2fb.c1034 char *this_opt; local
1043 while ((this_opt = strsep(&options, ","))) {
1044 if (!*this_opt)
1046 if (!strcmp(this_opt, "inverse")) {
1048 } else if (!strncmp(this_opt, "cable:", 6)) {
1049 strcpy(cable_arg, this_opt + 6);
1050 } else if (!strncmp(this_opt, "output:", 7)) {
1051 strcpy(output_arg, this_opt + 7);
1052 } else if (!strncmp(this_opt, "nopan", 5)) {
1054 } else if (!strncmp(this_opt, "nowra
[all...]
H A Dgbefb.c1089 char *this_opt; local
1094 while ((this_opt = strsep(&options, ",")) != NULL) {
1095 if (!strncmp(this_opt, "monitor:", 8)) {
1096 if (!strncmp(this_opt + 8, "crt", 3)) {
1100 } else if (!strncmp(this_opt + 8, "1600sw", 6) ||
1101 !strncmp(this_opt + 8, "lcd", 3)) {
1106 } else if (!strncmp(this_opt, "mem:", 4)) {
1107 gbe_mem_size = memparse(this_opt + 4, &this_opt);
1113 mode_option = this_opt;
[all...]
H A Dau1200fb.c1585 char *this_opt, *endptr; local
1594 while ((this_opt = strsep(&options, ",")) != NULL) {
1597 if (!strncmp(this_opt, "panel:", 6)) {
1601 this_opt += 6;
1604 li = simple_strtol(this_opt, &endptr, 0);
1607 else if (strcmp(this_opt, "bs") == 0)
1611 if (!strcmp(this_opt,
1619 print_warn("Panel %s not supported!", this_opt);
1623 } else if (strncmp(this_opt, "nohwcursor", 10) == 0)
1625 else if (strncmp(this_opt, "device
[all...]
H A Dplatinumfb.c488 char *this_opt; local
493 while ((this_opt = strsep(&options, ",")) != NULL) {
494 if (!strncmp(this_opt, "vmode:", 6)) {
495 int vmode = simple_strtoul(this_opt+6, NULL, 0);
498 } else if (!strncmp(this_opt, "cmode:", 6)) {
499 int depth = simple_strtoul(this_opt+6, NULL, 0);
H A Dvalkyriefb.c547 char *this_opt; local
552 while ((this_opt = strsep(&options, ",")) != NULL) {
553 if (!strncmp(this_opt, "vmode:", 6)) {
554 int vmode = simple_strtoul(this_opt+6, NULL, 0);
558 else if (!strncmp(this_opt, "cmode:", 6)) {
559 int depth = simple_strtoul(this_opt+6, NULL, 0);
H A Dmacfb.c507 char *this_opt; local
512 while ((this_opt = strsep(&options, ",")) != NULL) {
513 if (!*this_opt)
516 if (!strcmp(this_opt, "inverse"))
519 if (!strcmp(this_opt, "vidtest"))
H A Datafb.c2941 char *this_opt; local
2947 while ((this_opt = strsep(&options, ",")) != NULL) {
2948 if (!*this_opt)
2950 if ((temp = get_video_mode(this_opt))) {
2952 mode_option = this_opt;
2953 } else if (!strcmp(this_opt, "inverse"))
2955 else if (!strncmp(this_opt, "hwscroll_", 9)) {
2956 hwscroll = simple_strtoul(this_opt + 9, NULL, 10);
2963 else if (!strcmp(this_opt, "mv300")) {
2966 } else if (!strncmp(this_opt, "externa
[all...]
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c2339 char *this_opt; local
2346 while ((this_opt = strsep(&options, ",")) != NULL) {
2347 if (!*this_opt) continue;
2349 dprintk("matroxfb_setup: option %s\n", this_opt);
2351 if (!strncmp(this_opt, "dev:", 4))
2352 dev = simple_strtoul(this_opt+4, NULL, 0);
2353 else if (!strncmp(this_opt, "depth:", 6)) {
2354 switch (simple_strtoul(this_opt+6, NULL, 0)) {
2365 } else if (!strncmp(this_opt, "xres:", 5))
2366 xres = simple_strtoul(this_opt
[all...]
/linux-master/drivers/video/fbdev/geode/
H A Dgx1fb_core.c404 char *this_opt; local
409 while ((this_opt = strsep(&options, ","))) {
410 if (!*this_opt)
413 if (!strncmp(this_opt, "mode:", 5))
414 strscpy(mode_option, this_opt + 5, sizeof(mode_option));
415 else if (!strncmp(this_opt, "crt:", 4))
416 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0);
417 else if (!strncmp(this_opt, "panel:", 6))
418 strscpy(panel_option, this_opt + 6, sizeof(panel_option));
420 strscpy(mode_option, this_opt, sizeo
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dviafbdev.c1925 char *this_opt; local
1936 while ((this_opt = strsep(&options, ",")) != NULL) {
1937 if (!*this_opt)
1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) {
1941 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL);
1944 } else if (!strncmp(this_opt, "viafb_mode=", 11)) {
1945 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL);
1948 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) {
1949 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0)
1951 } else if (!strncmp(this_opt, "viafb_bp
[all...]
/linux-master/drivers/video/fbdev/nvidia/
H A Dnvidia.c1467 char *this_opt; local
1473 while ((this_opt = strsep(&options, ",")) != NULL) {
1474 if (!strncmp(this_opt, "forceCRTC", 9)) {
1477 p = this_opt + 9;
1483 } else if (!strncmp(this_opt, "flatpanel", 9)) {
1485 } else if (!strncmp(this_opt, "hwcur", 5)) {
1487 } else if (!strncmp(this_opt, "noaccel", 6)) {
1489 } else if (!strncmp(this_opt, "noscale", 7)) {
1491 } else if (!strncmp(this_opt, "reverse_i2c", 11)) {
1493 } else if (!strncmp(this_opt, "paneltwea
[all...]
/linux-master/drivers/video/fbdev/i810/
H A Di810_main.c1965 char *this_opt, *suffix = NULL; local
1970 while ((this_opt = strsep(&options, ",")) != NULL) {
1971 if (!strncmp(this_opt, "mtrr", 4))
1973 else if (!strncmp(this_opt, "accel", 5))
1975 else if (!strncmp(this_opt, "extvga", 6))
1977 else if (!strncmp(this_opt, "sync", 4))
1979 else if (!strncmp(this_opt, "vram:", 5))
1980 vram = (simple_strtoul(this_opt+5, NULL, 0));
1981 else if (!strncmp(this_opt, "voffset:", 8))
1982 voffset = (simple_strtoul(this_opt
[all...]
/linux-master/drivers/video/fbdev/kyro/
H A Dfbdev.c567 char *this_opt; local
572 while ((this_opt = strsep(&options, ","))) {
573 if (!*this_opt)
575 if (strcmp(this_opt, "nopan") == 0) {
577 } else if (strcmp(this_opt, "nowrap") == 0) {
579 } else if (strcmp(this_opt, "nomtrr") == 0) {
582 mode_option = this_opt;
/linux-master/drivers/video/fbdev/omap/
H A Domapfb_main.c1849 char *this_opt = NULL; local
1857 while (!r && (this_opt = strsep(&options, ",")) != NULL) {
1858 if (!strncmp(this_opt, "accel", 5))
1860 else if (!strncmp(this_opt, "vram:", 5)) {
1864 vram = memparse(this_opt + 5, &suffix);
1875 else if (!strncmp(this_opt, "vxres:", 6))
1876 def_vxres = simple_strtoul(this_opt + 6, NULL, 0);
1877 else if (!strncmp(this_opt, "vyres:", 6))
1878 def_vyres = simple_strtoul(this_opt + 6, NULL, 0);
1879 else if (!strncmp(this_opt, "rotat
[all...]
/linux-master/drivers/video/fbdev/sis/
H A Dsis_main.c3965 char *this_opt; local
3972 while((this_opt = strsep(&options, ",")) != NULL) {
3974 if(!(*this_opt)) continue;
3976 if(!strncasecmp(this_opt, "off", 3)) {
3978 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) {
3980 sisfb_search_crt2type(this_opt + 14);
3981 } else if(!strncasecmp(this_opt, "tvmode:",7)) {
3982 sisfb_search_tvstd(this_opt + 7);
3983 } else if(!strncasecmp(this_opt, "tvstandard:",11)) {
3984 sisfb_search_tvstd(this_opt
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_base.c2558 char *this_opt; local
2563 while ((this_opt = strsep (&options, ",")) != NULL) {
2564 if (!*this_opt)
2567 if (!strncmp(this_opt, "noaccel", 7)) {
2569 } else if (!strncmp(this_opt, "mirror", 6)) {
2571 } else if (!strncmp(this_opt, "force_dfp", 9)) {
2573 } else if (!strncmp(this_opt, "panel_yres:", 11)) {
2574 panel_yres = simple_strtoul((this_opt+11), NULL, 0);
2575 } else if (!strncmp(this_opt, "backlight:", 10)) {
2576 backlight = simple_strtoul(this_opt
[all...]

Completed in 630 milliseconds

12