Lines Matching refs:options
49 static int kgdb_parse_options(char *options);
161 static int __init sh_console_setup(struct console *co, char *options) in sh_console_setup() argument
602 static int __init kgdb_parse_options(char *options) in kgdb_parse_options() argument
610 if (!memcmp(options, "tty", 3)) { in kgdb_parse_options()
613 while (map && memcmp(options, map->name, map->namelen)) in kgdb_parse_options()
617 KGDB_PRINTK("unknown port spec in %s\n", options); in kgdb_parse_options()
623 kgdb_portnum = options[map->namelen] - '0'; in kgdb_parse_options()
624 options += map->namelen + 1; in kgdb_parse_options()
626 options = (*options == ',') ? options+1 : options; in kgdb_parse_options()
629 baud = simple_strtoul(options, &options, 10); in kgdb_parse_options()
633 c = toupper(*options); in kgdb_parse_options()
636 options++; in kgdb_parse_options()
639 c = *options; in kgdb_parse_options()
642 options++; in kgdb_parse_options()
644 options = (*options == ',') ? options+1 : options; in kgdb_parse_options()
649 if (!memcmp(options, "halt", 4)) { in kgdb_parse_options()
651 options += 4; in kgdb_parse_options()
652 } else if (!memcmp(options, "disabled", 8)) { in kgdb_parse_options()
654 options += 8; in kgdb_parse_options()
657 if (*options) { in kgdb_parse_options()
658 KGDB_PRINTK("ignored unknown options: %s\n", options); in kgdb_parse_options()