Lines Matching refs:s
243 struct serial_device *s = serial_devices; in serial_stdio_init() local
245 while (s) { in serial_stdio_init()
248 strcpy(dev.name, s->name); in serial_stdio_init()
257 dev.priv = s; in serial_stdio_init()
261 s = s->next; in serial_stdio_init()
279 struct serial_device *s; in serial_assign() local
281 for (s = serial_devices; s; s = s->next) { in serial_assign()
282 if (strcmp(s->name, name)) in serial_assign()
284 serial_current = s; in serial_assign()
299 struct serial_device *s; in serial_reinit_all() local
301 for (s = serial_devices; s; s = s->next) in serial_reinit_all()
302 s->start(); in serial_reinit_all()
435 void serial_puts(const char *s) in serial_puts() argument
437 get_current()->puts(s); in serial_puts()
452 void default_serial_puts(const char *s) in default_serial_puts() argument
455 while (*s) in default_serial_puts()
456 dev->putc(*s++); in default_serial_puts()
479 struct serial_device *saved_dev, *s; in uart_post_test() local
486 for (s = serial_devices; s; s = s->next) { in uart_post_test()
488 if (!s->loop) in uart_post_test()
492 serial_current = s; in uart_post_test()
503 s->loop(1); in uart_post_test()
524 s->loop(0); in uart_post_test()
532 s->loop(0); in uart_post_test()
539 s->loop(0); in uart_post_test()
542 if (s->stop) in uart_post_test()
543 s->stop(); in uart_post_test()