Lines Matching refs:opt

759 static void acornfb_parse_mon(char *opt)  in acornfb_parse_mon()  argument
761 char *p = opt; in acornfb_parse_mon()
802 printk(KERN_ERR "Acornfb: bad monitor settings: %s\n", opt); in acornfb_parse_mon()
806 static void acornfb_parse_montype(char *opt) in acornfb_parse_montype() argument
810 if (strncmp(opt, "tv", 2) == 0) { in acornfb_parse_montype()
811 opt += 2; in acornfb_parse_montype()
813 } else if (strncmp(opt, "multi", 5) == 0) { in acornfb_parse_montype()
814 opt += 5; in acornfb_parse_montype()
816 } else if (strncmp(opt, "hires", 5) == 0) { in acornfb_parse_montype()
817 opt += 5; in acornfb_parse_montype()
819 } else if (strncmp(opt, "vga", 3) == 0) { in acornfb_parse_montype()
820 opt += 3; in acornfb_parse_montype()
822 } else if (strncmp(opt, "svga", 4) == 0) { in acornfb_parse_montype()
823 opt += 4; in acornfb_parse_montype()
825 } else if (strncmp(opt, "auto", 4) == 0) { in acornfb_parse_montype()
826 opt += 4; in acornfb_parse_montype()
828 } else if (isdigit(*opt)) in acornfb_parse_montype()
829 current_par.montype = simple_strtoul(opt, &opt, 0); in acornfb_parse_montype()
834 opt); in acornfb_parse_montype()
837 if (opt && *opt) { in acornfb_parse_montype()
838 if (strcmp(opt, ",dpms") == 0) in acornfb_parse_montype()
843 opt); in acornfb_parse_montype()
847 static void acornfb_parse_dram(char *opt) in acornfb_parse_dram() argument
851 size = simple_strtoul(opt, &opt, 0); in acornfb_parse_dram()
853 if (opt) { in acornfb_parse_dram()
854 switch (*opt) { in acornfb_parse_dram()
872 void (*parse)(char *opt);
883 char *opt; in acornfb_setup() local
890 while ((opt = strsep(&options, ",")) != NULL) { in acornfb_setup()
891 if (!*opt) in acornfb_setup()
899 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup()
900 opt[optlen] == ':') { in acornfb_setup()
901 optp->parse(opt + optlen + 1); in acornfb_setup()
908 opt); in acornfb_setup()