Lines Matching full:psc
3 * MPC5200 PSC serial console support.
18 /* Programmable Serial Controller (PSC) status register bits */
27 static void *psc; variable
31 /* Assume the firmware has already configured the PSC into in psc_open()
38 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; in psc_putc()
39 out_8(psc + MPC52xx_PSC_BUFFER, c); in psc_putc()
44 return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; in psc_tstc()
49 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; in psc_getc()
50 return in_8(psc + MPC52xx_PSC_BUFFER); in psc_getc()
55 /* Get the base address of the psc registers */ in mpc5200_psc_console_init()
56 if (dt_get_virtual_reg(devp, &psc, 1) < 1) in mpc5200_psc_console_init()