Home
last modified time | relevance | path

Searched refs:this_opt (Results 1 – 25 of 36) 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 Dpxafb.c1840 static int parse_opt_mode(struct device *dev, const char *this_opt, in parse_opt_mode() argument
1843 const char *name = this_opt+5; in parse_opt_mode()
1898 static int parse_opt(struct device *dev, char *this_opt, in parse_opt() argument
1906 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt()
1907 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt()
1908 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt()
1909 return parse_opt_mode(dev, this_opt, inf); in parse_opt()
1910 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt()
1911 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1913 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt()
[all …]
H A Duvesafb.c1805 char *this_opt; in uvesafb_setup() local
1810 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1811 if (!*this_opt) continue; in uvesafb_setup()
1813 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1815 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1817 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1819 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1821 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1823 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1824 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 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.c549 char *this_opt; in valkyriefb_setup() local
554 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup()
555 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup()
556 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
560 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup()
561 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
H A Dau1100fb.c683 char *this_opt, *options; in au1100fb_setup() local
696 while ((this_opt = strsep(&options, ",")) != NULL) { in au1100fb_setup()
698 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup()
700 this_opt += 6; in au1100fb_setup()
702 if (!strncmp(this_opt, known_lcd_panels[i].name, in au1100fb_setup()
703 strlen(this_opt))) { in au1100fb_setup()
710 pr_warn("Panel '%s' not supported!", this_opt); in au1100fb_setup()
716 pr_warn("Unsupported option \"%s\"", this_opt); in au1100fb_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.c1090 char *this_opt; in gbefb_setup() local
1095 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup()
1096 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup()
1097 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup()
1101 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup()
1102 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup()
1107 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup()
1108 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup()
1114 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()
H A Dimsttfb.c1572 char *this_opt; in imsttfb_setup() local
1577 while ((this_opt = strsep(&options, ",")) != NULL) { in imsttfb_setup()
1578 if (!strncmp(this_opt, "font:", 5)) { in imsttfb_setup()
1582 p = this_opt + 5; in imsttfb_setup()
1586 memcpy(fontname, this_opt + 5, i); in imsttfb_setup()
1588 } else if (!strncmp(this_opt, "inverse", 7)) { in imsttfb_setup()
1593 else if (!strncmp(this_opt, "vmode:", 6)) { in imsttfb_setup()
1594 int vmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup()
1597 } else if (!strncmp(this_opt, "cmode:", 6)) { in imsttfb_setup()
1598 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup()
H A Dpm3fb.c1515 char *this_opt; in pm3fb_setup() local
1521 while ((this_opt = strsep(&options, ",")) != NULL) { in pm3fb_setup()
1522 if (!*this_opt) in pm3fb_setup()
1524 else if (!strncmp(this_opt, "noaccel", 7)) in pm3fb_setup()
1526 else if (!strncmp(this_opt, "hwcursor=", 9)) in pm3fb_setup()
1527 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); in pm3fb_setup()
1528 else if (!strncmp(this_opt, "nomtrr", 6)) in pm3fb_setup()
1531 mode_option = this_opt; in pm3fb_setup()
H A Dcontrolfb.c799 char *this_opt; in control_setup() local
804 while ((this_opt = strsep(&options, ",")) != NULL) { in control_setup()
805 if (!strncmp(this_opt, "vmode:", 6)) { in control_setup()
806 int vmode = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
810 } else if (!strncmp(this_opt, "cmode:", 6)) { in control_setup()
811 int depth = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c2340 char *this_opt; in matroxfb_setup() local
2347 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2348 if (!*this_opt) continue; in matroxfb_setup()
2350 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2352 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2353 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2354 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2355 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2366 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2367 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.c1468 char *this_opt; in nvidiafb_setup() local
1474 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup()
1475 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup()
1478 p = this_opt + 9; in nvidiafb_setup()
1484 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup()
1486 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup()
1488 } else if (!strncmp(this_opt, "noaccel", 7)) { in nvidiafb_setup()
1490 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup()
1492 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup()
1494 } 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/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 …]
H A Datyfb_base.c3843 char *this_opt; in atyfb_setup() local
3848 while ((this_opt = strsep(&options, ",")) != NULL) { in atyfb_setup()
3849 if (!strncmp(this_opt, "noaccel", 7)) { in atyfb_setup()
3851 } else if (!strncmp(this_opt, "nomtrr", 6)) { in atyfb_setup()
3853 } else if (!strncmp(this_opt, "vram:", 5)) in atyfb_setup()
3854 vram = simple_strtoul(this_opt + 5, NULL, 0); in atyfb_setup()
3855 else if (!strncmp(this_opt, "pll:", 4)) in atyfb_setup()
3856 pll = simple_strtoul(this_opt + 4, NULL, 0); in atyfb_setup()
3857 else if (!strncmp(this_opt, "mclk:", 5)) in atyfb_setup()
3858 mclk = simple_strtoul(this_opt + 5, NULL, 0); in atyfb_setup()
[all …]

12