Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/powerpc/platforms/embedded6xx/
H A 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()
/openbmc/linux/arch/powerpc/boot/
H A Dns16550.c22 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
36 out_8(reg_base + (UART_FCR << reg_shift), 0x06); in ns16550_open()
/openbmc/linux/drivers/tty/serial/
H A 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()
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()
1133 serial_outp(up, UART_FCR, in sunsu_autoconfig()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A 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()
/openbmc/linux/drivers/usb/serial/
H A 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()
/openbmc/linux/drivers/tty/serial/8250/
H A 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()
H A 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()
1013 serial_out(up, UART_FCR, 0); in autoconfig_16550a()
1085 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in autoconfig_16550a()
2888 serial_port_out(port, UART_FCR, up->fcr); in serial8250_do_set_termios()
[all …]
H A D8250_rt288x.c31 [UART_FCR] = 4,
H A D8250_early.c134 serial8250_early_out(port, UART_FCR, 0); /* no fifo */ in init_port()
H A D8250_lpc18xx.c77 if (offset == UART_FCR && (value & UART_FCR_ENABLE_FIFO)) in lpc18xx_uart_serial_out()
H A D8250_em.c132 case UART_FCR: in serial8250_em_serial_out()
H A D8250_uniphier.c105 case UART_FCR: in uniphier_serial_out()
H A 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()
H A D8250_mtk.c170 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | in mtk8250_dma_enable()
/openbmc/linux/drivers/mmc/core/
H A 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()
/openbmc/linux/arch/sh/include/asm/
H A Dsmc37c93x.h61 #define UART_FCR 0x4 /* FIFO Control Register (Write Only) */ macro
/openbmc/u-boot/include/linux/
H A Dserial_reg.h45 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h53 #define UART_FCR 2 /* Out: FIFO Control Register */ macro
/openbmc/linux/drivers/accessibility/speakup/
H A Dserialio.c150 outb(1, speakup_info.port_tts + UART_FCR); /* Turn FIFO On */ in start_serial_interrupt()
/openbmc/linux/drivers/tty/
H A 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()
/openbmc/linux/sound/drivers/
H A Dserial-u16550.c375 ,uart->base + UART_FCR); /* FIFO Control Register */ in snd_uart16550_do_open()

12