Lines Matching refs:arg
44 char arg[32]; in parse_earlyprintk() local
48 if (cmdline_find_option("earlyprintk", arg, sizeof arg) > 0) { in parse_earlyprintk()
51 if (!strncmp(arg, "serial", 6)) { in parse_earlyprintk()
56 if (arg[pos] == ',') in parse_earlyprintk()
65 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk()
66 port = simple_strtoull(arg + pos, &e, 16); in parse_earlyprintk()
67 if (port == 0 || arg + pos == e) in parse_earlyprintk()
70 pos = e - arg; in parse_earlyprintk()
71 } else if (!strncmp(arg + pos, "ttyS", 4)) { in parse_earlyprintk()
78 if (arg[pos++] == '1') in parse_earlyprintk()
84 if (arg[pos] == ',') in parse_earlyprintk()
87 baud = simple_strtoull(arg + pos, &e, 0); in parse_earlyprintk()
88 if (baud == 0 || arg + pos == e) in parse_earlyprintk()