/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | omap-serial.c | 179 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out() function 187 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_omap_clear_fifos() 188 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_omap_clear_fifos() 190 serial_out(up, UART_FCR, 0); in serial_omap_clear_fifos() 281 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms() 304 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx() 324 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx() 331 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx() 345 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx() 356 serial_out(up, UART_TX, up->port.x_char); in transmit_chars() [all …]
|
D | pxa.c | 57 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() function 68 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms() 77 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx() 87 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx() 104 serial_out(up, UART_IER, up->ier); in receive_chars() 171 serial_out(up, UART_IER, up->ier); in receive_chars() 180 serial_out(up, UART_TX, up->port.x_char); in transmit_chars() 192 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars() 213 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx() 312 serial_out(up, UART_MCR, mcr); in serial_pxa_set_mctrl() [all …]
|
D | pnx8xxx_uart.c | 66 static inline void serial_out(struct pnx8xxx_port *sport, int offset, int value) in serial_out() function 127 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx() 130 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx() 143 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx() 147 serial_out(sport, PNX8XXX_IEN, ien | PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx() 161 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx() 164 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx() 229 serial_out(sport, PNX8XXX_LCR, serial_in(sport, PNX8XXX_LCR) | in pnx8xxx_rx_chars() 245 serial_out(sport, PNX8XXX_FIFO, sport->port.x_char); in pnx8xxx_tx_chars() 267 serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]); in pnx8xxx_tx_chars() [all …]
|
D | sprd_serial.c | 143 static inline void serial_out(struct uart_port *port, unsigned int offset, in serial_out() function 171 serial_out(port, SPRD_CTL1, val); in sprd_set_mctrl() 189 serial_out(port, SPRD_IEN, ien); in sprd_stop_rx() 190 serial_out(port, SPRD_ICLR, iclr); in sprd_stop_rx() 202 serial_out(port, SPRD_CTL1, val); in sprd_uart_dma_enable() 328 serial_out(port, SPRD_TXD, port->x_char); in sprd_start_tx_dma() 352 serial_out(port, SPRD_CTL2, val); in sprd_rx_full_thld() 535 serial_out(port, SPRD_IEN, ien); in sprd_stop_tx() 536 serial_out(port, SPRD_ICLR, iclr); in sprd_stop_tx() 553 serial_out(port, SPRD_IEN, ien); in sprd_start_tx() [all …]
|
D | sunsu.c | 121 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out() function 159 #define serial_outp(up, offset, value) serial_out(up, offset, value) 167 serial_out(up, UART_SCR, offset); in serial_icr_write() 168 serial_out(up, UART_ICR, value); in serial_icr_write() 177 serial_out(up, UART_SCR, offset); 258 serial_out(p, UART_IER, p->ier); in __stop_tx() 285 serial_out(up, UART_IER, up->ier); in sunsu_start_tx() 304 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx() 315 serial_out(up, UART_IER, up->ier); in sunsu_enable_ms() 418 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_mtk.c | 170 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | in mtk8250_dma_enable() 172 serial_out(up, MTK_UART_DMA_EN, in mtk8250_dma_enable() 175 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in mtk8250_dma_enable() 176 serial_out(up, MTK_UART_EFR, UART_EFR_ECB); in mtk8250_dma_enable() 177 serial_out(up, UART_LCR, lcr); in mtk8250_dma_enable() 225 serial_out(up, UART_IER, serial_in(up, UART_IER) & (~mask)); in mtk8250_disable_intrs() 230 serial_out(up, UART_IER, serial_in(up, UART_IER) | mask); in mtk8250_enable_intrs() 238 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in mtk8250_set_flow_ctrl() 239 serial_out(up, MTK_UART_EFR, UART_EFR_ECB); in mtk8250_set_flow_ctrl() 240 serial_out(up, UART_LCR, lcr); in mtk8250_set_flow_ctrl() [all …]
|
D | 8250_omap.c | 178 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in __omap8250_set_mctrl() 183 serial_out(up, UART_EFR, priv->efr); in __omap8250_set_mctrl() 184 serial_out(up, UART_LCR, lcr); in __omap8250_set_mctrl() 214 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap_8250_mdr1_errataset() 216 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in omap_8250_mdr1_errataset() 278 serial_out(up, UART_OMAP_SCR, in omap8250_update_scr() 280 serial_out(up, UART_OMAP_SCR, priv->scr); in omap8250_update_scr() 289 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap8250_update_mdr1() 309 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in omap8250_restore_regs() 310 serial_out(up, UART_EFR, UART_EFR_ECB); in omap8250_restore_regs() [all …]
|
D | 8250_port.c | 325 serial_out(up, UART_DLL, value & 0xff); in default_serial_dl_write() 326 serial_out(up, UART_DLM, value >> 8 & 0xff); in default_serial_dl_write() 473 p->serial_out = hub6_serial_out; in set_io_from_upio() 478 p->serial_out = mem_serial_out; in set_io_from_upio() 483 p->serial_out = mem16_serial_out; in set_io_from_upio() 488 p->serial_out = mem32_serial_out; in set_io_from_upio() 493 p->serial_out = mem32be_serial_out; in set_io_from_upio() 499 p->serial_out = au_serial_out; in set_io_from_upio() 507 p->serial_out = io_serial_out; in set_io_from_upio() 524 p->serial_out(p, offset, value); in serial_port_out_sync() [all …]
|
D | 8250.h | 117 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() function 119 up->port.serial_out(&up->port, offset, value); in serial_out() 127 serial_out(up, UART_SCR, offset); in serial_icr_write() 128 serial_out(up, UART_ICR, value); in serial_icr_write() 137 serial_out(up, UART_SCR, offset); in serial_icr_read() 161 serial_out(up, UART_IER, up->ier); in serial8250_set_THRI() 170 serial_out(up, UART_IER, up->ier); in serial8250_clear_THRI() 243 serial_out(up, UART_MCR, value); in serial8250_out_MCR() 362 serial_out(up, 0x04, status); in ns16550a_goto_highspeed()
|
D | 8250_em.c | 75 serial_out(up, UART_DLL_EM, value & 0xff); in serial8250_em_serial_dl_write() 76 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); in serial8250_em_serial_dl_write() 119 up.port.serial_out = serial8250_em_serial_out; in serial8250_em_probe()
|
D | 8250_core.c | 280 serial_out(up, UART_IER, 0); in serial8250_backup_timeout() 304 serial_out(up, UART_IER, ier); in serial8250_backup_timeout() 753 if (port->serial_out) in early_serial_setup() 754 p->serial_out = port->serial_out; in early_serial_setup() 776 serial_out(up, UART_SCR, canary); in serial8250_suspend_port() 842 uart.port.serial_out = p->serial_out; in serial8250_probe() 977 serial_out(up, UART_IER, up->ier); in serial_8250_overrun_backoff_work() 1067 if (up->port.serial_out) in serial8250_register_8250_port() 1068 uart->port.serial_out = up->port.serial_out; in serial8250_register_8250_port()
|
D | 8250_lpc18xx.c | 79 serial_out(up, LPC18XX_UART_RS485CTRL, rs485_ctrl_reg); in lpc18xx_rs485_config() 80 serial_out(up, LPC18XX_UART_RS485DLY, rs485_dly_reg); in lpc18xx_rs485_config() 171 uart.port.serial_out = lpc18xx_uart_serial_out; in lpc18xx_serial_probe()
|
D | 8250_dw.c | 374 p->serial_out(p, UART_MCR, mcr); in dw8250_set_ldisc() 410 p->serial_out = dw8250_serial_outq; in dw8250_quirks() 420 p->serial_out = dw8250_serial_out32be; in dw8250_quirks() 423 p->serial_out = dw8250_serial_out38x; in dw8250_quirks() 471 p->serial_out = dw8250_serial_out; in dw8250_probe() 498 p->serial_out = dw8250_serial_out32; in dw8250_probe()
|
D | 8250_pxa.c | 68 serial_out(up, UART_DLL, value & 0xff); in serial_pxa_dl_write() 76 serial_out(up, UART_DLM, value >> 8 & 0xff); in serial_pxa_dl_write()
|
D | 8250_bcm2835aux.c | 53 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_start_tx() 77 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_stop_tx()
|
D | 8250_early.c | 82 port->serial_out(port, reg_offset, value); in serial8250_early_out() 213 dev->port.serial_out = au_serial_out; in early_au_setup()
|
D | 8250_ioc3.c | 69 up.port.serial_out = ioc3_serial_out; in serial8250_ioc3_probe()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | early_printk.c | 108 static void (*serial_out)(unsigned long addr, int offset, int value) = io_serial_out; variable 116 serial_out(early_serial_base, TXR, ch); in early_serial_putc() 134 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init() 135 serial_out(early_serial_base, IER, 0); /* no interrupt */ in early_serial_hw_init() 136 serial_out(early_serial_base, FCR, 0); /* no fifo */ in early_serial_hw_init() 137 serial_out(early_serial_base, MCR, 0x3); /* DTR + RTS */ in early_serial_hw_init() 140 serial_out(early_serial_base, LCR, c | DLAB); in early_serial_hw_init() 141 serial_out(early_serial_base, DLL, divisor & 0xff); in early_serial_hw_init() 142 serial_out(early_serial_base, DLH, (divisor >> 8) & 0xff); in early_serial_hw_init() 143 serial_out(early_serial_base, LCR, c & ~DLAB); in early_serial_hw_init() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | early_printk_8250.c | 29 static inline void serial_out(int offset, char value) in serial_out() function 53 serial_out(UART_TX, c); in prom_putchar()
|
/kernel/linux/linux-5.10/arch/mips/boot/compressed/ |
D | uart-16550.c | 51 static inline void serial_out(int offset, int value) in serial_out() function 63 serial_out(UART_TX, c); in putc()
|
/kernel/linux/linux-5.10/arch/mips/ar7/ |
D | prom.c | 246 static inline void serial_out(int offset, int value) in serial_out() function 255 serial_out(UART_TX, c); in prom_putchar()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
D | fsi-master-gpio.c | 129 static void serial_out(struct fsi_master_gpio *master, in serial_out() function 407 serial_out(master, &cmd); in issue_term() 453 serial_out(master, &cmd); in poll_for_response() 484 serial_out(master, &cmd); in poll_for_response() 532 serial_out(master, cmd); in send_request()
|
/kernel/linux/linux-5.10/arch/x86/platform/ce4100/ |
D | ce4100.c | 108 up->serial_out = ce4100_mem_serial_out; in ce4100_serial_fixup()
|
/kernel/linux/linux-5.10/include/linux/ |
D | serial_8250.h | 32 void (*serial_out)(struct uart_port *, int, int); member
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/ |
D | platform.c | 70 .serial_out = nlm_xlr_uart_out, \
|