/drivers/video/fbdev/ |
D | grvga.c | 273 char *this_opt; in grvga_parse_custom() local 278 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom() 279 if (!*this_opt) in grvga_parse_custom() 284 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 288 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 292 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 296 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 300 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 304 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 308 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() [all …]
|
D | vesafb.c | 196 char *this_opt; in vesafb_setup() local 201 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup() 202 if (!*this_opt) continue; in vesafb_setup() 204 if (! strcmp(this_opt, "inverse")) in vesafb_setup() 206 else if (! strcmp(this_opt, "redraw")) in vesafb_setup() 208 else if (! strcmp(this_opt, "ypan")) in vesafb_setup() 210 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup() 212 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup() 214 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup() 216 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup() [all …]
|
D | efifb.c | 87 char *this_opt; in efifb_setup() local 91 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup() 92 if (!*this_opt) continue; in efifb_setup() 96 !strcmp(this_opt, efifb_dmi_list[i].optname)) { in efifb_setup() 103 if (!strncmp(this_opt, "base:", 5)) in efifb_setup() 104 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 105 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup() 106 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup() 107 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup() 108 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); in efifb_setup() [all …]
|
D | pxafb.c | 1856 static int parse_opt_mode(struct device *dev, const char *this_opt) in parse_opt_mode() argument 1860 const char *name = this_opt+5; in parse_opt_mode() 1915 static int parse_opt(struct device *dev, char *this_opt) in parse_opt() argument 1923 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt() 1924 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt() 1925 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt() 1926 return parse_opt_mode(dev, this_opt); in parse_opt() 1927 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt() 1928 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt() 1930 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt() [all …]
|
D | uvesafb.c | 1832 char *this_opt; in uvesafb_setup() local 1837 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup() 1838 if (!*this_opt) continue; in uvesafb_setup() 1840 if (!strcmp(this_opt, "redraw")) in uvesafb_setup() 1842 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup() 1844 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup() 1846 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup() 1848 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup() 1850 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup() 1851 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup() [all …]
|
D | fm2fb.c | 298 char *this_opt; in fm2fb_setup() local 303 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup() 304 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup() 306 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
|
D | au1100fb.c | 392 char *this_opt, *options; in au1100fb_setup() local 405 while ((this_opt = strsep(&options, ",")) != NULL) { in au1100fb_setup() 407 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup() 409 this_opt += 6; in au1100fb_setup() 411 if (!strncmp(this_opt, known_lcd_panels[i].name, in au1100fb_setup() 412 strlen(this_opt))) { in au1100fb_setup() 419 print_warn("Panel '%s' not supported!", this_opt); in au1100fb_setup() 425 print_warn("Unsupported option \"%s\"", this_opt); in au1100fb_setup()
|
D | pvr2fb.c | 1027 char *this_opt; in pvr2fb_setup() local 1034 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup() 1035 if (!*this_opt) in pvr2fb_setup() 1037 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup() 1039 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup() 1040 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup() 1041 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup() 1042 strcpy(output_arg, this_opt + 7); in pvr2fb_setup() 1043 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup() 1045 } else if (!strncmp(this_opt, "nowrap", 6)) { in pvr2fb_setup() [all …]
|
D | au1200fb.c | 1582 char *this_opt, *endptr; in au1200fb_setup() local 1591 while ((this_opt = strsep(&options, ",")) != NULL) { in au1200fb_setup() 1594 if (!strncmp(this_opt, "panel:", 6)) { in au1200fb_setup() 1598 this_opt += 6; in au1200fb_setup() 1601 li = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup() 1604 else if (strcmp(this_opt, "bs") == 0) in au1200fb_setup() 1608 if (!strcmp(this_opt, in au1200fb_setup() 1616 print_warn("Panel %s not supported!", this_opt); in au1200fb_setup() 1620 } else if (strncmp(this_opt, "nohwcursor", 10) == 0) in au1200fb_setup() 1622 else if (strncmp(this_opt, "devices:", 8) == 0) { in au1200fb_setup() [all …]
|
D | sstfb.c | 1276 char *this_opt; in sstfb_setup() local 1281 while ((this_opt = strsep(&options, ",")) != NULL) { in sstfb_setup() 1282 if (!*this_opt) continue; in sstfb_setup() 1284 f_ddprintk("option %s\n", this_opt); in sstfb_setup() 1286 if (!strcmp(this_opt, "vganopass")) in sstfb_setup() 1288 else if (!strcmp(this_opt, "vgapass")) in sstfb_setup() 1290 else if (!strcmp(this_opt, "clipping")) in sstfb_setup() 1292 else if (!strcmp(this_opt, "noclipping")) in sstfb_setup() 1294 else if (!strcmp(this_opt, "fastpci")) in sstfb_setup() 1296 else if (!strcmp(this_opt, "slowpci")) in sstfb_setup() [all …]
|
D | sa1100fb.c | 1306 char *this_opt; in sa1100fb_setup() 1311 while ((this_opt = strsep(&options, ",")) != NULL) { in sa1100fb_setup() 1313 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup() 1315 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup() 1317 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup() 1319 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() 1320 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup() 1322 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() 1326 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup() 1328 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() [all …]
|
D | valkyriefb.c | 565 char *this_opt; in valkyriefb_setup() local 570 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup() 571 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup() 572 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup() 576 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup() 577 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
|
D | platinumfb.c | 498 char *this_opt; in platinumfb_setup() local 503 while ((this_opt = strsep(&options, ",")) != NULL) { in platinumfb_setup() 504 if (!strncmp(this_opt, "vmode:", 6)) { in platinumfb_setup() 505 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup() 508 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinumfb_setup() 509 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
|
D | gbefb.c | 1101 char *this_opt; in gbefb_setup() local 1106 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup() 1107 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup() 1108 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup() 1112 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup() 1113 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup() 1118 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup() 1119 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup() 1125 mode_option = this_opt; in gbefb_setup()
|
D | atafb.c | 3032 char *this_opt; in atafb_setup() local 3038 while ((this_opt = strsep(&options, ",")) != NULL) { in atafb_setup() 3039 if (!*this_opt) in atafb_setup() 3041 if ((temp = get_video_mode(this_opt))) { in atafb_setup() 3043 mode_option = this_opt; in atafb_setup() 3044 } else if (!strcmp(this_opt, "inverse")) in atafb_setup() 3046 else if (!strncmp(this_opt, "hwscroll_", 9)) { in atafb_setup() 3047 hwscroll = simple_strtoul(this_opt + 9, NULL, 10); in atafb_setup() 3054 else if (!strcmp(this_opt, "mv300")) { in atafb_setup() 3057 } else if (!strncmp(this_opt, "external:", 9)) in atafb_setup() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 2328 char *this_opt; in matroxfb_setup() local 2335 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup() 2336 if (!*this_opt) continue; in matroxfb_setup() 2338 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup() 2340 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup() 2341 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup() 2342 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup() 2343 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup() 2354 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup() 2355 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup() [all …]
|
/drivers/video/fbdev/via/ |
D | viafbdev.c | 1965 char *this_opt; in viafb_setup() local 1976 while ((this_opt = strsep(&options, ",")) != NULL) { in viafb_setup() 1977 if (!*this_opt) in viafb_setup() 1980 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup() 1981 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup() 1982 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup() 1983 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup() 1984 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup() 1985 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup() 1987 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { in viafb_setup() [all …]
|
/drivers/video/fbdev/geode/ |
D | gx1fb_core.c | 409 char *this_opt; in gx1fb_setup() local 414 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup() 415 if (!*this_opt) in gx1fb_setup() 418 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup() 419 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup() 420 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup() 421 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup() 422 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup() 423 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup() 425 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
|
/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 277 static __inline__ char * get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument 283 p = OPT_STRVAL(this_opt, name); in get_opt_string() 295 static __inline__ int get_opt_int(const char *this_opt, const char *name, in get_opt_int() argument 301 if (!OPT_EQUAL(this_opt, name)) in get_opt_int() 304 *ret = OPT_INTVAL(this_opt, name); in get_opt_int() 308 static __inline__ int get_opt_bool(const char *this_opt, const char *name, in get_opt_bool() argument 314 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool() 315 if (this_opt[strlen(name)] == '=') in get_opt_bool() 316 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool() 321 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool() [all …]
|
/drivers/staging/xgifb/ |
D | XGI_main_26.c | 1605 char *this_opt; in XGIfb_setup() local 1612 while ((this_opt = strsep(&options, ",")) != NULL) { in XGIfb_setup() 1614 if (!*this_opt) in XGIfb_setup() 1617 if (!strncmp(this_opt, "mode:", 5)) { in XGIfb_setup() 1618 mode = this_opt + 5; in XGIfb_setup() 1619 } else if (!strncmp(this_opt, "vesa:", 5)) { in XGIfb_setup() 1620 vesa = xgifb_optval(this_opt, 5); in XGIfb_setup() 1621 } else if (!strncmp(this_opt, "vrate:", 6)) { in XGIfb_setup() 1622 refresh_rate = xgifb_optval(this_opt, 6); in XGIfb_setup() 1623 } else if (!strncmp(this_opt, "rate:", 5)) { in XGIfb_setup() [all …]
|
/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 1476 char *this_opt; in nvidiafb_setup() local 1482 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup() 1483 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup() 1486 p = this_opt + 9; in nvidiafb_setup() 1492 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup() 1494 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup() 1496 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup() 1498 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup() 1500 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup() 1502 } else if (!strncmp(this_opt, "paneltweak:", 11)) { in nvidiafb_setup() [all …]
|
/drivers/video/fbdev/i810/ |
D | i810_main.c | 1959 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/fbdev/kyro/ |
D | fbdev.c | 561 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/fbdev/sis/ |
D | sis_main.c | 3944 char *this_opt; in sisfb_setup() local 3951 while((this_opt = strsep(&options, ",")) != NULL) { in sisfb_setup() 3953 if(!(*this_opt)) continue; in sisfb_setup() 3955 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3957 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup() 3959 sisfb_search_crt2type(this_opt + 14); in sisfb_setup() 3960 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup() 3961 sisfb_search_tvstd(this_opt + 7); in sisfb_setup() 3962 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup() 3963 sisfb_search_tvstd(this_opt + 11); in sisfb_setup() [all …]
|
/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 1881 char *this_opt = NULL; in omapfb_setup() local 1889 while (!r && (this_opt = strsep(&options, ",")) != NULL) { in omapfb_setup() 1890 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup() 1892 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup() 1895 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); in omapfb_setup() 1914 else if (!strncmp(this_opt, "vxres:", 6)) in omapfb_setup() 1915 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1916 else if (!strncmp(this_opt, "vyres:", 6)) in omapfb_setup() 1917 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1918 else if (!strncmp(this_opt, "rotate:", 7)) in omapfb_setup() [all …]
|