Lines Matching refs:outputdev
781 struct stdio_dev *inputdev = NULL, *outputdev = NULL, *errdev = NULL; in console_init_r() local
804 outputdev = search_device(DEV_FLAGS_OUTPUT, stdoutname); in console_init_r()
819 if (outputdev == NULL) { in console_init_r()
820 outputdev = search_device(DEV_FLAGS_OUTPUT, "serial"); in console_init_r()
826 if (outputdev != NULL) { in console_init_r()
828 console_doenv(stdout, outputdev); in console_init_r()
874 struct stdio_dev *inputdev = NULL, *outputdev = NULL; in console_init_r() local
891 outputdev = search_device (DEV_FLAGS_OUTPUT, "serial"); in console_init_r()
902 if ((dev->flags & DEV_FLAGS_OUTPUT) && (outputdev == NULL)) { in console_init_r()
903 outputdev = dev; in console_init_r()
905 if(inputdev && outputdev) in console_init_r()
910 if (outputdev != NULL) { in console_init_r()
911 console_setfile(stdout, outputdev); in console_init_r()
912 console_setfile(stderr, outputdev); in console_init_r()
914 console_devices[stdout][0] = outputdev; in console_init_r()
915 console_devices[stderr][0] = outputdev; in console_init_r()