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

12

/drivers/video/fbdev/
H A Dgrvga.c273 char *this_opt; local
278 while ((this_opt = strsep(&options, " ")) != NULL) {
279 if (!*this_opt)
284 screendata->pixclock = simple_strtoul(this_opt, NULL, 0);
288 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0);
292 screendata->right_margin = simple_strtoul(this_opt, NULL, 0);
296 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0);
300 screendata->left_margin = simple_strtoul(this_opt, NULL, 0);
304 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0);
308 screendata->lower_margin = simple_strtoul(this_opt, NUL
364 char *this_opt = strsep(&options, ","); local
[all...]
H A Defifb.c87 char *this_opt; local
91 while ((this_opt = strsep(&options, ",")) != NULL) {
92 if (!*this_opt) continue;
96 !strcmp(this_opt, efifb_dmi_list[i].optname)) {
103 if (!strncmp(this_opt, "base:", 5))
104 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0);
105 else if (!strncmp(this_opt, "stride:", 7))
106 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4;
107 else if (!strncmp(this_opt, "height:", 7))
108 screen_info.lfb_height = simple_strtoul(this_opt
[all...]
H A Dvesafb.c196 char *this_opt; local
201 while ((this_opt = strsep(&options, ",")) != NULL) {
202 if (!*this_opt) continue;
204 if (! strcmp(this_opt, "inverse"))
206 else if (! strcmp(this_opt, "redraw"))
208 else if (! strcmp(this_opt, "ypan"))
210 else if (! strcmp(this_opt, "ywrap"))
212 else if (! strcmp(this_opt, "vgapal"))
214 else if (! strcmp(this_opt, "pmipal"))
216 else if (! strncmp(this_opt, "mtr
[all...]
H A Dfm2fb.c298 char *this_opt; local
303 while ((this_opt = strsep(&options, ",")) != NULL) {
304 if (!strncmp(this_opt, "pal", 3))
306 else if (!strncmp(this_opt, "ntsc", 4))
H A Duvesafb.c1832 char *this_opt; local
1837 while ((this_opt = strsep(&options, ",")) != NULL) {
1838 if (!*this_opt) continue;
1840 if (!strcmp(this_opt, "redraw"))
1842 else if (!strcmp(this_opt, "ypan"))
1844 else if (!strcmp(this_opt, "ywrap"))
1846 else if (!strcmp(this_opt, "vgapal"))
1848 else if (!strcmp(this_opt, "pmipal"))
1850 else if (!strncmp(this_opt, "mtrr:", 5))
1851 mtrr = simple_strtoul(this_opt
[all...]
H A Dpxafb.c1856 static int parse_opt_mode(struct device *dev, const char *this_opt) argument
1860 const char *name = this_opt+5;
1915 static int parse_opt(struct device *dev, char *this_opt) argument
1923 if (!strncmp(this_opt, "vmem:", 5)) {
1924 video_mem_size = memparse(this_opt + 5, NULL);
1925 } else if (!strncmp(this_opt, "mode:", 5)) {
1926 return parse_opt_mode(dev, this_opt);
1927 } else if (!strncmp(this_opt, "pixclock:", 9)) {
1928 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0);
1930 } else if (!strncmp(this_opt, "lef
2017 char *this_opt; local
[all...]
H A Dau1100fb.c392 char *this_opt, *options; local
405 while ((this_opt = strsep(&options, ",")) != NULL) {
407 if (!strncmp(this_opt, "panel:", 6)) {
409 this_opt += 6;
411 if (!strncmp(this_opt, known_lcd_panels[i].name,
412 strlen(this_opt))) {
419 print_warn("Panel '%s' not supported!", this_opt);
425 print_warn("Unsupported option \"%s\"", this_opt);
H A Dsa1100fb.c1306 char *this_opt;
1311 while ((this_opt = strsep(&options, ",")) != NULL) {
1313 if (!strncmp(this_opt, "bpp:", 4))
1315 simple_strtoul(this_opt + 4, NULL, 0);
1317 if (!strncmp(this_opt, "lccr0:", 6))
1319 simple_strtoul(this_opt + 6, NULL, 0);
1320 if (!strncmp(this_opt, "lccr1:", 6)) {
1322 simple_strtoul(this_opt + 6, NULL, 0);
1326 if (!strncmp(this_opt, "lccr2:", 6)) {
1328 simple_strtoul(this_opt
[all...]
H A Dsstfb.c1276 char *this_opt; local
1281 while ((this_opt = strsep(&options, ",")) != NULL) {
1282 if (!*this_opt) continue;
1284 f_ddprintk("option %s\n", this_opt);
1286 if (!strcmp(this_opt, "vganopass"))
1288 else if (!strcmp(this_opt, "vgapass"))
1290 else if (!strcmp(this_opt, "clipping"))
1292 else if (!strcmp(this_opt, "noclipping"))
1294 else if (!strcmp(this_opt, "fastpci"))
1296 else if (!strcmp(this_opt, "slowpc
[all...]
H A Dpvr2fb.c1027 char *this_opt; local
1034 while ((this_opt = strsep(&options, ","))) {
1035 if (!*this_opt)
1037 if (!strcmp(this_opt, "inverse")) {
1039 } else if (!strncmp(this_opt, "cable:", 6)) {
1040 strcpy(cable_arg, this_opt + 6);
1041 } else if (!strncmp(this_opt, "output:", 7)) {
1042 strcpy(output_arg, this_opt + 7);
1043 } else if (!strncmp(this_opt, "nopan", 5)) {
1045 } else if (!strncmp(this_opt, "nowra
[all...]
H A Dgbefb.c1101 char *this_opt; local
1106 while ((this_opt = strsep(&options, ",")) != NULL) {
1107 if (!strncmp(this_opt, "monitor:", 8)) {
1108 if (!strncmp(this_opt + 8, "crt", 3)) {
1112 } else if (!strncmp(this_opt + 8, "1600sw", 6) ||
1113 !strncmp(this_opt + 8, "lcd", 3)) {
1118 } else if (!strncmp(this_opt, "mem:", 4)) {
1119 gbe_mem_size = memparse(this_opt + 4, &this_opt);
1125 mode_option = this_opt;
[all...]
H A Dau1200fb.c1582 char *this_opt, *endptr; local
1591 while ((this_opt = strsep(&options, ",")) != NULL) {
1594 if (!strncmp(this_opt, "panel:", 6)) {
1598 this_opt += 6;
1601 li = simple_strtol(this_opt, &endptr, 0);
1604 else if (strcmp(this_opt, "bs") == 0)
1608 if (!strcmp(this_opt,
1616 print_warn("Panel %s not supported!", this_opt);
1620 } else if (strncmp(this_opt, "nohwcursor", 10) == 0)
1622 else if (strncmp(this_opt, "device
[all...]
H A Dplatinumfb.c498 char *this_opt; local
503 while ((this_opt = strsep(&options, ",")) != NULL) {
504 if (!strncmp(this_opt, "vmode:", 6)) {
505 int vmode = simple_strtoul(this_opt+6, NULL, 0);
508 } else if (!strncmp(this_opt, "cmode:", 6)) {
509 int depth = simple_strtoul(this_opt+6, NULL, 0);
H A Dvalkyriefb.c565 char *this_opt; local
570 while ((this_opt = strsep(&options, ",")) != NULL) {
571 if (!strncmp(this_opt, "vmode:", 6)) {
572 int vmode = simple_strtoul(this_opt+6, NULL, 0);
576 else if (!strncmp(this_opt, "cmode:", 6)) {
577 int depth = simple_strtoul(this_opt+6, NULL, 0);
H A D68328fb.c409 char *this_opt;
415 while ((this_opt = strsep(&options, ",")) != NULL) {
416 if (!*this_opt)
418 if (!strncmp(this_opt, "disable", 7))
H A Dvfb.c455 char *this_opt; local
467 while ((this_opt = strsep(&options, ",")) != NULL) {
468 if (!*this_opt)
471 if (!strcmp(this_opt, "disable"))
/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c2328 char *this_opt; local
2335 while ((this_opt = strsep(&options, ",")) != NULL) {
2336 if (!*this_opt) continue;
2338 dprintk("matroxfb_setup: option %s\n", this_opt);
2340 if (!strncmp(this_opt, "dev:", 4))
2341 dev = simple_strtoul(this_opt+4, NULL, 0);
2342 else if (!strncmp(this_opt, "depth:", 6)) {
2343 switch (simple_strtoul(this_opt+6, NULL, 0)) {
2354 } else if (!strncmp(this_opt, "xres:", 5))
2355 xres = simple_strtoul(this_opt
[all...]
/drivers/video/fbdev/geode/
H A Dgx1fb_core.c409 char *this_opt; local
414 while ((this_opt = strsep(&options, ","))) {
415 if (!*this_opt)
418 if (!strncmp(this_opt, "mode:", 5))
419 strlcpy(mode_option, this_opt + 5, sizeof(mode_option));
420 else if (!strncmp(this_opt, "crt:", 4))
421 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0);
422 else if (!strncmp(this_opt, "panel:", 6))
423 strlcpy(panel_option, this_opt + 6, sizeof(panel_option));
425 strlcpy(mode_option, this_opt, sizeo
[all...]
/drivers/video/fbdev/via/
H A Dviafbdev.c1965 char *this_opt; local
1976 while ((this_opt = strsep(&options, ",")) != NULL) {
1977 if (!*this_opt)
1980 if (!strncmp(this_opt, "viafb_mode1=", 12)) {
1981 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL);
1982 } else if (!strncmp(this_opt, "viafb_mode=", 11)) {
1983 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL);
1984 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) {
1985 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0)
1987 } else if (!strncmp(this_opt, "viafb_bp
[all...]
/drivers/staging/xgifb/
H A DXGI_main_26.c1605 char *this_opt; local
1612 while ((this_opt = strsep(&options, ",")) != NULL) {
1614 if (!*this_opt)
1617 if (!strncmp(this_opt, "mode:", 5)) {
1618 mode = this_opt + 5;
1619 } else if (!strncmp(this_opt, "vesa:", 5)) {
1620 vesa = xgifb_optval(this_opt, 5);
1621 } else if (!strncmp(this_opt, "vrate:", 6)) {
1622 refresh_rate = xgifb_optval(this_opt, 6);
1623 } else if (!strncmp(this_opt, "rat
[all...]
/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c277 static __inline__ char * get_opt_string(const char *this_opt, const char *name) argument
283 p = OPT_STRVAL(this_opt, name);
295 static __inline__ int get_opt_int(const char *this_opt, const char *name, argument
301 if (!OPT_EQUAL(this_opt, name))
304 *ret = OPT_INTVAL(this_opt, name);
308 static __inline__ int get_opt_bool(const char *this_opt, const char *name, argument
314 if (OPT_EQUAL(this_opt, name)) {
315 if (this_opt[strlen(name)] == '=')
316 *ret = simple_strtoul(this_opt + strlen(name) + 1,
321 if (OPT_EQUAL(this_opt, "n
331 char *this_opt; local
[all...]
/drivers/video/fbdev/nvidia/
H A Dnvidia.c1476 char *this_opt; local
1482 while ((this_opt = strsep(&options, ",")) != NULL) {
1483 if (!strncmp(this_opt, "forceCRTC", 9)) {
1486 p = this_opt + 9;
1492 } else if (!strncmp(this_opt, "flatpanel", 9)) {
1494 } else if (!strncmp(this_opt, "hwcur", 5)) {
1496 } else if (!strncmp(this_opt, "noaccel", 6)) {
1498 } else if (!strncmp(this_opt, "noscale", 7)) {
1500 } else if (!strncmp(this_opt, "reverse_i2c", 11)) {
1502 } else if (!strncmp(this_opt, "paneltwea
[all...]
/drivers/video/fbdev/i810/
H A Di810_main.c1959 char *this_opt, *suffix = NULL; local
1964 while ((this_opt = strsep(&options, ",")) != NULL) {
1965 if (!strncmp(this_opt, "mtrr", 4))
1967 else if (!strncmp(this_opt, "accel", 5))
1969 else if (!strncmp(this_opt, "extvga", 6))
1971 else if (!strncmp(this_opt, "sync", 4))
1973 else if (!strncmp(this_opt, "vram:", 5))
1974 vram = (simple_strtoul(this_opt+5, NULL, 0));
1975 else if (!strncmp(this_opt, "voffset:", 8))
1976 voffset = (simple_strtoul(this_opt
[all...]
/drivers/video/fbdev/kyro/
H A Dfbdev.c561 char *this_opt; local
566 while ((this_opt = strsep(&options, ","))) {
567 if (!*this_opt)
569 if (strcmp(this_opt, "nopan") == 0) {
571 } else if (strcmp(this_opt, "nowrap") == 0) {
574 } else if (strcmp(this_opt, "nomtrr") == 0) {
578 mode_option = this_opt;
/drivers/video/fbdev/omap/
H A Domapfb_main.c1881 char *this_opt = NULL; local
1889 while (!r && (this_opt = strsep(&options, ",")) != NULL) {
1890 if (!strncmp(this_opt, "accel", 5))
1892 else if (!strncmp(this_opt, "vram:", 5)) {
1895 vram = (simple_strtoul(this_opt + 5, &suffix, 0));
1914 else if (!strncmp(this_opt, "vxres:", 6))
1915 def_vxres = simple_strtoul(this_opt + 6, NULL, 0);
1916 else if (!strncmp(this_opt, "vyres:", 6))
1917 def_vyres = simple_strtoul(this_opt + 6, NULL, 0);
1918 else if (!strncmp(this_opt, "rotat
[all...]

Completed in 2225 milliseconds

12