Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/video/fbdev/
Dgrvga.c268 char *this_opt; in grvga_parse_custom() local
273 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom()
274 if (!*this_opt) in grvga_parse_custom()
279 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
283 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
287 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
291 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
295 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
299 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
303 screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
[all …]
Dvesafb.c211 char *this_opt; in vesafb_setup() local
216 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
217 if (!*this_opt) continue; in vesafb_setup()
219 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
221 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
223 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
225 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
227 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
229 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
231 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup()
[all …]
Defifb.c281 char *this_opt; in efifb_setup() local
284 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup()
285 if (!*this_opt) continue; in efifb_setup()
287 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup()
289 if (!strncmp(this_opt, "base:", 5)) in efifb_setup()
290 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup()
291 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup()
292 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup()
293 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup()
294 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); in efifb_setup()
[all …]
Dpxafb.c1856 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, inf); 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.c1814 char *this_opt; in uvesafb_setup() local
1819 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1820 if (!*this_opt) continue; in uvesafb_setup()
1822 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1824 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1826 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1828 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1830 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1832 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1833 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.c368 char *this_opt, *options; in au1100fb_setup() local
381 while ((this_opt = strsep(&options, ",")) != NULL) { in au1100fb_setup()
383 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup()
385 this_opt += 6; in au1100fb_setup()
387 if (!strncmp(this_opt, known_lcd_panels[i].name, in au1100fb_setup()
388 strlen(this_opt))) { in au1100fb_setup()
395 print_warn("Panel '%s' not supported!", this_opt); in au1100fb_setup()
401 print_warn("Unsupported option \"%s\"", this_opt); in au1100fb_setup()
Dpvr2fb.c1024 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 …]
Dau1200fb.c1581 char *this_opt, *endptr; in au1200fb_setup() local
1590 while ((this_opt = strsep(&options, ",")) != NULL) { in au1200fb_setup()
1593 if (!strncmp(this_opt, "panel:", 6)) { in au1200fb_setup()
1597 this_opt += 6; in au1200fb_setup()
1600 li = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup()
1603 else if (strcmp(this_opt, "bs") == 0) in au1200fb_setup()
1607 if (!strcmp(this_opt, in au1200fb_setup()
1615 print_warn("Panel %s not supported!", this_opt); in au1200fb_setup()
1619 } else if (strncmp(this_opt, "nohwcursor", 10) == 0) in au1200fb_setup()
1621 else if (strncmp(this_opt, "devices:", 8) == 0) { in au1200fb_setup()
[all …]
Dsa1100fb.c1230 char *this_opt; in sa1100fb_setup()
1235 while ((this_opt = strsep(&options, ",")) != NULL) { in sa1100fb_setup()
1237 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup()
1239 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup()
1241 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup()
1243 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1244 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup()
1246 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
1250 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup()
1252 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_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.c554 char *this_opt; in valkyriefb_setup() local
559 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup()
560 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup()
561 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
565 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup()
566 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
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()
Dplatinumfb.c491 char *this_opt; in platinumfb_setup() local
496 while ((this_opt = strsep(&options, ",")) != NULL) { in platinumfb_setup()
497 if (!strncmp(this_opt, "vmode:", 6)) { in platinumfb_setup()
498 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
501 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinumfb_setup()
502 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
Dgbefb.c1093 char *this_opt; in gbefb_setup() local
1098 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup()
1099 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup()
1100 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup()
1104 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup()
1105 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup()
1110 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup()
1111 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup()
1117 mode_option = this_opt; in gbefb_setup()
Dmacfb.c509 char *this_opt; in macfb_setup() local
514 while ((this_opt = strsep(&options, ",")) != NULL) { in macfb_setup()
515 if (!*this_opt) in macfb_setup()
518 if (!strcmp(this_opt, "inverse")) in macfb_setup()
521 if (!strcmp(this_opt, "vidtest")) in macfb_setup()
/linux-5.19.10/drivers/video/fbdev/matrox/
Dmatroxfb_base.c2329 char *this_opt; in matroxfb_setup() local
2336 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2337 if (!*this_opt) continue; in matroxfb_setup()
2339 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2341 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2342 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2343 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2344 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2355 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2356 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
[all …]
/linux-5.19.10/drivers/video/fbdev/via/
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-5.19.10/drivers/video/fbdev/geode/
Dgx1fb_core.c403 char *this_opt; in gx1fb_setup() local
408 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup()
409 if (!*this_opt) in gx1fb_setup()
412 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup()
413 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
414 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup()
415 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup()
416 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup()
417 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup()
419 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
/linux-5.19.10/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-5.19.10/drivers/video/fbdev/nvidia/
Dnvidia.c1455 char *this_opt; in nvidiafb_setup() local
1461 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup()
1462 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup()
1465 p = this_opt + 9; in nvidiafb_setup()
1471 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup()
1473 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup()
1475 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup()
1477 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup()
1479 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup()
1481 } else if (!strncmp(this_opt, "paneltweak:", 11)) { in nvidiafb_setup()
[all …]
/linux-5.19.10/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-5.19.10/drivers/video/fbdev/kyro/
Dfbdev.c566 char *this_opt; in kyrofb_setup() local
571 while ((this_opt = strsep(&options, ","))) { in kyrofb_setup()
572 if (!*this_opt) in kyrofb_setup()
574 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup()
576 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup()
578 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup()
581 mode_option = this_opt; in kyrofb_setup()
/linux-5.19.10/drivers/video/fbdev/sis/
Dsis_main.c3982 char *this_opt; in sisfb_setup() local
3989 while((this_opt = strsep(&options, ",")) != NULL) { in sisfb_setup()
3991 if(!(*this_opt)) continue; in sisfb_setup()
3993 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup()
3995 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup()
3997 sisfb_search_crt2type(this_opt + 14); in sisfb_setup()
3998 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup()
3999 sisfb_search_tvstd(this_opt + 7); in sisfb_setup()
4000 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup()
4001 sisfb_search_tvstd(this_opt + 11); in sisfb_setup()
[all …]
/linux-5.19.10/drivers/video/fbdev/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 …]

12