Home
last modified time | relevance | path

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

12

/drivers/video/
Dvesafb.c188 char *this_opt; in vesafb_setup() local
193 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
194 if (!*this_opt) continue; in vesafb_setup()
196 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
198 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
200 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
202 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
204 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
206 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
208 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup()
[all …]
Defifb.c172 char *this_opt; in efifb_setup() local
178 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup()
179 if (!*this_opt) continue; in efifb_setup()
182 if (!strcmp(this_opt, dmi_list[i].optname) && in efifb_setup()
190 if (!strncmp(this_opt, "base:", 5)) in efifb_setup()
191 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup()
192 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup()
193 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup()
194 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup()
195 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); in efifb_setup()
[all …]
Dpxafb.c1785 static int __devinit parse_opt_mode(struct device *dev, const char *this_opt) in parse_opt_mode() argument
1789 const char *name = this_opt+5; in parse_opt_mode()
1844 static int __devinit parse_opt(struct device *dev, char *this_opt) in parse_opt() argument
1852 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt()
1853 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt()
1854 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt()
1855 return parse_opt_mode(dev, this_opt); in parse_opt()
1856 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt()
1857 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1859 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt()
[all …]
Dau1100fb.c682 char* this_opt; in au1100fb_setup() local
693 while ((this_opt = strsep(&options,",")) != NULL) { in au1100fb_setup()
695 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup()
697 this_opt += 6; in au1100fb_setup()
699 if (!strncmp(this_opt, in au1100fb_setup()
701 strlen(this_opt))) { in au1100fb_setup()
707 print_warn("Panel %s not supported!", this_opt); in au1100fb_setup()
710 if (!strncmp(this_opt, "nocursor", 8)) { in au1100fb_setup()
711 this_opt += 8; in au1100fb_setup()
716 else if (isdigit(this_opt[0])) { in au1100fb_setup()
[all …]
Duvesafb.c1881 char *this_opt; in uvesafb_setup() local
1886 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1887 if (!*this_opt) continue; in uvesafb_setup()
1889 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1891 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1893 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1895 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1897 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1899 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1900 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
[all …]
Dfm2fb.c299 char *this_opt; in fm2fb_setup() local
304 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup()
305 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup()
307 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
Dpvr2fb.c1026 char *this_opt; in pvr2fb_setup() local
1033 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup()
1034 if (!*this_opt) in pvr2fb_setup()
1036 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup()
1038 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup()
1039 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup()
1040 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup()
1041 strcpy(output_arg, this_opt + 7); in pvr2fb_setup()
1042 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup()
1044 } else if (!strncmp(this_opt, "nowrap", 6)) { in pvr2fb_setup()
[all …]
Dsstfb.c1277 char *this_opt; in sstfb_setup() local
1282 while ((this_opt = strsep(&options, ",")) != NULL) { in sstfb_setup()
1283 if (!*this_opt) continue; in sstfb_setup()
1285 f_ddprintk("option %s\n", this_opt); in sstfb_setup()
1287 if (!strcmp(this_opt, "vganopass")) in sstfb_setup()
1289 else if (!strcmp(this_opt, "vgapass")) in sstfb_setup()
1291 else if (!strcmp(this_opt, "clipping")) in sstfb_setup()
1293 else if (!strcmp(this_opt, "noclipping")) in sstfb_setup()
1295 else if (!strcmp(this_opt, "fastpci")) in sstfb_setup()
1297 else if (!strcmp(this_opt, "slowpci")) in sstfb_setup()
[all …]
Dvalkyriefb.c557 char *this_opt; in valkyriefb_setup() local
562 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup()
563 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup()
564 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
568 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup()
569 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
Dsa1100fb.c1539 char *this_opt; in sa1100fb_setup()
1544 while ((this_opt = strsep(&options, ",")) != NULL) { in sa1100fb_setup()
1546 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup()
1548 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup()
1550 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup()
1552 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1553 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup()
1555 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1559 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup()
1561 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
[all …]
Dgbefb.c1102 char *this_opt; in gbefb_setup() local
1107 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup()
1108 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup()
1109 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup()
1113 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup()
1114 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup()
1119 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup()
1120 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup()
1126 mode_option = this_opt; in gbefb_setup()
Dplatinumfb.c492 char *this_opt; in platinumfb_setup() local
497 while ((this_opt = strsep(&options, ",")) != NULL) { in platinumfb_setup()
498 if (!strncmp(this_opt, "vmode:", 6)) { in platinumfb_setup()
499 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
502 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinumfb_setup()
503 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
Datafb.c3029 char *this_opt; in atafb_setup() local
3035 while ((this_opt = strsep(&options, ",")) != NULL) { in atafb_setup()
3036 if (!*this_opt) in atafb_setup()
3038 if ((temp = get_video_mode(this_opt))) { in atafb_setup()
3040 mode_option = this_opt; in atafb_setup()
3041 } else if (!strcmp(this_opt, "inverse")) in atafb_setup()
3043 else if (!strncmp(this_opt, "hwscroll_", 9)) { in atafb_setup()
3044 hwscroll = simple_strtoul(this_opt + 9, NULL, 10); in atafb_setup()
3051 else if (!strcmp(this_opt, "mv300")) { in atafb_setup()
3054 } else if (!strncmp(this_opt, "external:", 9)) in atafb_setup()
[all …]
D68328fb.c416 char *this_opt; in mc68x328fb_setup()
422 while ((this_opt = strsep(&options, ",")) != NULL) { in mc68x328fb_setup()
423 if (!*this_opt) in mc68x328fb_setup()
425 if (!strncmp(this_opt, "disable", 7)) in mc68x328fb_setup()
Dvfb.c452 char *this_opt; in vfb_setup() local
464 while ((this_opt = strsep(&options, ",")) != NULL) { in vfb_setup()
465 if (!*this_opt) in vfb_setup()
468 if (!strcmp(this_opt, "disable")) in vfb_setup()
/drivers/video/matrox/
Dmatroxfb_base.c2311 char *this_opt; in matroxfb_setup() local
2318 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2319 if (!*this_opt) continue; in matroxfb_setup()
2321 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2323 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2324 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2325 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2326 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2337 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2338 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
[all …]
/drivers/video/via/
Dviafbdev.c2395 char *this_opt; in viafb_setup() local
2401 while ((this_opt = strsep(&options, ",")) != NULL) { in viafb_setup()
2402 if (!*this_opt) in viafb_setup()
2405 if (!strncmp(this_opt, "viafb_mode1=", 12)) in viafb_setup()
2406 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup()
2407 else if (!strncmp(this_opt, "viafb_mode=", 11)) in viafb_setup()
2408 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup()
2409 else if (!strncmp(this_opt, "viafb_bpp1=", 11)) in viafb_setup()
2410 strict_strtoul(this_opt + 11, 0, in viafb_setup()
2412 else if (!strncmp(this_opt, "viafb_bpp=", 10)) in viafb_setup()
[all …]
/drivers/video/geode/
Dgx1fb_core.c411 char *this_opt; in gx1fb_setup() local
416 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup()
417 if (!*this_opt) in gx1fb_setup()
420 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup()
421 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
422 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup()
423 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup()
424 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup()
425 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup()
427 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
/drivers/video/intelfb/
Dintelfbdrv.c276 static __inline__ char * get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument
282 p = OPT_STRVAL(this_opt, name); in get_opt_string()
294 static __inline__ int get_opt_int(const char *this_opt, const char *name, in get_opt_int() argument
300 if (!OPT_EQUAL(this_opt, name)) in get_opt_int()
303 *ret = OPT_INTVAL(this_opt, name); in get_opt_int()
307 static __inline__ int get_opt_bool(const char *this_opt, const char *name, in get_opt_bool() argument
313 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool()
314 if (this_opt[strlen(name)] == '=') in get_opt_bool()
315 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool()
320 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool()
[all …]
/drivers/video/nvidia/
Dnvidia.c1485 char *this_opt; in nvidiafb_setup() local
1491 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup()
1492 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup()
1495 p = this_opt + 9; in nvidiafb_setup()
1501 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup()
1503 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup()
1505 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup()
1507 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup()
1509 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup()
1511 } else if (!strncmp(this_opt, "paneltweak:", 11)) { in nvidiafb_setup()
[all …]
/drivers/video/i810/
Di810_main.c1959 char *this_opt, *suffix = NULL; in i810fb_setup() local
1964 while ((this_opt = strsep(&options, ",")) != NULL) { in i810fb_setup()
1965 if (!strncmp(this_opt, "mtrr", 4)) in i810fb_setup()
1967 else if (!strncmp(this_opt, "accel", 5)) in i810fb_setup()
1969 else if (!strncmp(this_opt, "extvga", 6)) in i810fb_setup()
1971 else if (!strncmp(this_opt, "sync", 4)) in i810fb_setup()
1973 else if (!strncmp(this_opt, "vram:", 5)) in i810fb_setup()
1974 vram = (simple_strtoul(this_opt+5, NULL, 0)); in i810fb_setup()
1975 else if (!strncmp(this_opt, "voffset:", 8)) in i810fb_setup()
1976 voffset = (simple_strtoul(this_opt+8, NULL, 0)); in i810fb_setup()
[all …]
/drivers/video/kyro/
Dfbdev.c561 char *this_opt; in kyrofb_setup() local
566 while ((this_opt = strsep(&options, ","))) { in kyrofb_setup()
567 if (!*this_opt) in kyrofb_setup()
569 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup()
571 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup()
574 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup()
578 mode_option = this_opt; in kyrofb_setup()
/drivers/video/sis/
Dsis_main.c3971 char *this_opt; in sisfb_setup() local
3978 while((this_opt = strsep(&options, ",")) != NULL) { in sisfb_setup()
3980 if(!(*this_opt)) continue; in sisfb_setup()
3982 if(!strnicmp(this_opt, "off", 3)) { in sisfb_setup()
3984 } else if(!strnicmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup()
3986 sisfb_search_crt2type(this_opt + 14); in sisfb_setup()
3987 } else if(!strnicmp(this_opt, "tvmode:",7)) { in sisfb_setup()
3988 sisfb_search_tvstd(this_opt + 7); in sisfb_setup()
3989 } else if(!strnicmp(this_opt, "tvstandard:",11)) { in sisfb_setup()
3990 sisfb_search_tvstd(this_opt + 11); in sisfb_setup()
[all …]
/drivers/video/omap/
Domapfb_main.c1851 char *this_opt = NULL; in omapfb_setup() local
1859 while (!r && (this_opt = strsep(&options, ",")) != NULL) { in omapfb_setup()
1860 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup()
1862 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup()
1865 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); in omapfb_setup()
1884 else if (!strncmp(this_opt, "vxres:", 6)) in omapfb_setup()
1885 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup()
1886 else if (!strncmp(this_opt, "vyres:", 6)) in omapfb_setup()
1887 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup()
1888 else if (!strncmp(this_opt, "rotate:", 7)) in omapfb_setup()
[all …]
/drivers/video/aty/
Dradeon_base.c2478 char *this_opt; in radeonfb_setup() local
2483 while ((this_opt = strsep (&options, ",")) != NULL) { in radeonfb_setup()
2484 if (!*this_opt) in radeonfb_setup()
2487 if (!strncmp(this_opt, "noaccel", 7)) { in radeonfb_setup()
2489 } else if (!strncmp(this_opt, "mirror", 6)) { in radeonfb_setup()
2491 } else if (!strncmp(this_opt, "force_dfp", 9)) { in radeonfb_setup()
2493 } else if (!strncmp(this_opt, "panel_yres:", 11)) { in radeonfb_setup()
2494 panel_yres = simple_strtoul((this_opt+11), NULL, 0); in radeonfb_setup()
2495 } else if (!strncmp(this_opt, "backlight:", 10)) { in radeonfb_setup()
2496 backlight = simple_strtoul(this_opt+10, NULL, 0); in radeonfb_setup()
[all …]

12