Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/embedded6xx/
Dls_uart.c78 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO); /* enable FIFO */ in avr_uart_configure()
97 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO); /* enable FIFO */ in ls_uart_init()
98 out_8(avr_addr + UART_FCR, UART_FCR_ENABLE_FIFO | in ls_uart_init()
100 out_8(avr_addr + UART_FCR, 0); in ls_uart_init()
/linux-6.1.9/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.1.9/drivers/tty/serial/
Dsunsu.c645 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_startup()
646 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_startup()
648 serial_outp(up, UART_FCR, 0); in sunsu_startup()
750 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_shutdown()
753 serial_outp(up, UART_FCR, 0); in sunsu_shutdown()
882 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
888 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_change_speed()
890 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
1092 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1122 serial_outp(up, UART_FCR, in sunsu_autoconfig()
[all …]
Dpxa.c354 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_pxa_startup()
355 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_pxa_startup()
357 serial_out(up, UART_FCR, 0); in serial_pxa_startup()
418 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_pxa_shutdown()
421 serial_out(up, UART_FCR, 0); in serial_pxa_shutdown()
529 serial_out(up, UART_FCR, fcr); in serial_pxa_set_termios()
Dserial-tegra.c316 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
319 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
322 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
324 tegra_uart_write(tup, fcr, UART_FCR); in tegra_uart_fifo_reset()
1042 tegra_uart_write(tup, tup->fcr_shadow, UART_FCR); in tegra_uart_hw_init()
1077 tegra_uart_write(tup, tup->fcr_shadow, UART_FCR); in tegra_uart_hw_init()
1079 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()
934 serial_out(up, UART_FCR, up->fcr); in serial_omap_set_termios()
1722 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in serial_omap_mdr1_errataset()
1758 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.1.9/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.1.9/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.1.9/drivers/tty/serial/8250/
D8250_ingenic.c117 early_out(port, UART_FCR, UART_FCR_UME | UART_FCR_CLEAR_XMIT | in ingenic_early_console_setup()
152 case UART_FCR: in ingenic_uart_serial_out()
193 case UART_FCR: in ingenic_uart_serial_in()
D8250_port.c354 [UART_FCR] = 4,
546 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO); in serial8250_clear_fifos()
547 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO | in serial8250_clear_fifos()
549 serial_out(p, UART_FCR, 0); in serial8250_clear_fifos()
559 serial_out(p, UART_FCR, p->fcr); in serial8250_clear_and_reinit_fifos()
846 old_fcr = serial_in(up, UART_FCR); in size_fifo()
848 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in size_fifo()
861 serial_out(up, UART_FCR, old_fcr); in size_fifo()
1051 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in autoconfig_16550a()
1054 serial_out(up, UART_FCR, 0); in autoconfig_16550a()
[all …]
D8250_em.c34 case UART_FCR: /* FCR @ 0x0c (+1) */ in serial8250_em_serial_out()
D8250_early.c142 serial8250_early_out(port, UART_FCR, 0); /* no fifo */ in init_port()
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.c216 serial_out(up, UART_FCR, up->fcr | UART_FCR_CLEAR_XMIT | in omap_8250_mdr1_errataset()
314 serial_out(up, UART_FCR, up->fcr); in omap8250_restore_regs()
675 serial_out(up, UART_FCR, UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); in omap_8250_startup()
752 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.1.9/drivers/mmc/core/
Dsdio_uart.c329 sdio_out(port, UART_FCR, fcr); in sdio_uart_change_speed()
609 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO); in sdio_uart_activate()
610 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO | in sdio_uart_activate()
612 sdio_out(port, UART_FCR, 0); in sdio_uart_activate()
686 sdio_out(port, UART_FCR, UART_FCR_ENABLE_FIFO | in sdio_uart_shutdown()
689 sdio_out(port, UART_FCR, 0); in sdio_uart_shutdown()
/linux-6.1.9/arch/sh/include/asm/
Dsmc37c93x.h61 #define UART_FCR 0x4 /* FIFO Control Register (Write Only) */ macro
/linux-6.1.9/include/uapi/linux/
Dserial_reg.h48 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
/linux-6.1.9/drivers/accessibility/speakup/
Dserialio.c150 outb(1, speakup_info.port_tts + UART_FCR); /* Turn FIFO On */ in start_serial_interrupt()
/linux-6.1.9/drivers/tty/
Dmxser.c681 outb(info->FCR, info->ioaddr + UART_FCR); in mxser_change_speed()
722 outb(fcr, info->ioaddr + UART_FCR); in mxser_disable_and_clear_FIFO()
891 info->ioaddr + UART_FCR); in mxser_flush_buffer()
1517 port->ioaddr + UART_FCR); in mxser_receive_chars_old()
1618 port->ioaddr + UART_FCR); in mxser_port_isr()
/linux-6.1.9/sound/drivers/
Dserial-u16550.c375 ,uart->base + UART_FCR); /* FIFO Control Register */ in snd_uart16550_do_open()
/linux-6.1.9/samples/vfio-mdev/
Dmtty.c386 case UART_FCR: in handle_bar_write()