Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/drivers/char/
Dvr41xx_keyb.c357 char *this_opt; in vr41xx_kbd_setup() local
363 for (this_opt = strtok(options, ","); this_opt; this_opt = strtok(NULL, ",")) { in vr41xx_kbd_setup()
364 if (!strncmp(this_opt, "regs:", 5)) { in vr41xx_kbd_setup()
365 num = simple_strtoul(this_opt+5, NULL, 0); in vr41xx_kbd_setup()
368 } else if (!strncmp(this_opt, "lines:", 6)) { in vr41xx_kbd_setup()
369 num = simple_strtoul(this_opt+6, NULL, 0); in vr41xx_kbd_setup()
376 } else if (!strncmp(this_opt, "reverse:", 8)) { in vr41xx_kbd_setup()
377 num = simple_strtoul(this_opt+8, NULL, 0); in vr41xx_kbd_setup()
380 } else if (!strncmp(this_opt, "t3cnt:", 6)) { in vr41xx_kbd_setup()
381 num = simple_strtoul(this_opt+6, NULL, 0); in vr41xx_kbd_setup()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dmac_esp.c169 char *this_opt; in mac_esp_setup() local
172 this_opt = strsep (&str, ","); in mac_esp_setup()
173 if(this_opt) { in mac_esp_setup()
174 opt = simple_strtol( this_opt, NULL, 0 ); in mac_esp_setup()
181 this_opt = strsep (&str, ","); in mac_esp_setup()
183 if(this_opt) { in mac_esp_setup()
184 opt = simple_strtol( this_opt, NULL, 0 ); in mac_esp_setup()
189 this_opt = strsep (&str, ","); in mac_esp_setup()
191 if(this_opt) { in mac_esp_setup()
192 opt = simple_strtol( this_opt, NULL, 0 ); in mac_esp_setup()
[all …]
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_base.c2677 char *this_opt; in matroxfb_setup() local
2686 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2687 if (!*this_opt) continue; in matroxfb_setup()
2689 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2691 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2692 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2693 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2694 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2705 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2706 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
[all …]
/linux-2.4.37.9/drivers/video/
Depson1356fb.c2677 char* this_opt; in e1356fb_setup() local
2686 for(this_opt=strtok(options, ","); this_opt; in e1356fb_setup()
2687 this_opt=strtok(NULL, ",")) { in e1356fb_setup()
2688 if (!strncmp(this_opt, "noaccel", 7)) { in e1356fb_setup()
2690 } else if (!strncmp(this_opt, "nopan", 5)) { in e1356fb_setup()
2692 } else if (!strncmp(this_opt, "nohwcursor", 10)) { in e1356fb_setup()
2694 } else if (!strncmp(this_opt, "mmunalign:", 10)) { in e1356fb_setup()
2695 boot_fix.mmunalign = simple_strtoul(this_opt+10, in e1356fb_setup()
2698 } else if (!strncmp(this_opt, "nomtrr", 6)) { in e1356fb_setup()
2701 } else if (!strncmp(this_opt, "font:", 5)) { in e1356fb_setup()
[all …]
Dvesafb.c463 char *this_opt; in vesafb_setup() local
470 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup()
471 if (!*this_opt) continue; in vesafb_setup()
473 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
475 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
477 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
479 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
481 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
483 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
485 else if (! strcmp(this_opt, "mtrr")) in vesafb_setup()
[all …]
Dit8181fb.c1297 char *this_opt; in it8181fb_setup() local
1303 for (this_opt = strtok(options, ","); this_opt; in it8181fb_setup()
1304 this_opt = strtok(NULL, ",")) { in it8181fb_setup()
1305 if (!strncmp(this_opt, "font:", 5)) { in it8181fb_setup()
1306 strcpy(fontname, this_opt+5); in it8181fb_setup()
1307 } else if (!strncmp(this_opt, "bpp:", 4)) { in it8181fb_setup()
1308 default_bpp = simple_strtoul(this_opt+4, NULL, 0); in it8181fb_setup()
1309 } else if (!strncmp(this_opt, "xres:", 5)) { in it8181fb_setup()
1310 xres = simple_strtoul(this_opt+5, NULL, 0); in it8181fb_setup()
1317 } else if (!strncmp(this_opt, "cpu:", 4)) { in it8181fb_setup()
[all …]
Dau1100fb.c619 char* this_opt; in au1100fb_setup() local
627 for(this_opt=strtok(options, ","); this_opt; in au1100fb_setup()
628 this_opt=strtok(NULL, ",")) { in au1100fb_setup()
629 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup()
632 if (!strncmp(this_opt+6, "s10", 3)) in au1100fb_setup()
645 if (!strncmp(this_opt+6, panels[i].panel_name, in au1100fb_setup()
646 strlen(this_opt))) { in au1100fb_setup()
652 else if (!strncmp(this_opt, "nohwcursor", 10)) { in au1100fb_setup()
Dvalkyriefb.c823 char *this_opt; in valkyriefb_setup() local
828 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup()
829 if (!strncmp(this_opt, "font:", 5)) { in valkyriefb_setup()
833 p = this_opt + 5; in valkyriefb_setup()
837 memcpy(fontname, this_opt + 5, i); in valkyriefb_setup()
840 else if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup()
841 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
845 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup()
846 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
858 else if (!strncmp(this_opt, "noblank", 7)) { in valkyriefb_setup()
[all …]
Dpvr2fb.c1129 char *this_opt; in pvr2fb_setup() local
1138 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup()
1139 if (!*this_opt) in pvr2fb_setup()
1141 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup()
1144 } else if (!strncmp(this_opt, "font:", 5)) in pvr2fb_setup()
1145 strcpy(fb_info.fontname, this_opt + 5); in pvr2fb_setup()
1146 else if (!strncmp(this_opt, "cable:", 6)) in pvr2fb_setup()
1147 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup()
1148 else if (!strncmp(this_opt, "output:", 7)) in pvr2fb_setup()
1149 strcpy(output_arg, this_opt + 7); in pvr2fb_setup()
[all …]
Dsstfb.c1742 char *this_opt; in sstfb_setup() local
1749 for(this_opt = strtok(options, ","); this_opt; in sstfb_setup()
1750 this_opt = strtok(NULL, ",")) { //XXX in sstfb_setup()
1752 if (!*this_opt) continue; in sstfb_setup()
1754 f_ddprintk("option %s\n", this_opt); in sstfb_setup()
1756 if (!strcmp(this_opt, "inverse")) { in sstfb_setup()
1760 else if (!strcmp(this_opt, "vganopass")) in sstfb_setup()
1762 else if (!strcmp(this_opt, "vgapass")) in sstfb_setup()
1764 else if (!strcmp(this_opt, "clipping")) in sstfb_setup()
1766 else if (!strcmp(this_opt, "noclipping")) in sstfb_setup()
[all …]
Dplatinumfb.c849 char *this_opt; in platinum_setup() local
854 while ((this_opt = strsep(&options, ",")) != NULL) { in platinum_setup()
855 if (!strncmp(this_opt, "font:", 5)) { in platinum_setup()
859 p = this_opt + 5; in platinum_setup()
863 memcpy(fontname, this_opt + 5, i); in platinum_setup()
866 if (!strncmp(this_opt, "vmode:", 6)) { in platinum_setup()
867 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinum_setup()
870 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinum_setup()
871 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinum_setup()
Dfm2fb.c428 char *this_opt; in fm2fb_setup() local
433 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup()
434 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup()
436 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
Dtgafb.c888 char *this_opt; in tgafb_setup() local
892 while ((this_opt = strsep(&options, ",")) != NULL) { in tgafb_setup()
893 if (!*this_opt) { continue; } in tgafb_setup()
895 if (!strncmp(this_opt, "font:", 5)) { in tgafb_setup()
896 strncpy(default_fontname, this_opt+5, sizeof default_fontname); in tgafb_setup()
899 else if (!strncmp(this_opt, "mode:", 5)) { in tgafb_setup()
901 if (!strcmp(this_opt+5, tgafb_predefined[i].name)) in tgafb_setup()
908 printk(KERN_ERR "tgafb: unknown parameter %s\n", this_opt); in tgafb_setup()
Datafb.c2887 char *this_opt; in atafb_setup() local
2902 for(this_opt=strtok(options,","); this_opt; this_opt=strtok(NULL,",")) { in atafb_setup()
2903 if (!*this_opt) continue; in atafb_setup()
2904 if ((temp=get_video_mode(this_opt))) in atafb_setup()
2906 else if (! strcmp(this_opt, "inverse")) in atafb_setup()
2908 else if (!strncmp(this_opt, "font:", 5)) in atafb_setup()
2909 strcpy(fb_info.fontname, this_opt+5); in atafb_setup()
2910 else if (! strncmp(this_opt, "hwscroll_",9)) { in atafb_setup()
2911 hwscroll=simple_strtoul(this_opt+9, NULL, 10); in atafb_setup()
2918 else if (!strcmp(this_opt,"mv300")) { in atafb_setup()
[all …]
Dmacfb.c844 char *this_opt; in macfb_setup() local
851 while ((this_opt = strsep(&options, ",")) != NULL) { in macfb_setup()
852 if (!*this_opt) continue; in macfb_setup()
854 if (! strcmp(this_opt, "inverse")) in macfb_setup()
856 else if (!strncmp(this_opt, "font:", 5)) in macfb_setup()
857 strcpy(fb_info.fontname, this_opt+5); in macfb_setup()
859 else if (!strcmp(this_opt, "vidtest")) in macfb_setup()
Dhgafb.c791 char *this_opt; in hgafb_setup() local
798 while ((this_opt = strsep(&options, ","))) { in hgafb_setup()
799 if (!strncmp(this_opt, "font:", 5)) in hgafb_setup()
800 strcpy(fb_info.fontname, this_opt+5); in hgafb_setup()
Digafb.c769 char *this_opt; in igafb_setup() local
774 while ((this_opt = strsep(&options, ",")) != NULL) { in igafb_setup()
775 if (!strncmp(this_opt, "font:", 5)) { in igafb_setup()
779 p = this_opt + 5; in igafb_setup()
783 memcpy(fontname, this_opt + 5, i); in igafb_setup()
Dvfb.c376 char *this_opt; in vfb_setup() local
385 while ((this_opt = strsep(&options, ",")) != NULL) { in vfb_setup()
386 if (!strncmp(this_opt, "font:", 5)) in vfb_setup()
387 strcpy(fb_info.fontname, this_opt+5); in vfb_setup()
Dcontrolfb.c1418 char *this_opt; in control_setup() local
1423 while ((this_opt = strsep(&options, ",")) != NULL) { in control_setup()
1424 if (!strncmp(this_opt, "font:", 5)) { in control_setup()
1428 p = this_opt +5; in control_setup()
1432 memcpy(fontname, this_opt + 5, i); in control_setup()
1434 } else if (!strncmp(this_opt, "vmode:", 6)) { in control_setup()
1435 int vmode = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
1439 } else if (!strncmp(this_opt, "cmode:", 6)) { in control_setup()
1440 int depth = simple_strtoul(this_opt+6, NULL, 0); in control_setup()
Dsa1100fb.c2367 char *this_opt; in sa1100fb_setup()
2372 while ((this_opt = strsep(&options, ",")) != NULL) { in sa1100fb_setup()
2374 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup()
2376 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup()
2378 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup()
2380 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
2381 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup()
2383 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
2387 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup()
2389 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup()
[all …]
/linux-2.4.37.9/drivers/sound/
Dac97_plugin_wm97xx.c1352 char *this_opt = options; in wm97xx_ts_setup() local
1358 for(this_opt=strtok(options, ","); in wm97xx_ts_setup()
1359 this_opt; this_opt=strtok(NULL, ",")) { in wm97xx_ts_setup()
1360 if (!strncmp(this_opt, "pil:", 4)) { in wm97xx_ts_setup()
1361 this_opt+=4; in wm97xx_ts_setup()
1362 pil = simple_strtol(this_opt, NULL, 0); in wm97xx_ts_setup()
1367 if (!strncmp(this_opt, "rpu:", 4)) { in wm97xx_ts_setup()
1368 this_opt+=4; in wm97xx_ts_setup()
1369 rpu = simple_strtol(this_opt, NULL, 0); in wm97xx_ts_setup()
1374 if (!strncmp(this_opt, "pdd:", 4)) { in wm97xx_ts_setup()
[all …]
/linux-2.4.37.9/drivers/video/sis/
Dsis_main.c3787 char *this_opt; local
3797 while((this_opt = strsep(&options, ",")) != NULL) {
3799 if(!(*this_opt)) continue;
3801 if(!strnicmp(this_opt, "off", 3)) {
3803 } else if(!strnicmp(this_opt, "forcecrt2type:", 14)) {
3805 sisfb_search_crt2type(this_opt + 14);
3806 } else if(!strnicmp(this_opt, "tvmode:",7)) {
3807 sisfb_search_tvstd(this_opt + 7);
3808 } else if(!strnicmp(this_opt, "tvstandard:",11)) {
3809 sisfb_search_tvstd(this_opt + 7);
[all …]
/linux-2.4.37.9/drivers/video/intel/
Dintelfbdrv.c294 get_opt_string(const char *this_opt, const char *name) in get_opt_string() argument
300 p = OPT_STRVAL(this_opt, name); in get_opt_string()
313 get_opt_bool(const char *this_opt, const char *name, int *ret) in get_opt_bool() argument
318 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool()
319 if (this_opt[strlen(name)] == '=') in get_opt_bool()
320 *ret = simple_strtoul(this_opt + strlen(name) + 1, in get_opt_bool()
325 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool()
336 char *this_opt; in intelfb_setup() local
359 while ((this_opt = strsep(&options, ","))) { in intelfb_setup()
360 if (!*this_opt) in intelfb_setup()
[all …]
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c3045 char *this_opt; in atyfb_setup() local
3050 while ((this_opt = strsep(&options, ",")) != NULL) { in atyfb_setup()
3051 if (!strncmp(this_opt, "font:", 5)) { in atyfb_setup()
3055 p = this_opt + 5; in atyfb_setup()
3059 memcpy(fontname, this_opt + 5, i); in atyfb_setup()
3061 } else if (!strncmp(this_opt, "noblink", 7)) { in atyfb_setup()
3063 } else if (!strncmp(this_opt, "noaccel", 7)) { in atyfb_setup()
3065 } else if (!strncmp(this_opt, "vram:", 5)) in atyfb_setup()
3066 default_vram = simple_strtoul(this_opt+5, NULL, 0); in atyfb_setup()
3067 else if (!strncmp(this_opt, "pll:", 4)) in atyfb_setup()
[all …]
/linux-2.4.37.9/drivers/video/riva/
Dfbdev.c2274 char *this_opt; in rivafb_setup() local
2279 while ((this_opt = strsep(&options, ",")) != NULL) { in rivafb_setup()
2280 if (!*this_opt) in rivafb_setup()
2282 if (!strncmp(this_opt, "font:", 5)) { in rivafb_setup()
2286 p = this_opt + 5; in rivafb_setup()
2290 memcpy(fontname, this_opt + 5, i); in rivafb_setup()
2293 } else if (!strncmp(this_opt, "noblink", 7)) { in rivafb_setup()
2295 } else if (!strncmp(this_opt, "noaccel", 7)) { in rivafb_setup()
2297 } else if (!strncmp(this_opt, "nomove", 6)) { in rivafb_setup()
2300 } else if (!strncmp(this_opt, "nomtrr", 6)) { in rivafb_setup()
[all …]

12