/u-boot/include/ |
A D | stdio_dev.h | 24 struct stdio_dev { struct 32 int (*stop)(struct stdio_dev *dev); /* To stop the device */ argument 37 void (*putc)(struct stdio_dev *dev, const char c); argument 39 void (*puts)(struct stdio_dev *dev, const char *s); argument 44 int (*tstc)(struct stdio_dev *dev); argument 45 int (*getc)(struct stdio_dev *dev); /* To get that char */ argument 56 extern struct stdio_dev *stdio_devices[]; argument 62 int stdio_register(struct stdio_dev *dev); 63 int stdio_register_dev(struct stdio_dev *dev, struct stdio_dev **devp); 99 struct stdio_dev *stdio_get_by_name(const char *name); [all …]
|
A D | iomux.h | 20 extern struct stdio_dev **console_devices[MAX_FILES]; 32 int iomux_match_device(struct stdio_dev **, const int, struct stdio_dev *);
|
A D | console.h | 19 int console_start(int file, struct stdio_dev *sdev); /* Start a console device */ 20 void console_stop(int file, struct stdio_dev *sdev); /* Stop a console device */ 38 struct stdio_dev *console_search_dev(int flags, const char *name);
|
A D | serial.h | 53 struct stdio_dev; 55 int usbtty_getc(struct stdio_dev *dev); 56 void usbtty_putc(struct stdio_dev *dev, const char c); 57 void usbtty_puts(struct stdio_dev *dev, const char *str); 58 int usbtty_tstc(struct stdio_dev *dev); 278 struct stdio_dev *sdev;
|
A D | input.h | 66 struct stdio_dev; 135 int input_stdio_register(struct stdio_dev *dev);
|
A D | keyboard.h | 14 struct stdio_dev sdev;
|
A D | video_console.h | 66 struct stdio_dev sdev;
|
/u-boot/common/ |
A D | stdio.c | 27 static struct stdio_dev devs; 63 struct stdio_dev dev; in nulldev_register() 107 struct stdio_dev dev; in drv_system_init() 151 struct stdio_dev **sdevp) in stdio_probe_device() 153 struct stdio_dev *sdev; in stdio_probe_device() 185 struct stdio_dev *sdev; in stdio_get_by_name() 216 struct stdio_dev *stdio_clone(struct stdio_dev *dev) in stdio_clone() 218 struct stdio_dev *_dev; in stdio_clone() 232 int stdio_register_dev(struct stdio_dev *dev, struct stdio_dev **devp) in stdio_register_dev() 234 struct stdio_dev *_dev; in stdio_register_dev() [all …]
|
A D | iomux.c | 16 struct stdio_dev *dev; in iomux_printdevs() 23 int iomux_match_device(struct stdio_dev **set, const int n, struct stdio_dev *sdev) in iomux_match_device() 38 struct stdio_dev **cons_set, **old_set; in iomux_doenv() 39 struct stdio_dev *dev; in iomux_doenv() 79 cons_set = (struct stdio_dev **)calloc(i, sizeof(struct stdio_dev *)); in iomux_doenv() 145 struct stdio_dev *dev; in iomux_replace_device()
|
A D | console.c | 232 static struct stdio_dev *tstcdev; 233 struct stdio_dev **console_devices[MAX_FILES]; 292 struct stdio_dev *dev; in console_tstc() 314 struct stdio_dev *dev; in console_putc() 333 struct stdio_dev *dev; in console_puts_select() 351 struct stdio_dev *dev; in console_puts() 421 int console_start(int file, struct stdio_dev *sdev) in console_start() 839 struct stdio_dev *dev; in console_search_dev() 856 struct stdio_dev *dev; in console_assign() 1039 struct stdio_dev *dev; in console_init_r() [all …]
|
A D | usb_kbd.c | 391 static int usb_kbd_testc(struct stdio_dev *sdev) 393 struct stdio_dev *dev; 417 static int usb_kbd_getc(struct stdio_dev *sdev) 419 struct stdio_dev *dev; 542 struct stdio_dev usb_kbd_dev; 551 memset(&usb_kbd_dev, 0, sizeof(struct stdio_dev)); 617 struct stdio_dev *dev; 659 struct stdio_dev *sdev;
|
A D | lcd.c | 83 static void lcd_stub_putc(struct stdio_dev *dev, const char c) in lcd_stub_putc() 88 static void lcd_stub_puts(struct stdio_dev *dev, const char *s) in lcd_stub_puts() 155 struct stdio_dev lcddev; in drv_lcd_init()
|
/u-boot/drivers/input/ |
A D | keyboard-uclass.c | 11 static int keyboard_start(struct stdio_dev *sdev) in keyboard_start() 22 static int keyboard_stop(struct stdio_dev *sdev) in keyboard_stop() 33 static int keyboard_tstc(struct stdio_dev *sdev) in keyboard_tstc() 48 static int keyboard_getc(struct stdio_dev *sdev) in keyboard_getc() 66 struct stdio_dev *sdev = &priv->sdev; in keyboard_pre_probe()
|
A D | cros_ec_keyb.c | 206 struct stdio_dev *sdev = &uc_priv->sdev; in cros_ec_kbd_probe()
|
A D | i8042.c | 321 struct stdio_dev *sdev = &uc_priv->sdev; in i8042_kbd_probe()
|
/u-boot/drivers/misc/ |
A D | cbmem_console.c | 22 void cbmemc_putc(struct stdio_dev *dev, char data) in cbmemc_putc() 31 void cbmemc_puts(struct stdio_dev *dev, const char *str) in cbmemc_puts() 42 struct stdio_dev cons_dev; in cbmemc_init()
|
/u-boot/include/configs/ |
A D | nokia_rx51.h | 104 struct stdio_dev; 106 int rx51_kp_tstc(struct stdio_dev *sdev); 107 int rx51_kp_getc(struct stdio_dev *sdev);
|
/u-boot/board/kosagi/novena/ |
A D | novena.c | 65 static int novena_gpio_button_getc(struct stdio_dev *dev) in novena_gpio_button_getc() 70 static int novena_gpio_button_tstc(struct stdio_dev *dev) in novena_gpio_button_tstc() 75 static int novena_gpio_button_init(struct stdio_dev *dev) in novena_gpio_button_init() 85 struct stdio_dev dev = { in drv_keyboard_init()
|
/u-boot/drivers/serial/ |
A D | serial.c | 191 static int serial_stub_start(struct stdio_dev *sdev) in serial_stub_start() 198 static int serial_stub_stop(struct stdio_dev *sdev) in serial_stub_stop() 205 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() 212 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() 219 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() 226 static int serial_stub_tstc(struct stdio_dev *sdev) in serial_stub_tstc() 242 struct stdio_dev dev; in serial_stdio_init()
|
A D | serial-uclass.c | 357 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc() 363 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts() 368 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc() 373 static int serial_stub_tstc(struct stdio_dev *sdev) in serial_stub_tstc() 446 struct stdio_dev sdev; in serial_post_probe()
|
A D | usbtty.c | 62 static struct stdio_dev usbttydev; 393 int usbtty_tstc(struct stdio_dev *dev) in usbtty_tstc() 413 int usbtty_getc(struct stdio_dev *dev) in usbtty_getc() 433 void usbtty_putc(struct stdio_dev *dev, const char c) in usbtty_putc() 489 void usbtty_puts(struct stdio_dev *dev, const char *str) in usbtty_puts()
|
/u-boot/cmd/ |
A D | console.c | 21 struct stdio_dev *dev; in do_coninfo() 28 dev = list_entry(pos, struct stdio_dev, list); in do_coninfo()
|
A D | terminal.c | 18 struct stdio_dev *dev = NULL; in do_terminal()
|
/u-boot/drivers/net/ |
A D | netconsole.c | 228 static int nc_stdio_start(struct stdio_dev *dev) in nc_stdio_start() 248 static void nc_stdio_putc(struct stdio_dev *dev, char c) in nc_stdio_putc() 259 static void nc_stdio_puts(struct stdio_dev *dev, const char *s) in nc_stdio_puts() 278 static int nc_stdio_getc(struct stdio_dev *dev) in nc_stdio_getc() 299 static int nc_stdio_tstc(struct stdio_dev *dev) in nc_stdio_tstc() 329 struct stdio_dev dev; in drv_nc_init()
|
/u-boot/drivers/video/ |
A D | vidconsole-uclass.c | 567 static void vidconsole_putc(struct stdio_dev *sdev, const char ch) in vidconsole_putc() 586 static void vidconsole_puts(struct stdio_dev *sdev, const char *s) in vidconsole_puts() 624 struct stdio_dev *sdev = &priv->sdev; in vidconsole_post_probe()
|