Home
last modified time | relevance | path

Searched refs:this_opt (Results 1 – 25 of 39) sorted by relevance

12

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

12