• Home
  • Raw
  • Download

Lines Matching refs:opt

765 static void acornfb_parse_mon(char *opt)  in acornfb_parse_mon()  argument
767 char *p = opt; in acornfb_parse_mon()
808 printk(KERN_ERR "Acornfb: bad monitor settings: %s\n", opt); in acornfb_parse_mon()
812 static void acornfb_parse_montype(char *opt) in acornfb_parse_montype() argument
816 if (strncmp(opt, "tv", 2) == 0) { in acornfb_parse_montype()
817 opt += 2; in acornfb_parse_montype()
819 } else if (strncmp(opt, "multi", 5) == 0) { in acornfb_parse_montype()
820 opt += 5; in acornfb_parse_montype()
822 } else if (strncmp(opt, "hires", 5) == 0) { in acornfb_parse_montype()
823 opt += 5; in acornfb_parse_montype()
825 } else if (strncmp(opt, "vga", 3) == 0) { in acornfb_parse_montype()
826 opt += 3; in acornfb_parse_montype()
828 } else if (strncmp(opt, "svga", 4) == 0) { in acornfb_parse_montype()
829 opt += 4; in acornfb_parse_montype()
831 } else if (strncmp(opt, "auto", 4) == 0) { in acornfb_parse_montype()
832 opt += 4; in acornfb_parse_montype()
834 } else if (isdigit(*opt)) in acornfb_parse_montype()
835 current_par.montype = simple_strtoul(opt, &opt, 0); in acornfb_parse_montype()
840 opt); in acornfb_parse_montype()
843 if (opt && *opt) { in acornfb_parse_montype()
844 if (strcmp(opt, ",dpms") == 0) in acornfb_parse_montype()
849 opt); in acornfb_parse_montype()
853 static void acornfb_parse_dram(char *opt) in acornfb_parse_dram() argument
857 size = simple_strtoul(opt, &opt, 0); in acornfb_parse_dram()
859 if (opt) { in acornfb_parse_dram()
860 switch (*opt) { in acornfb_parse_dram()
877 void (*parse)(char *opt);
888 char *opt; in acornfb_setup() local
895 while ((opt = strsep(&options, ",")) != NULL) { in acornfb_setup()
896 if (!*opt) in acornfb_setup()
904 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup()
905 opt[optlen] == ':') { in acornfb_setup()
906 optp->parse(opt + optlen + 1); in acornfb_setup()
913 opt); in acornfb_setup()