Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/video/fbdev/
Dgrvga.c273 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 …]
Dvesafb.c203 char *this_opt; in vesafb_setup() local
208 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
209 if (!*this_opt) continue; in vesafb_setup()
211 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
213 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
215 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
217 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
219 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
221 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
223 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup()
[all …]
Defifb.c87 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 …]
Dpxafb.c1855 static int parse_opt_mode(struct device *dev, const char *this_opt) in parse_opt_mode() argument
1859 const char *name = this_opt+5; in parse_opt_mode()
1914 static int parse_opt(struct device *dev, char *this_opt) in parse_opt() argument
1922 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt()
1923 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt()
1924 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt()
1925 return parse_opt_mode(dev, this_opt); in parse_opt()
1926 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt()
1927 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1929 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt()
[all …]
Duvesafb.c1831 char *this_opt; in uvesafb_setup() local
1836 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1837 if (!*this_opt) continue; in uvesafb_setup()
1839 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1841 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1843 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1845 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1847 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1849 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1850 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
[all …]
Dfm2fb.c298 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()
Dau1100fb.c392 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()
Dpvr2fb.c1025 char *this_opt; in pvr2fb_setup() local
1032 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup()
1033 if (!*this_opt) in pvr2fb_setup()
1035 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup()
1037 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup()
1038 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup()
1039 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup()
1040 strcpy(output_arg, this_opt + 7); in pvr2fb_setup()
1041 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup()
1043 } else if (!strncmp(this_opt, "nowrap", 6)) { in pvr2fb_setup()
[all …]
Dau1200fb.c1582 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 …]
Dsa1100fb.c1320 char *this_opt; in sa1100fb_setup()
1325 while ((this_opt = strsep(&options, ",")) != NULL) { in sa1100fb_setup()
1327 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup()
1329 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup()
1331 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup()
1333 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1334 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup()
1336 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1340 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup()
1342 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
[all …]
Dsstfb.c1276 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 …]
Dvalkyriefb.c565 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()
Dplatinumfb.c498 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()
Dgbefb.c1100 char *this_opt; in gbefb_setup() local
1105 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup()
1106 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup()
1107 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup()
1111 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup()
1112 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup()
1117 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup()
1118 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup()
1124 mode_option = this_opt; in gbefb_setup()
D68328fb.c409 char *this_opt; in mc68x328fb_setup()
415 while ((this_opt = strsep(&options, ",")) != NULL) { in mc68x328fb_setup()
416 if (!*this_opt) in mc68x328fb_setup()
418 if (!strncmp(this_opt, "disable", 7)) in mc68x328fb_setup()
Datafb.c3032 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 …]
Dvfb.c462 char *this_opt; in vfb_setup() local
474 while ((this_opt = strsep(&options, ",")) != NULL) { in vfb_setup()
475 if (!*this_opt) in vfb_setup()
478 if (!strcmp(this_opt, "disable")) in vfb_setup()
Dmacfb.c525 char *this_opt; in macfb_setup() local
530 while ((this_opt = strsep(&options, ",")) != NULL) { in macfb_setup()
531 if (!*this_opt) in macfb_setup()
534 if (!strcmp(this_opt, "inverse")) in macfb_setup()
537 if (!strcmp(this_opt, "vidtest")) in macfb_setup()
Dimsttfb.c1549 char *this_opt; in imsttfb_setup() local
1554 while ((this_opt = strsep(&options, ",")) != NULL) { in imsttfb_setup()
1555 if (!strncmp(this_opt, "font:", 5)) { in imsttfb_setup()
1559 p = this_opt + 5; in imsttfb_setup()
1563 memcpy(fontname, this_opt + 5, i); in imsttfb_setup()
1565 } else if (!strncmp(this_opt, "inverse", 7)) { in imsttfb_setup()
1570 else if (!strncmp(this_opt, "vmode:", 6)) { in imsttfb_setup()
1571 int vmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup()
1574 } else if (!strncmp(this_opt, "cmode:", 6)) { in imsttfb_setup()
1575 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup()
Dcontrolfb.c551 char *this_opt; in control_setup() local
556 while ((this_opt = strsep(&options, ",")) != NULL) { in control_setup()
557 if (!strncmp(this_opt, "vmode:", 6)) { in control_setup()
558 int vmode = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
562 } else if (!strncmp(this_opt, "cmode:", 6)) { in control_setup()
563 int depth = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
Dpm3fb.c1509 char *this_opt; in pm3fb_setup() local
1515 while ((this_opt = strsep(&options, ",")) != NULL) { in pm3fb_setup()
1516 if (!*this_opt) in pm3fb_setup()
1518 else if (!strncmp(this_opt, "noaccel", 7)) in pm3fb_setup()
1520 else if (!strncmp(this_opt, "hwcursor=", 9)) in pm3fb_setup()
1521 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); in pm3fb_setup()
1522 else if (!strncmp(this_opt, "nomtrr", 6)) in pm3fb_setup()
1525 mode_option = this_opt; in pm3fb_setup()
Dpm2fb.c1763 char *this_opt; in pm2fb_setup() local
1768 while ((this_opt = strsep(&options, ",")) != NULL) { in pm2fb_setup()
1769 if (!*this_opt) in pm2fb_setup()
1771 if (!strcmp(this_opt, "lowhsync")) in pm2fb_setup()
1773 else if (!strcmp(this_opt, "lowvsync")) in pm2fb_setup()
1775 else if (!strncmp(this_opt, "hwcursor=", 9)) in pm2fb_setup()
1776 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); in pm2fb_setup()
1777 else if (!strncmp(this_opt, "nomtrr", 6)) in pm2fb_setup()
1779 else if (!strncmp(this_opt, "noaccel", 7)) in pm2fb_setup()
1782 mode_option = this_opt; in pm2fb_setup()
Dneofb.c2186 char *this_opt; in neofb_setup() local
2193 while ((this_opt = strsep(&options, ",")) != NULL) { in neofb_setup()
2194 if (!*this_opt) in neofb_setup()
2197 if (!strncmp(this_opt, "internal", 8)) in neofb_setup()
2199 else if (!strncmp(this_opt, "external", 8)) in neofb_setup()
2201 else if (!strncmp(this_opt, "nostretch", 9)) in neofb_setup()
2203 else if (!strncmp(this_opt, "nopciburst", 10)) in neofb_setup()
2205 else if (!strncmp(this_opt, "libretto", 8)) in neofb_setup()
2208 mode_option = this_opt; in neofb_setup()
Dtdfxfb.c1570 char *this_opt; in tdfxfb_setup() local
1575 while ((this_opt = strsep(&options, ",")) != NULL) { in tdfxfb_setup()
1576 if (!*this_opt) in tdfxfb_setup()
1578 if (!strcmp(this_opt, "nopan")) { in tdfxfb_setup()
1580 } else if (!strcmp(this_opt, "nowrap")) { in tdfxfb_setup()
1582 } else if (!strncmp(this_opt, "hwcursor=", 9)) { in tdfxfb_setup()
1583 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); in tdfxfb_setup()
1584 } else if (!strncmp(this_opt, "nomtrr", 6)) { in tdfxfb_setup()
1587 mode_option = this_opt; in tdfxfb_setup()
Dps3fb.c1272 char *this_opt = strsep(&options, ","); in ps3fb_setup() local
1274 if (!this_opt) in ps3fb_setup()
1276 if (!*this_opt) in ps3fb_setup()
1278 if (!strncmp(this_opt, "mode:", 5)) in ps3fb_setup()
1279 ps3fb_mode = simple_strtoul(this_opt + 5, NULL, 0); in ps3fb_setup()
1281 mode_option = this_opt; in ps3fb_setup()
Digafb.c561 char *this_opt; in igafb_setup() local
566 while ((this_opt = strsep(&options, ",")) != NULL) { in igafb_setup()
Dtgafb.c1568 char *this_opt; local
1571 while ((this_opt = strsep(&arg, ","))) {
1572 if (!*this_opt)
1574 if (!strncmp(this_opt, "mode:", 5))
1575 mode_option = this_opt+5;
1579 this_opt);
Dcirrusfb.c2330 char *this_opt; in cirrusfb_setup() local
2335 while ((this_opt = strsep(&options, ",")) != NULL) { in cirrusfb_setup()
2336 if (!*this_opt) in cirrusfb_setup()
2339 if (!strcmp(this_opt, "noaccel")) in cirrusfb_setup()
2341 else if (!strncmp(this_opt, "mode:", 5)) in cirrusfb_setup()
2342 mode_option = this_opt + 5; in cirrusfb_setup()
2344 mode_option = this_opt; in cirrusfb_setup()
Damifb.c2348 char *this_opt; in amifb_setup() local
2353 while ((this_opt = strsep(&options, ",")) != NULL) { in amifb_setup()
2354 if (!*this_opt) in amifb_setup()
2356 if (!strcmp(this_opt, "inverse")) { in amifb_setup()
2358 } else if (!strcmp(this_opt, "ilbm")) in amifb_setup()
2360 else if (!strncmp(this_opt, "monitorcap:", 11)) in amifb_setup()
2361 amifb_setup_mcap(this_opt + 11); in amifb_setup()
2362 else if (!strncmp(this_opt, "fstart:", 7)) in amifb_setup()
2363 min_fstrt = simple_strtoul(this_opt + 7, NULL, 0); in amifb_setup()
2365 mode_option = this_opt; in amifb_setup()
Dtmiofb.c1011 char *this_opt; in tmiofb_setup() local
1016 while ((this_opt = strsep(&options, ",")) != NULL) { in tmiofb_setup()
1017 if (!*this_opt) in tmiofb_setup()
Dvga16fb.c1292 char *this_opt; in vga16fb_setup() local
1297 while ((this_opt = strsep(&options, ",")) != NULL) { in vga16fb_setup()
1298 if (!*this_opt) continue; in vga16fb_setup()
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_base.c2318 char *this_opt; in matroxfb_setup() local
2325 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2326 if (!*this_opt) continue; in matroxfb_setup()
2328 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2330 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2331 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2332 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2333 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2344 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2345 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/geode/
Dgx1fb_core.c407 char *this_opt; in gx1fb_setup() local
412 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup()
413 if (!*this_opt) in gx1fb_setup()
416 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup()
417 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
418 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup()
419 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup()
420 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup()
421 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup()
423 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
/linux-4.4.14/drivers/video/fbdev/via/
Dviafbdev.c1964 char *this_opt; in viafb_setup() local
1975 while ((this_opt = strsep(&options, ",")) != NULL) { in viafb_setup()
1976 if (!*this_opt) in viafb_setup()
1979 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup()
1980 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup()
1981 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup()
1982 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup()
1983 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup()
1984 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup()
1986 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { in viafb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c273 static __inline__ char * get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument
279 p = OPT_STRVAL(this_opt, name); in get_opt_string()
291 static __inline__ int get_opt_int(const char *this_opt, const char *name, in get_opt_int() argument
297 if (!OPT_EQUAL(this_opt, name)) in get_opt_int()
300 *ret = OPT_INTVAL(this_opt, name); in get_opt_int()
304 static __inline__ int get_opt_bool(const char *this_opt, const char *name, in get_opt_bool() argument
310 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool()
311 if (this_opt[strlen(name)] == '=') in get_opt_bool()
312 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool()
317 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool()
[all …]
/linux-4.4.14/drivers/staging/xgifb/
DXGI_main_26.c1602 char *this_opt; in XGIfb_setup() local
1609 while ((this_opt = strsep(&options, ",")) != NULL) { in XGIfb_setup()
1611 if (!*this_opt) in XGIfb_setup()
1614 if (!strncmp(this_opt, "mode:", 5)) { in XGIfb_setup()
1615 mode = this_opt + 5; in XGIfb_setup()
1616 } else if (!strncmp(this_opt, "vesa:", 5)) { in XGIfb_setup()
1617 vesa = xgifb_optval(this_opt, 5); in XGIfb_setup()
1618 } else if (!strncmp(this_opt, "vrate:", 6)) { in XGIfb_setup()
1619 refresh_rate = xgifb_optval(this_opt, 6); in XGIfb_setup()
1620 } else if (!strncmp(this_opt, "rate:", 5)) { in XGIfb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c1451 char *this_opt; in nvidiafb_setup() local
1457 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup()
1458 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup()
1461 p = this_opt + 9; in nvidiafb_setup()
1467 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup()
1469 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup()
1471 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup()
1473 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup()
1475 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup()
1477 } else if (!strncmp(this_opt, "paneltweak:", 11)) { in nvidiafb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c1962 char *this_opt, *suffix = NULL; in i810fb_setup() local
1967 while ((this_opt = strsep(&options, ",")) != NULL) { in i810fb_setup()
1968 if (!strncmp(this_opt, "mtrr", 4)) in i810fb_setup()
1970 else if (!strncmp(this_opt, "accel", 5)) in i810fb_setup()
1972 else if (!strncmp(this_opt, "extvga", 6)) in i810fb_setup()
1974 else if (!strncmp(this_opt, "sync", 4)) in i810fb_setup()
1976 else if (!strncmp(this_opt, "vram:", 5)) in i810fb_setup()
1977 vram = (simple_strtoul(this_opt+5, NULL, 0)); in i810fb_setup()
1978 else if (!strncmp(this_opt, "voffset:", 8)) in i810fb_setup()
1979 voffset = (simple_strtoul(this_opt+8, NULL, 0)); in i810fb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/kyro/
Dfbdev.c556 char *this_opt; in kyrofb_setup() local
561 while ((this_opt = strsep(&options, ","))) { in kyrofb_setup()
562 if (!*this_opt) in kyrofb_setup()
564 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup()
566 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup()
568 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup()
571 mode_option = this_opt; in kyrofb_setup()
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.c3941 char *this_opt; in sisfb_setup() local
3948 while((this_opt = strsep(&options, ",")) != NULL) { in sisfb_setup()
3950 if(!(*this_opt)) continue; in sisfb_setup()
3952 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup()
3954 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup()
3956 sisfb_search_crt2type(this_opt + 14); in sisfb_setup()
3957 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup()
3958 sisfb_search_tvstd(this_opt + 7); in sisfb_setup()
3959 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup()
3960 sisfb_search_tvstd(this_opt + 11); in sisfb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb_main.c1875 char *this_opt = NULL; in omapfb_setup() local
1883 while (!r && (this_opt = strsep(&options, ",")) != NULL) { in omapfb_setup()
1884 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup()
1886 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup()
1889 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); in omapfb_setup()
1908 else if (!strncmp(this_opt, "vxres:", 6)) in omapfb_setup()
1909 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup()
1910 else if (!strncmp(this_opt, "vyres:", 6)) in omapfb_setup()
1911 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup()
1912 else if (!strncmp(this_opt, "rotate:", 7)) in omapfb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/aty/
Dradeon_base.c2589 char *this_opt; in radeonfb_setup() local
2594 while ((this_opt = strsep (&options, ",")) != NULL) { in radeonfb_setup()
2595 if (!*this_opt) in radeonfb_setup()
2598 if (!strncmp(this_opt, "noaccel", 7)) { in radeonfb_setup()
2600 } else if (!strncmp(this_opt, "mirror", 6)) { in radeonfb_setup()
2602 } else if (!strncmp(this_opt, "force_dfp", 9)) { in radeonfb_setup()
2604 } else if (!strncmp(this_opt, "panel_yres:", 11)) { in radeonfb_setup()
2605 panel_yres = simple_strtoul((this_opt+11), NULL, 0); in radeonfb_setup()
2606 } else if (!strncmp(this_opt, "backlight:", 10)) { in radeonfb_setup()
2607 backlight = simple_strtoul(this_opt+10, NULL, 0); in radeonfb_setup()
[all …]
Daty128fb.c1701 char *this_opt; in aty128fb_setup() local
1706 while ((this_opt = strsep(&options, ",")) != NULL) { in aty128fb_setup()
1707 if (!strncmp(this_opt, "lcd:", 4)) { in aty128fb_setup()
1708 default_lcd_on = simple_strtoul(this_opt+4, NULL, 0); in aty128fb_setup()
1710 } else if (!strncmp(this_opt, "crt:", 4)) { in aty128fb_setup()
1711 default_crt_on = simple_strtoul(this_opt+4, NULL, 0); in aty128fb_setup()
1713 } else if (!strncmp(this_opt, "backlight:", 10)) { in aty128fb_setup()
1715 backlight = simple_strtoul(this_opt+10, NULL, 0); in aty128fb_setup()
1719 if(!strncmp(this_opt, "nomtrr", 6)) { in aty128fb_setup()
1725 if (!strncmp(this_opt, "vmode:", 6)) { in aty128fb_setup()
[all …]
Datyfb_base.c3837 char *this_opt; in atyfb_setup() local
3842 while ((this_opt = strsep(&options, ",")) != NULL) { in atyfb_setup()
3843 if (!strncmp(this_opt, "noaccel", 7)) { in atyfb_setup()
3845 } else if (!strncmp(this_opt, "nomtrr", 6)) { in atyfb_setup()
3847 } else if (!strncmp(this_opt, "vram:", 5)) in atyfb_setup()
3848 vram = simple_strtoul(this_opt + 5, NULL, 0); in atyfb_setup()
3849 else if (!strncmp(this_opt, "pll:", 4)) in atyfb_setup()
3850 pll = simple_strtoul(this_opt + 4, NULL, 0); in atyfb_setup()
3851 else if (!strncmp(this_opt, "mclk:", 5)) in atyfb_setup()
3852 mclk = simple_strtoul(this_opt + 5, NULL, 0); in atyfb_setup()
[all …]
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c2113 char *this_opt; in rivafb_setup() local
2119 while ((this_opt = strsep(&options, ",")) != NULL) { in rivafb_setup()
2120 if (!strncmp(this_opt, "forceCRTC", 9)) { in rivafb_setup()
2123 p = this_opt + 9; in rivafb_setup()
2128 } else if (!strncmp(this_opt, "flatpanel", 9)) { in rivafb_setup()
2130 } else if (!strncmp(this_opt, "backlight:", 10)) { in rivafb_setup()
2131 backlight = simple_strtoul(this_opt+10, NULL, 0); in rivafb_setup()
2132 } else if (!strncmp(this_opt, "nomtrr", 6)) { in rivafb_setup()
2134 } else if (!strncmp(this_opt, "strictmode", 10)) { in rivafb_setup()
2136 } else if (!strncmp(this_opt, "noaccel", 7)) { in rivafb_setup()
[all …]
/linux-4.4.14/drivers/mtd/
Dmtdswap.c1416 char *this_opt; in mtdswap_add_mtd() local
1427 while ((this_opt = strsep(&parts, ",")) != NULL) { in mtdswap_add_mtd()
1428 if (kstrtoul(this_opt, 0, &part) < 0) in mtdswap_add_mtd()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c2170 char *str, *options, *this_opt; in omapfb_parse_def_modes() local
2178 while (!r && (this_opt = strsep(&options, ",")) != NULL) { in omapfb_parse_def_modes()
2183 p = strchr(this_opt, ':'); in omapfb_parse_def_modes()
2190 display_str = this_opt; in omapfb_parse_def_modes()
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_driver.c2530 char *this_opt; in savagefb_setup() local
2535 while ((this_opt = strsep(&options, ",")) != NULL) { in savagefb_setup()
2536 mode_option = this_opt; in savagefb_setup()
/linux-4.4.14/drivers/video/console/
Dfbcon.c439 static int __init fb_console_setup(char *this_opt) in fb_console_setup() argument
444 if (!this_opt || !*this_opt) in fb_console_setup()
447 while ((options = strsep(&this_opt, ",")) != NULL) { in fb_console_setup()