Home
last modified time | relevance | path

Searched refs:serial_out (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/tty/serial/
Domap-serial.c179 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 …]
Dpxa.c57 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 …]
Dpnx8xxx_uart.c66 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 …]
Dsprd_serial.c143 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 …]
Dsunsu.c121 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/
D8250_mtk.c170 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 …]
D8250_omap.c178 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 …]
D8250_port.c325 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 …]
D8250.h117 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()
D8250_em.c75 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()
D8250_core.c280 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()
D8250_lpc18xx.c79 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()
D8250_dw.c374 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()
D8250_pxa.c68 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()
D8250_bcm2835aux.c53 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()
D8250_early.c82 port->serial_out(port, reg_offset, value); in serial8250_early_out()
213 dev->port.serial_out = au_serial_out; in early_au_setup()
D8250_ioc3.c69 up.port.serial_out = ioc3_serial_out; in serial8250_ioc3_probe()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dearly_printk.c108 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/
Dearly_printk_8250.c29 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/
Duart-16550.c51 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/
Dprom.c246 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/
Dfsi-master-gpio.c129 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/
Dce4100.c108 up->serial_out = ce4100_mem_serial_out; in ce4100_serial_fixup()
/kernel/linux/linux-5.10/include/linux/
Dserial_8250.h32 void (*serial_out)(struct uart_port *, int, int); member
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
Dplatform.c70 .serial_out = nlm_xlr_uart_out, \

12