Lines Matching refs:sccnxp_port_write
249 static void sccnxp_port_write(struct uart_port *port, u8 reg, u8 v) in sccnxp_port_write() function
316 sccnxp_port_write(port, SCCNXP_CTPU_REG, div_std >> 8); in sccnxp_set_baud()
317 sccnxp_port_write(port, SCCNXP_CTPL_REG, div_std); in sccnxp_set_baud()
340 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_MRPTR0); in sccnxp_set_baud()
341 sccnxp_port_write(port, SCCNXP_MR_REG, mr0); in sccnxp_set_baud()
344 sccnxp_port_write(port, SCCNXP_ACR_REG, acr | ACR_TIMER_MODE); in sccnxp_set_baud()
345 sccnxp_port_write(port, SCCNXP_CSR_REG, (csr << 4) | csr); in sccnxp_set_baud()
402 sccnxp_port_write(port, SCCNXP_CR_REG, in sccnxp_handle_rx()
412 sccnxp_port_write(port, SCCNXP_CR_REG, in sccnxp_handle_rx()
446 sccnxp_port_write(port, SCCNXP_THR_REG, port->x_char); in sccnxp_handle_tx()
474 sccnxp_port_write(port, SCCNXP_THR_REG, ch); in sccnxp_handle_tx()
552 sccnxp_port_write(port, SCCNXP_CR_REG, CR_RX_DISABLE); in sccnxp_stop_rx()
635 sccnxp_port_write(port, SCCNXP_CR_REG, break_state ? in sccnxp_break_ctl()
655 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_RX_RESET | in sccnxp_set_termios()
657 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_TX_RESET); in sccnxp_set_termios()
658 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_STATUS_RESET); in sccnxp_set_termios()
659 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_BREAK_RESET); in sccnxp_set_termios()
689 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_MRPTR1); in sccnxp_set_termios()
690 sccnxp_port_write(port, SCCNXP_MR_REG, mr1); in sccnxp_set_termios()
691 sccnxp_port_write(port, SCCNXP_MR_REG, mr2); in sccnxp_set_termios()
723 sccnxp_port_write(port, SCCNXP_CR_REG, CR_RX_ENABLE | CR_TX_ENABLE); in sccnxp_set_termios()
741 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_RX_RESET); in sccnxp_startup()
742 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_TX_RESET); in sccnxp_startup()
743 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_STATUS_RESET); in sccnxp_startup()
744 sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_BREAK_RESET); in sccnxp_startup()
747 sccnxp_port_write(port, SCCNXP_CR_REG, CR_RX_ENABLE | CR_TX_ENABLE); in sccnxp_startup()
772 sccnxp_port_write(port, SCCNXP_CR_REG, CR_RX_DISABLE | CR_TX_DISABLE); in sccnxp_shutdown()
840 sccnxp_port_write(port, SCCNXP_THR_REG, c); in sccnxp_console_putchar()