Home
last modified time | relevance | path

Searched refs:scdp (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/powerpc/boot/
H A Dserial.c22 struct serial_console_data *scdp = console_ops.data; in serial_open() local
23 return scdp->open(); in serial_open()
28 struct serial_console_data *scdp = console_ops.data; in serial_write() local
31 scdp->putc(*buf++); in serial_write()
38 struct serial_console_data *scdp = console_ops.data; in serial_edit_cmdline() local
46 if (scdp->tstc()) { in serial_edit_cmdline()
47 while (((ch = scdp->getc()) != '\n') && (ch != '\r')) { in serial_edit_cmdline()
65 scdp->putc(ch); in serial_edit_cmdline()
77 struct serial_console_data *scdp = console_ops.data; in serial_close() local
79 if (scdp->close) in serial_close()
[all …]
H A Dns16550.c57 int ns16550_console_init(void *devp, struct serial_console_data *scdp) in ns16550_console_init() argument
77 scdp->open = ns16550_open; in ns16550_console_init()
78 scdp->putc = ns16550_putc; in ns16550_console_init()
79 scdp->getc = ns16550_getc; in ns16550_console_init()
80 scdp->tstc = ns16550_tstc; in ns16550_console_init()
81 scdp->close = NULL; in ns16550_console_init()
H A Dmpc52xx-psc.c53 int mpc5200_psc_console_init(void *devp, struct serial_console_data *scdp) in mpc5200_psc_console_init() argument
59 scdp->open = psc_open; in mpc5200_psc_console_init()
60 scdp->putc = psc_putc; in mpc5200_psc_console_init()
61 scdp->getc = psc_getc; in mpc5200_psc_console_init()
62 scdp->tstc = psc_tstc; in mpc5200_psc_console_init()
H A Dopal.c80 int opal_console_init(void *devp, struct serial_console_data *scdp) in opal_console_init() argument
92 scdp->open = opal_con_open; in opal_console_init()
93 scdp->putc = opal_con_putc; in opal_console_init()
94 scdp->close = opal_con_close; in opal_console_init()
H A Dcpm-serial.c199 int cpm_console_init(void *devp, struct serial_console_data *scdp) in cpm_console_init() argument
289 scdp->open = cpm_serial_open; in cpm_console_init()
290 scdp->putc = cpm_serial_putc; in cpm_console_init()
291 scdp->getc = cpm_serial_getc; in cpm_console_init()
292 scdp->tstc = cpm_serial_tstc; in cpm_console_init()
H A Dops.h86 int ns16550_console_init(void *devp, struct serial_console_data *scdp);
87 int cpm_console_init(void *devp, struct serial_console_data *scdp);
88 int mpc5200_psc_console_init(void *devp, struct serial_console_data *scdp);
89 int opal_console_init(void *devp, struct serial_console_data *scdp);