Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/8250/
H A D8250.h184 if (up->ier & UART_IER_THRI) in serial8250_set_THRI()
186 up->ier |= UART_IER_THRI; in serial8250_set_THRI()
196 if (!(up->ier & UART_IER_THRI)) in serial8250_clear_THRI()
198 up->ier &= ~UART_IER_THRI; in serial8250_clear_THRI()
H A D8250_fsl.c89 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
H A D8250_port.c1942 if ((status & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) { in serial8250_handle_irq()
2347 serial_port_out_sync(port, UART_IER, UART_IER_THRI); in serial8250_do_startup()
2351 serial_port_out_sync(port, UART_IER, UART_IER_THRI); in serial8250_do_startup()
2410 serial_port_out(port, UART_IER, UART_IER_THRI); in serial8250_do_startup()
H A D8250_core.c282 if ((iir & UART_IIR_NO_INT) && (up->ier & UART_IER_THRI) && in serial8250_backup_timeout()
/openbmc/linux/drivers/tty/
H A Damiserial.c139 if (info->IER & UART_IER_THRI) { in rs_stop()
140 info->IER &= ~UART_IER_THRI; in rs_stop()
158 && !(info->IER & UART_IER_THRI)) { in rs_start()
159 info->IER |= UART_IER_THRI; in rs_start()
279 info->IER &= ~UART_IER_THRI; in transmit_chars()
301 info->IER &= ~UART_IER_THRI; in transmit_chars()
351 info->IER |= UART_IER_THRI; in check_modem_status()
366 info->IER &= ~UART_IER_THRI; in check_modem_status()
735 info->IER |= UART_IER_THRI; in rs_flush_chars()
775 info->IER |= UART_IER_THRI; in rs_write()
[all …]
H A Dmxser.c441 outb(info->IER & ~UART_IER_THRI, info->ioaddr + UART_IER); in __mxser_start_tx()
442 info->IER |= UART_IER_THRI; in __mxser_start_tx()
457 info->IER &= ~UART_IER_THRI; in __mxser_stop_tx()
1287 info->IER |= UART_IER_THRI; in mxser_throttle()
1313 info->IER |= UART_IER_THRI; in mxser_unthrottle()
1337 if (info->IER & UART_IER_THRI) in mxser_stop()
/openbmc/linux/include/linux/
H A Dserial.h17 UART_IER_THRI | \
/openbmc/linux/drivers/mmc/core/
H A Dsdio_uart.c336 if (!(port->ier & UART_IER_THRI)) { in sdio_uart_start_tx()
337 port->ier |= UART_IER_THRI; in sdio_uart_start_tx()
344 if (port->ier & UART_IER_THRI) { in sdio_uart_stop_tx()
345 port->ier &= ~UART_IER_THRI; in sdio_uart_stop_tx()
773 if (!(port->ier & UART_IER_THRI)) { in sdio_uart_write()
803 if (ch && !(port->ier & UART_IER_THRI)) { in sdio_uart_send_xchar()
/openbmc/linux/arch/x86/platform/ce4100/
H A Dce4100.c63 if (ier & UART_IER_THRI) { in ce4100_mem_serial_in()
/openbmc/linux/sound/drivers/
H A Dserial-u16550.c425 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */ in snd_uart16550_do_open()
434 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */ in snd_uart16550_do_open()
438 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */ in snd_uart16550_do_open()
458 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */ in snd_uart16550_do_close()
/openbmc/linux/drivers/tty/serial/
H A Dpxa.c76 if (up->ier & UART_IER_THRI) { in serial_pxa_stop_tx()
77 up->ier &= ~UART_IER_THRI; in serial_pxa_stop_tx()
189 if (!(up->ier & UART_IER_THRI)) { in serial_pxa_start_tx()
190 up->ier |= UART_IER_THRI; in serial_pxa_start_tx()
H A Dsunsu.c257 if (p->ier & UART_IER_THRI) { in __stop_tx()
258 p->ier &= ~UART_IER_THRI; in __stop_tx()
284 if (!(up->ier & UART_IER_THRI)) { in sunsu_start_tx()
285 up->ier |= UART_IER_THRI; in sunsu_start_tx()
H A Domap-serial.c319 if (up->ier & UART_IER_THRI) { in serial_omap_stop_tx()
320 up->ier &= ~UART_IER_THRI; in serial_omap_stop_tx()
355 if (!(up->ier & UART_IER_THRI)) { in serial_omap_enable_ier_thri()
356 up->ier |= UART_IER_THRI; in serial_omap_enable_ier_thri()
H A Dserial-tegra.c510 tup->ier_shadow |= UART_IER_THRI; in tegra_uart_start_pio_tx()
865 tup->ier_shadow &= ~UART_IER_THRI; in tegra_uart_isr()
/openbmc/qemu/hw/char/
H A Dserial.c45 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ macro
133 } else if ((s->ier & UART_IER_THRI) && s->thr_ipending) { in serial_update_irq()
394 if (changed & UART_IER_THRI) { in serial_ioport_write()
395 if ((s->ier & UART_IER_THRI) && (s->lsr & UART_LSR_THRE)) { in serial_ioport_write()
693 if (s->ier & UART_IER_THRI) { in serial_thr_ipending_needed()
/openbmc/u-boot/include/
H A Dns16550.h200 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ macro
/openbmc/linux/drivers/media/rc/
H A Dserial_ir.c426 (~(UART_IER_MSI | UART_IER_RLSI | UART_IER_THRI | UART_IER_RDI))); in hardware_init_port()
630 (~(UART_IER_MSI | UART_IER_RLSI | UART_IER_THRI | UART_IER_RDI))); in serial_ir_close()
693 (~(UART_IER_MSI | UART_IER_RLSI | UART_IER_THRI | UART_IER_RDI))); in serial_ir_suspend()
/openbmc/u-boot/include/linux/
H A Dserial_reg.h24 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ macro
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h27 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */ macro
/openbmc/linux/samples/vfio-mdev/
H A Dmtty.c397 if ((data & UART_IER_THRI) && in handle_bar_write()
533 UART_IER_THRI) in handle_bar_read()
565 if ((ier & UART_IER_THRI) && in handle_bar_read()
/openbmc/linux/drivers/bluetooth/
H A Ddtl1_cs.c485 outb(UART_IER_RLSI | UART_IER_RDI | UART_IER_THRI, iobase + UART_IER); in dtl1_open()
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_cls.c752 ier |= (UART_IER_THRI | UART_IER_MSI); in cls_param()
H A Djsm_neo.c1026 ier |= (UART_IER_THRI | UART_IER_MSI); in neo_param()
/openbmc/linux/drivers/usb/serial/
H A Df81534.c1393 UART_IER_RDI | UART_IER_THRI | UART_IER_MSI); in f81534_port_probe()