Lines Matching defs:pos
50 int pos = 0;
58 pos += 6;
61 if (arg[pos] == ',')
62 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)) {
81 pos += 4;
83 if (arg[pos++] == '1')
89 if (arg[pos] == ',')
90 pos++;
92 baud = simple_strtoull(arg + pos, &e, 0);
93 if (baud == 0 || arg + pos == e)