Home
last modified time | relevance | path

Searched refs:stdio_dev (Results 1 – 25 of 30) sorted by relevance

12

/u-boot/include/
A Dstdio_dev.h24 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 Diomux.h20 extern struct stdio_dev **console_devices[MAX_FILES];
32 int iomux_match_device(struct stdio_dev **, const int, struct stdio_dev *);
A Dconsole.h19 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 Dserial.h53 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 Dinput.h66 struct stdio_dev;
135 int input_stdio_register(struct stdio_dev *dev);
A Dkeyboard.h14 struct stdio_dev sdev;
A Dvideo_console.h66 struct stdio_dev sdev;
/u-boot/common/
A Dstdio.c27 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 Diomux.c16 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 Dconsole.c232 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 Dusb_kbd.c391 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 Dlcd.c83 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 Dkeyboard-uclass.c11 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 Dcros_ec_keyb.c206 struct stdio_dev *sdev = &uc_priv->sdev; in cros_ec_kbd_probe()
A Di8042.c321 struct stdio_dev *sdev = &uc_priv->sdev; in i8042_kbd_probe()
/u-boot/drivers/misc/
A Dcbmem_console.c22 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 Dnokia_rx51.h104 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 Dnovena.c65 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 Dserial.c191 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 Dserial-uclass.c357 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 Dusbtty.c62 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 Dconsole.c21 struct stdio_dev *dev; in do_coninfo()
28 dev = list_entry(pos, struct stdio_dev, list); in do_coninfo()
A Dterminal.c18 struct stdio_dev *dev = NULL; in do_terminal()
/u-boot/drivers/net/
A Dnetconsole.c228 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 Dvidconsole-uclass.c567 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()

Completed in 25 milliseconds

12