Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/video/fbdev/
H A 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, NUL in grvga_parse_custom()
357 char *this_opt = strsep(&options, ","); grvga_probe() local
[all...]
H A Dvesafb.c205 char *this_opt; in vesafb_setup() local
210 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
211 if (!*this_opt) continue; in vesafb_setup()
213 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
215 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
217 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
219 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
221 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
223 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
225 else if (! strncmp(this_opt, "mtr in vesafb_setup()
[all...]
H A Defifb.c269 char *this_opt; in efifb_setup() local
272 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup()
273 if (!*this_opt) continue; in efifb_setup()
275 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup()
277 if (!strncmp(this_opt, "base:", 5)) in efifb_setup()
278 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup()
279 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup()
280 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup()
281 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup()
282 screen_info.lfb_height = simple_strtoul(this_opt in efifb_setup()
[all...]
H A 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, "lef in parse_opt()
2017 char *this_opt; pxafb_parse_options() local
[all...]
H A Duvesafb.c1813 char *this_opt; in uvesafb_setup() local
1818 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1819 if (!*this_opt) continue; in uvesafb_setup()
1821 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1823 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1825 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1827 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1829 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1831 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1832 mtrr = simple_strtoul(this_opt in uvesafb_setup()
[all...]
H A 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()
H A 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()
H A 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, "nowra in pvr2fb_setup()
[all...]
H A 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, "slowpc in sstfb_setup()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dgrvga.c265 char *this_opt; in grvga_parse_custom() local
270 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom()
271 if (!*this_opt) in grvga_parse_custom()
276 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
280 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
284 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
288 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
292 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
296 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom()
300 screendata->lower_margin = simple_strtoul(this_opt, NUL in grvga_parse_custom()
354 char *this_opt = strsep(&options, ","); grvga_probe() local
[all...]
H A Dvesafb.c212 char *this_opt; in vesafb_setup() local
217 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
218 if (!*this_opt) continue; in vesafb_setup()
220 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
222 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
224 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
226 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
228 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
230 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
232 else if (! strncmp(this_opt, "mtr in vesafb_setup()
[all...]
H A Defifb.c287 char *this_opt; in efifb_setup() local
290 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup()
291 if (!*this_opt) continue; in efifb_setup()
293 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup()
295 if (!strncmp(this_opt, "base:", 5)) in efifb_setup()
296 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup()
297 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup()
298 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup()
299 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup()
300 screen_info.lfb_height = simple_strtoul(this_opt in efifb_setup()
[all...]
H A Dpxafb.c1852 static int parse_opt_mode(struct device *dev, const char *this_opt, in parse_opt_mode() argument
1855 const char *name = this_opt+5; in parse_opt_mode()
1910 static int parse_opt(struct device *dev, char *this_opt, in parse_opt() argument
1918 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt()
1919 video_mem_size = memparse(this_opt + 5, NULL); in parse_opt()
1920 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt()
1921 return parse_opt_mode(dev, this_opt, inf); in parse_opt()
1922 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt()
1923 mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); in parse_opt()
1925 } else if (!strncmp(this_opt, "lef in parse_opt()
2013 char *this_opt; pxafb_parse_options() local
[all...]
H A Duvesafb.c1808 char *this_opt; in uvesafb_setup() local
1813 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup()
1814 if (!*this_opt) continue; in uvesafb_setup()
1816 if (!strcmp(this_opt, "redraw")) in uvesafb_setup()
1818 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup()
1820 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup()
1822 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup()
1824 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup()
1826 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup()
1827 mtrr = simple_strtoul(this_opt in uvesafb_setup()
[all...]
H A Dfm2fb.c295 char *this_opt; in fm2fb_setup() local
300 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup()
301 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup()
303 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
H A 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()
H A Dpvr2fb.c1032 char *this_opt; in pvr2fb_setup() local
1041 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup()
1042 if (!*this_opt) in pvr2fb_setup()
1044 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup()
1046 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup()
1047 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup()
1048 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup()
1049 strcpy(output_arg, this_opt + 7); in pvr2fb_setup()
1050 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup()
1052 } else if (!strncmp(this_opt, "nowra in pvr2fb_setup()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c2333 char *this_opt; in matroxfb_setup() local
2340 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2341 if (!*this_opt) continue; in matroxfb_setup()
2343 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2345 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2346 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2347 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2348 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2359 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2360 xres = simple_strtoul(this_opt in matroxfb_setup()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c2337 char *this_opt; in matroxfb_setup() local
2344 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2345 if (!*this_opt) continue; in matroxfb_setup()
2347 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2349 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2350 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2351 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2352 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2363 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2364 xres = simple_strtoul(this_opt in matroxfb_setup()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
H A 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()
1942 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup()
1943 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup()
1944 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup()
1945 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup()
1947 } else if (!strncmp(this_opt, "viafb_bp in viafb_setup()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
H A 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_bp in viafb_setup()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/
H A 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, sizeo in gx1fb_setup()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/geode/
H A Dgx1fb_core.c404 char *this_opt; in gx1fb_setup() local
409 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup()
410 if (!*this_opt) in gx1fb_setup()
413 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup()
414 strscpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
415 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup()
416 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup()
417 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup()
418 strscpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup()
420 strscpy(mode_option, this_opt, sizeo in gx1fb_setup()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
H A 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, "n in get_opt_bool()
327 char *this_opt; intelfb_setup() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c274 static __inline__ char * get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument
280 p = OPT_STRVAL(this_opt, name); in get_opt_string()
292 static __inline__ int get_opt_int(const char *this_opt, const char *name, in get_opt_int() argument
298 if (!OPT_EQUAL(this_opt, name)) in get_opt_int()
301 *ret = OPT_INTVAL(this_opt, name); in get_opt_int()
305 static __inline__ int get_opt_bool(const char *this_opt, const char *name, in get_opt_bool() argument
311 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool()
312 if (this_opt[strlen(name)] == '=') in get_opt_bool()
313 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool()
318 if (OPT_EQUAL(this_opt, "n in get_opt_bool()
328 char *this_opt; intelfb_setup() local
[all...]

Completed in 37 milliseconds

1234