Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/tty/serial/
Domap-serial.c180 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out() function
188 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_omap_clear_fifos()
189 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_omap_clear_fifos()
191 serial_out(up, UART_FCR, 0); in serial_omap_clear_fifos()
281 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms()
300 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx()
319 serial_out(up, UART_OMAP_SCR, up->scr); in serial_omap_stop_tx()
326 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx()
336 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx()
341 serial_out(up, UART_TX, ch); in serial_omap_put_char()
[all …]
Dpxa.c58 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() function
69 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
78 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx()
88 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx()
105 serial_out(up, UART_IER, up->ier); in receive_chars()
172 serial_out(up, UART_IER, up->ier); in receive_chars()
181 serial_out(up, UART_TX, up->port.x_char); in transmit_chars()
193 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
214 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx()
313 serial_out(up, UART_MCR, mcr); in serial_pxa_set_mctrl()
[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
160 #define serial_outp(up, offset, value) serial_out(up, offset, value)
168 serial_out(up, UART_SCR, offset); in serial_icr_write()
169 serial_out(up, UART_ICR, value); in serial_icr_write()
178 serial_out(up, UART_SCR, offset);
259 serial_out(p, UART_IER, p->ier); in __stop_tx()
286 serial_out(up, UART_IER, up->ier); in sunsu_start_tx()
305 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx()
316 serial_out(up, UART_IER, up->ier); in sunsu_enable_ms()
419 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
[all …]
/linux-6.1.9/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.c331 serial_out(up, UART_DLL, value & 0xff); in default_serial_dl_write()
332 serial_out(up, UART_DLM, value >> 8 & 0xff); in default_serial_dl_write()
481 p->serial_out = hub6_serial_out; in set_io_from_upio()
486 p->serial_out = mem_serial_out; in set_io_from_upio()
491 p->serial_out = mem16_serial_out; in set_io_from_upio()
496 p->serial_out = mem32_serial_out; in set_io_from_upio()
501 p->serial_out = mem32be_serial_out; in set_io_from_upio()
507 p->serial_out = au_serial_out; in set_io_from_upio()
515 p->serial_out = io_serial_out; in set_io_from_upio()
532 p->serial_out(p, offset, value); in serial_port_out_sync()
[all …]
D8250.h121 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() function
123 up->port.serial_out(&up->port, offset, value); in serial_out()
151 serial_out(up, UART_SCR, offset); in serial_icr_write()
152 serial_out(up, UART_ICR, value); in serial_icr_write()
161 serial_out(up, UART_SCR, offset); in serial_icr_read()
185 serial_out(up, UART_IER, up->ier); in serial8250_set_THRI()
194 serial_out(up, UART_IER, up->ier); in serial8250_clear_THRI()
269 serial_out(up, UART_MCR, value); in serial8250_out_MCR()
397 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.c269 serial_out(up, UART_IER, 0); in serial8250_backup_timeout()
292 serial_out(up, UART_IER, ier); in serial8250_backup_timeout()
740 if (port->serial_out) in early_serial_setup()
741 p->serial_out = port->serial_out; in early_serial_setup()
763 serial_out(up, UART_SCR, canary); in serial8250_suspend_port()
829 uart.port.serial_out = p->serial_out; in serial8250_probe()
964 serial_out(up, UART_IER, up->ier); in serial_8250_overrun_backoff_work()
1056 if (up->port.serial_out) in serial8250_register_8250_port()
1057 uart->port.serial_out = up->port.serial_out; in serial8250_register_8250_port()
D8250_lpc18xx.c64 serial_out(up, LPC18XX_UART_RS485CTRL, rs485_ctrl_reg); in lpc18xx_rs485_config()
65 serial_out(up, LPC18XX_UART_RS485DLY, rs485_dly_reg); in lpc18xx_rs485_config()
161 uart.port.serial_out = lpc18xx_uart_serial_out; in lpc18xx_serial_probe()
D8250_dw.c387 p->serial_out(p, UART_MCR, mcr); in dw8250_set_ldisc()
461 p->serial_out = dw8250_serial_outq; in dw8250_quirks()
471 p->serial_out = dw8250_serial_out32be; in dw8250_quirks()
475 p->serial_out = dw8250_serial_out38x; in dw8250_quirks()
540 p->serial_out = dw8250_serial_out; in dw8250_probe()
567 p->serial_out = dw8250_serial_out32; in dw8250_probe()
D8250_pxa.c67 serial_out(up, UART_DLL, value & 0xff); in serial_pxa_dl_write()
75 serial_out(up, UART_DLM, value >> 8 & 0xff); in serial_pxa_dl_write()
D8250_bcm2835aux.c58 serial_out(up, BCM2835_AUX_UART_CNTL, data->cntl); in bcm2835aux_rs485_start_tx()
82 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()
208 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()
D8250_uniphier.c227 up.port.serial_out = uniphier_serial_out; in uniphier_uart_probe()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/arch/mips/boot/compressed/
Duart-16550.c39 static inline void serial_out(int offset, int value) in serial_out() function
51 serial_out(UART_TX, c); in putc()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/x86/platform/ce4100/
Dce4100.c108 up->serial_out = ce4100_mem_serial_out; in ce4100_serial_fixup()
/linux-6.1.9/include/linux/
Dserial_8250.h32 void (*serial_out)(struct uart_port *, int, int); member
Dserial_core.h433 void (*serial_out)(struct uart_port *, int, int); member
593 up->serial_out(up, offset, value); in serial_port_out()

12