psc_ops 346 drivers/tty/serial/mpc52xx_uart.c static const struct psc_ops mpc52xx_psc_ops = { psc_ops 376 drivers/tty/serial/mpc52xx_uart.c static const struct psc_ops mpc5200b_psc_ops = { psc_ops 969 drivers/tty/serial/mpc52xx_uart.c static const struct psc_ops mpc5125_psc_ops = { psc_ops 1004 drivers/tty/serial/mpc52xx_uart.c static const struct psc_ops mpc512x_psc_ops = { psc_ops 1041 drivers/tty/serial/mpc52xx_uart.c static const struct psc_ops *psc_ops; psc_ops 1050 drivers/tty/serial/mpc52xx_uart.c return psc_ops->tx_empty(port) ? TIOCSER_TEMT : 0; psc_ops 1056 drivers/tty/serial/mpc52xx_uart.c psc_ops->set_rts(port, mctrl & TIOCM_RTS); psc_ops 1063 drivers/tty/serial/mpc52xx_uart.c u8 status = psc_ops->get_ipcr(port); psc_ops 1077 drivers/tty/serial/mpc52xx_uart.c psc_ops->stop_tx(port); psc_ops 1084 drivers/tty/serial/mpc52xx_uart.c psc_ops->start_tx(port); psc_ops 1091 drivers/tty/serial/mpc52xx_uart.c psc_ops->stop_rx(port); psc_ops 1097 drivers/tty/serial/mpc52xx_uart.c psc_ops->enable_ms(port); psc_ops 1107 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_START_BRK); psc_ops 1109 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_STOP_BRK); psc_ops 1119 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->clock) { psc_ops 1120 drivers/tty/serial/mpc52xx_uart.c ret = psc_ops->clock(port, 1); psc_ops 1132 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_RX); psc_ops 1133 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_TX); psc_ops 1142 drivers/tty/serial/mpc52xx_uart.c psc_ops->set_sicr(port, 0); /* UART mode DCD ignored */ psc_ops 1144 drivers/tty/serial/mpc52xx_uart.c psc_ops->fifo_init(port); psc_ops 1146 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_TX_ENABLE); psc_ops 1147 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RX_ENABLE); psc_ops 1156 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_RX); psc_ops 1158 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_TX); psc_ops 1161 drivers/tty/serial/mpc52xx_uart.c psc_ops->set_imr(port, port->read_status_mask); psc_ops 1163 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->clock) psc_ops 1164 drivers/tty/serial/mpc52xx_uart.c psc_ops->clock(port, 0); psc_ops 1167 drivers/tty/serial/mpc52xx_uart.c psc_ops->cw_disable_ints(port); psc_ops 1240 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_RX); psc_ops 1241 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_TX); psc_ops 1244 drivers/tty/serial/mpc52xx_uart.c psc_ops->set_mode(port, mr1, mr2); psc_ops 1245 drivers/tty/serial/mpc52xx_uart.c baud = psc_ops->set_baudrate(port, new, old); psc_ops 1254 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_TX_ENABLE); psc_ops 1255 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RX_ENABLE); psc_ops 1274 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->clock_relse) psc_ops 1275 drivers/tty/serial/mpc52xx_uart.c psc_ops->clock_relse(port); psc_ops 1304 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->clock_alloc) { psc_ops 1305 drivers/tty/serial/mpc52xx_uart.c err = psc_ops->clock_alloc(port); psc_ops 1380 drivers/tty/serial/mpc52xx_uart.c while (psc_ops->raw_rx_rdy(port)) { psc_ops 1382 drivers/tty/serial/mpc52xx_uart.c ch = psc_ops->read_char(port); psc_ops 1397 drivers/tty/serial/mpc52xx_uart.c status = psc_ops->get_status(port); psc_ops 1417 drivers/tty/serial/mpc52xx_uart.c psc_ops->command(port, MPC52xx_PSC_RST_ERR_STAT); psc_ops 1436 drivers/tty/serial/mpc52xx_uart.c return psc_ops->raw_rx_rdy(port); psc_ops 1446 drivers/tty/serial/mpc52xx_uart.c psc_ops->write_char(port, port->x_char); psc_ops 1459 drivers/tty/serial/mpc52xx_uart.c while (psc_ops->raw_tx_rdy(port)) { psc_ops 1460 drivers/tty/serial/mpc52xx_uart.c psc_ops->write_char(port, xmit->buf[xmit->tail]); psc_ops 1492 drivers/tty/serial/mpc52xx_uart.c psc_ops->rx_clr_irq(port); psc_ops 1493 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->rx_rdy(port)) psc_ops 1496 drivers/tty/serial/mpc52xx_uart.c psc_ops->tx_clr_irq(port); psc_ops 1497 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->tx_rdy(port)) psc_ops 1500 drivers/tty/serial/mpc52xx_uart.c status = psc_ops->get_ipcr(port); psc_ops 1524 drivers/tty/serial/mpc52xx_uart.c ret = psc_ops->handle_irq(port); psc_ops 1546 drivers/tty/serial/mpc52xx_uart.c mr1 = psc_ops->get_mr1(port); psc_ops 1580 drivers/tty/serial/mpc52xx_uart.c psc_ops->cw_disable_ints(port); psc_ops 1591 drivers/tty/serial/mpc52xx_uart.c psc_ops->write_char(port, '\r'); psc_ops 1594 drivers/tty/serial/mpc52xx_uart.c psc_ops->write_char(port, *s); psc_ops 1603 drivers/tty/serial/mpc52xx_uart.c psc_ops->cw_restore_ints(port); psc_ops 1791 drivers/tty/serial/mpc52xx_uart.c psc_ops->get_irq(port, op->dev.of_node); psc_ops 1873 drivers/tty/serial/mpc52xx_uart.c psc_ops = match->data; psc_ops 1925 drivers/tty/serial/mpc52xx_uart.c if (psc_ops && psc_ops->fifoc_init) { psc_ops 1926 drivers/tty/serial/mpc52xx_uart.c ret = psc_ops->fifoc_init(); psc_ops 1940 drivers/tty/serial/mpc52xx_uart.c if (psc_ops && psc_ops->fifoc_uninit) psc_ops 1941 drivers/tty/serial/mpc52xx_uart.c psc_ops->fifoc_uninit(); psc_ops 1950 drivers/tty/serial/mpc52xx_uart.c if (psc_ops->fifoc_uninit) psc_ops 1951 drivers/tty/serial/mpc52xx_uart.c psc_ops->fifoc_uninit();