Lines Matching defs:arg
49 char arg[32];
53 if (cmdline_find_option("earlyprintk", arg, sizeof(arg)) > 0) {
56 if (!strncmp(arg, "serial", 6)) {
61 if (arg[pos] == ',')
70 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) {
71 port = simple_strtoull(arg + pos, &e, 16);
72 if (port == 0 || arg + pos == e)
75 pos = e - arg;
76 } else if (!strncmp(arg + pos, "ttyS", 4)) {
83 if (arg[pos++] == '1')
89 if (arg[pos] == ',')
92 baud = simple_strtoull(arg + pos, &e, 0);
93 if (baud == 0 || arg + pos == e)