/drivers/tty/serial/ |
D | omap-serial.c | 188 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out() function 196 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_omap_clear_fifos() 197 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_omap_clear_fifos() 199 serial_out(up, UART_FCR, 0); in serial_omap_clear_fifos() 290 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms() 313 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx() 332 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx() 339 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx() 348 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_RCVR); in serial_omap_stop_tx() 352 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx() [all …]
|
D | pxa.c | 66 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() function 77 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms() 86 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx() 96 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx() 113 serial_out(up, UART_IER, up->ier); in receive_chars() 180 serial_out(up, UART_IER, up->ier); in receive_chars() 189 serial_out(up, UART_TX, up->port.x_char); in transmit_chars() 201 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars() 222 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx() 321 serial_out(up, UART_MCR, mcr); in serial_pxa_set_mctrl() [all …]
|
D | pnx8xxx_uart.c | 74 static inline void serial_out(struct pnx8xxx_port *sport, int offset, int value) in serial_out() function 135 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx() 138 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx() 151 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx() 155 serial_out(sport, PNX8XXX_IEN, ien | PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx() 169 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx() 172 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx() 239 serial_out(sport, PNX8XXX_LCR, serial_in(sport, PNX8XXX_LCR) | in pnx8xxx_rx_chars() 255 serial_out(sport, PNX8XXX_FIFO, sport->port.x_char); in pnx8xxx_tx_chars() 277 serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]); in pnx8xxx_tx_chars() [all …]
|
D | sprd_serial.c | 130 static inline void serial_out(struct uart_port *port, int offset, int value) in serial_out() function 163 serial_out(port, SPRD_ICLR, iclr); in sprd_stop_tx() 164 serial_out(port, SPRD_IEN, ien); in sprd_stop_tx() 174 serial_out(port, SPRD_IEN, ien); in sprd_start_tx() 188 serial_out(port, SPRD_IEN, ien); in sprd_stop_rx() 189 serial_out(port, SPRD_ICLR, iclr); in sprd_stop_rx() 260 serial_out(port, SPRD_TXD, port->x_char); in sprd_tx() 273 serial_out(port, SPRD_TXD, xmit->buf[xmit->tail]); in sprd_tx() 303 serial_out(port, SPRD_ICLR, SPRD_ICLR_TIMEOUT); in sprd_handle_irq() 325 serial_out(port, SPRD_CTL2, ((THLD_TX_EMPTY << 8) | THLD_RX_FULL)); in sprd_startup() [all …]
|
D | sunsu.c | 124 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out() function 162 #define serial_outp(up, offset, value) serial_out(up, offset, value) 170 serial_out(up, UART_SCR, offset); in serial_icr_write() 171 serial_out(up, UART_ICR, value); in serial_icr_write() 180 serial_out(up, UART_SCR, offset); 261 serial_out(p, UART_IER, p->ier); in __stop_tx() 288 serial_out(up, UART_IER, up->ier); in sunsu_start_tx() 307 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx() 318 serial_out(up, UART_IER, up->ier); in sunsu_enable_ms() 421 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars() [all …]
|
D | m32r_sio.c | 242 static void serial_out(struct uart_sio_port *up, int offset, int value) in serial_out() function 257 serial_out(up, UART_IER, up->ier); in m32r_sio_stop_tx() 270 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx() 272 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in m32r_sio_start_tx() 284 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx() 296 serial_out(up, UART_IER, up->ier); in m32r_sio_stop_rx() 305 serial_out(up, UART_IER, up->ier); in m32r_sio_enable_ms() 391 serial_out(up, UART_TX, up->port.x_char); in transmit_chars() 404 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars() 783 serial_out(up, UART_IER, up->ier); in m32r_sio_set_termios()
|
D | sh-sci.c | 2384 port->serial_out = sci_serial_out; in sci_init_single()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 288 serial_out(up, UART_DLL, value & 0xff); in default_serial_dl_write() 289 serial_out(up, UART_DLM, value >> 8 & 0xff); in default_serial_dl_write() 425 p->serial_out = hub6_serial_out; in set_io_from_upio() 430 p->serial_out = mem_serial_out; in set_io_from_upio() 435 p->serial_out = mem32_serial_out; in set_io_from_upio() 440 p->serial_out = mem32be_serial_out; in set_io_from_upio() 446 p->serial_out = au_serial_out; in set_io_from_upio() 454 p->serial_out = io_serial_out; in set_io_from_upio() 470 p->serial_out(p, offset, value); in serial_port_out_sync() 474 p->serial_out(p, offset, value); in serial_port_out_sync() [all …]
|
D | 8250_omap.c | 136 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in omap8250_set_mctrl() 141 serial_out(up, UART_EFR, priv->efr); in omap8250_set_mctrl() 142 serial_out(up, UART_LCR, lcr); in omap8250_set_mctrl() 159 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap_8250_mdr1_errataset() 161 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in omap_8250_mdr1_errataset() 238 serial_out(up, UART_OMAP_SCR, in omap8250_update_scr() 240 serial_out(up, UART_OMAP_SCR, priv->scr); in omap8250_update_scr() 249 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap8250_update_mdr1() 268 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in omap8250_restore_regs() 269 serial_out(up, UART_EFR, UART_EFR_ECB); in omap8250_restore_regs() [all …]
|
D | 8250.h | 100 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() function 102 up->port.serial_out(&up->port, offset, value); in serial_out() 210 serial_out(up, 0x04, status); in ns16550a_goto_highspeed()
|
D | 8250_em.c | 86 serial_out(up, UART_DLL_EM, value & 0xff); in serial8250_em_serial_dl_write() 87 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); in serial8250_em_serial_dl_write() 126 up.port.serial_out = serial8250_em_serial_out; in serial8250_em_probe()
|
D | 8250_core.c | 287 serial_out(up, UART_IER, 0); in serial8250_backup_timeout() 311 serial_out(up, UART_IER, ier); in serial8250_backup_timeout() 737 if (port->serial_out) in early_serial_setup() 738 p->serial_out = port->serial_out; in early_serial_setup() 759 serial_out(up, UART_SCR, canary); in serial8250_suspend_port() 822 uart.port.serial_out = p->serial_out; in serial8250_probe() 1011 if (up->port.serial_out) in serial8250_register_8250_port() 1012 uart->port.serial_out = up->port.serial_out; in serial8250_register_8250_port()
|
D | 8250_lpc18xx.c | 83 serial_out(up, LPC18XX_UART_RS485CTRL, rs485_ctrl_reg); in lpc18xx_rs485_config() 84 serial_out(up, LPC18XX_UART_RS485DLY, rs485_dly_reg); in lpc18xx_rs485_config() 177 uart.port.serial_out = lpc18xx_uart_serial_out; in lpc18xx_serial_probe()
|
D | 8250_dw.c | 277 p->serial_out = dw8250_serial_outq; in dw8250_quirks() 366 p->serial_out = dw8250_serial_out; in dw8250_probe() 391 p->serial_out = dw8250_serial_out32; in dw8250_probe() 467 p->serial_out = NULL; in dw8250_probe()
|
D | 8250_uniphier.c | 218 up.port.serial_out = uniphier_serial_out; in uniphier_uart_probe()
|
D | 8250_dma.c | 104 serial_out(p, UART_IER, p->ier); in serial8250_tx_dma()
|
D | 8250_ingenic.c | 232 uart.port.serial_out = ingenic_uart_serial_out; in ingenic_uart_probe()
|
/drivers/isdn/hisax/ |
D | elsa_ser.c | 79 static inline void serial_out(struct IsdnCardState *cs, int offset, int value) in serial_out() function 361 serial_out(cs, UART_IER, cs->hw.elsa.IER); in transmit_chars()
|