Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/platforms/embedded6xx/
Dls_uart.c79 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO); /* enable FIFO */ in avr_uart_configure()
98 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO); /* enable FIFO */ in ls_uart_init()
99 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO | in ls_uart_init()
101 out_8(avr_addr + UART_FCR, 0); in ls_uart_init()
/linux-6.6.21/arch/powerpc/boot/
Dns16550.c22 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
36 out_8(reg_base + (UART_FCR << reg_shift), 0x06); in ns16550_open()
/linux-6.6.21/drivers/tty/serial/
Dsunsu.c644 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_startup()
645 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_startup()
647 serial_outp(up, UART_FCR, 0); in sunsu_startup()
749 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_shutdown()
752 serial_outp(up, UART_FCR, 0); in sunsu_shutdown()
881 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
887 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_change_speed()
889 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
1091 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1121 serial_outp(up, UART_FCR, in sunsu_autoconfig()
[all …]
Dpxa.c331 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_pxa_startup()
332 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_pxa_startup()
334 serial_out(up, UART_FCR, 0); in serial_pxa_startup()
395 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_pxa_shutdown()
398 serial_out(up, UART_FCR, 0); in serial_pxa_shutdown()
506 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Dserial-tegra.c315 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
318 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
321 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
323 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
1043 tegra_uart_write(tup, tup->fcr_shadow, UART_FCR); in tegra_uart_hw_init()
1080 tegra_uart_write(tup, tup->fcr_shadow, UART_FCR); in tegra_uart_hw_init()
1082 tegra_uart_write(tup, tup->fcr_shadow, UART_FCR); in tegra_uart_hw_init()
Domap-serial.c188 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()
905 serial_out(up, UART_FCR, up->fcr); in serial_omap_set_termios()
1693 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in serial_omap_mdr1_errataset()
1729 serial_out(up, UART_FCR, up->fcr); in serial_omap_restore_context()
Dpch_uart.c484 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
486 priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
487 iowrite8(priv->fcr, priv->membase + UART_FCR); in pch_uart_hal_fifo_reset()
536 iowrite8(PCH_UART_FCR_FIFOE, priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
538 priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
539 iowrite8(fcr, priv->membase + UART_FCR); in pch_uart_hal_set_fifo()
/linux-6.6.21/arch/powerpc/kernel/
Dudbg_16550.c20 #define UART_FCR 2 macro
27 #define UART_IIR UART_FCR
122 udbg_uart_out(UART_FCR, 0x7); in udbg_uart_setup()
/linux-6.6.21/drivers/usb/serial/
Dark3116.c143 ark3116_write_reg(serial, UART_FCR, 0); in ark3116_port_probe()
262 ark3116_write_reg(serial, UART_FCR, 0); in ark3116_set_termios()
277 ark3116_write_reg(serial, UART_FCR, UART_FCR_DMA_SELECT); in ark3116_set_termios()
301 ark3116_write_reg(serial, UART_FCR, 0); in ark3116_close()
356 ark3116_write_reg(port->serial, UART_FCR, UART_FCR_DMA_SELECT); in ark3116_open()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_ingenic.c114 early_out(port, UART_FCR, UART_FCR_UME | UART_FCR_CLEAR_XMIT | in ingenic_earlycon_setup_tail()
176 case UART_FCR: in ingenic_uart_serial_out()
217 case UART_FCR: in ingenic_uart_serial_in()
D8250_port.c494 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO); in serial8250_clear_fifos()
495 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO | in serial8250_clear_fifos()
497 serial_out(p, UART_FCR, 0); in serial8250_clear_fifos()
507 serial_out(p, UART_FCR, p->fcr); in serial8250_clear_and_reinit_fifos()
801 old_fcr = serial_in(up, UART_FCR); in size_fifo()
803 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in size_fifo()
816 serial_out(up, UART_FCR, old_fcr); in size_fifo()
1009 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in autoconfig_16550a()
1013 serial_out(up, UART_FCR, 0); in autoconfig_16550a()
1083 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR7_64BYTE); in autoconfig_16550a()
[all …]
D8250_rt288x.c31 [UART_FCR] = 4,
D8250_early.c134 serial8250_early_out(port, UART_FCR, 0); /* no fifo */ in init_port()
D8250_em.c132 case UART_FCR: in serial8250_em_serial_out()
D8250_lpc18xx.c77 if (offset == UART_FCR && (value & UART_FCR_ENABLE_FIFO)) in lpc18xx_uart_serial_out()
D8250_uniphier.c105 case UART_FCR: in uniphier_serial_out()
D8250_omap.c224 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in omap_8250_mdr1_errataset()
325 serial_out(up, UART_FCR, up->fcr); in omap8250_restore_regs()
699 serial_out(up, UART_FCR, UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in omap_8250_startup()
779 serial_out(up, UART_FCR, UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in omap_8250_shutdown()
D8250_mtk.c170 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | in mtk8250_dma_enable()
/linux-6.6.21/drivers/mmc/core/
Dsdio_uart.c329 sdio_out(port, UART_FCR, fcr); in sdio_uart_change_speed()
608 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO); in sdio_uart_activate()
609 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO | in sdio_uart_activate()
611 sdio_out(port, UART_FCR, 0); in sdio_uart_activate()
685 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO | in sdio_uart_shutdown()
688 sdio_out(port, UART_FCR, 0); in sdio_uart_shutdown()
/linux-6.6.21/arch/sh/include/asm/
Dsmc37c93x.h61 #define UART_FCR 0x4 /* FIFO Control Register (Write Only) */ macro
/linux-6.6.21/include/uapi/linux/
Dserial_reg.h53 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
/linux-6.6.21/drivers/tty/
Dmxser.c682 outb(info->FCR, info->ioaddr + UART_FCR); in mxser_change_speed()
723 outb(fcr, info->ioaddr + UART_FCR); in mxser_disable_and_clear_FIFO()
892 info->ioaddr + UART_FCR); in mxser_flush_buffer()
1518 port->ioaddr + UART_FCR); in mxser_receive_chars_old()
1619 port->ioaddr + UART_FCR); in mxser_port_isr()
/linux-6.6.21/drivers/accessibility/speakup/
Dserialio.c150 outb(1, speakup_info.port_tts + UART_FCR); /* Turn FIFO On */ in start_serial_interrupt()
/linux-6.6.21/sound/drivers/
Dserial-u16550.c375 ,uart->base + UART_FCR); /* FIFO Control Register */ in snd_uart16550_do_open()
/linux-6.6.21/samples/vfio-mdev/
Dmtty.c412 case UART_FCR: in handle_bar_write()