Lines Matching defs:spec
199 const char *spec;
217 spec = getenv("hw.uart.console");
219 spec = getenv("hw.uart.dbgport");
221 spec = NULL;
222 if (spec == NULL)
236 switch (uart_parse_tag(&spec)) {
238 di->baudrate = uart_parse_long(&spec);
241 di->bas.chan = uart_parse_long(&spec);
244 di->databits = uart_parse_long(&spec);
247 class = uart_parse_class(class, &spec);
251 addr = uart_parse_addr(&spec);
255 addr = uart_parse_addr(&spec);
258 di->parity = uart_parse_parity(&spec);
261 di->bas.regshft = uart_parse_long(&spec);
264 di->stopbits = uart_parse_long(&spec);
267 di->bas.rclk = uart_parse_long(&spec);
272 if (*spec == '\0')
274 if (*spec != ',')
276 spec++;