Lines Matching +full:cpm1 +full:- +full:fsl
1 // SPDX-License-Identifier: GPL-2.0
23 return scdp->open(); in serial_open()
31 scdp->putc(*buf++); in serial_write()
46 if (scdp->tstc()) { in serial_edit_cmdline()
47 while (((ch = scdp->getc()) != '\n') && (ch != '\r')) { in serial_edit_cmdline()
51 cp--; in serial_edit_cmdline()
52 count--; in serial_edit_cmdline()
58 cp--; in serial_edit_cmdline()
59 count--; in serial_edit_cmdline()
65 scdp->putc(ch); in serial_edit_cmdline()
79 if (scdp->close) in serial_close()
80 scdp->close(); in serial_close()
93 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp()
94 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
113 int rc = -1; in serial_console_init()
123 else if (dt_is_compatible(devp, "fsl,cpm1-scc-uart") || in serial_console_init()
124 dt_is_compatible(devp, "fsl,cpm1-smc-uart") || in serial_console_init()
125 dt_is_compatible(devp, "fsl,cpm2-scc-uart") || in serial_console_init()
126 dt_is_compatible(devp, "fsl,cpm2-smc-uart")) in serial_console_init()
130 else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart")) in serial_console_init()
134 else if (dt_is_compatible(devp, "ibm,opal-console-raw")) in serial_console_init()
152 return -1; in serial_console_init()