Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/boot/
A Dns16550.c25 #define UART_LSR 5 /* In: Line Status Register */ macro
42 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
48 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc()
54 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
/linux/drivers/accessibility/speakup/
A Dserialio.c99 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init()
120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
146 inb(speakup_info.port_tts + UART_LSR); in start_serial_interrupt()
258 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
272 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
A Dserialio.h39 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
/linux/arch/arm/include/debug/
A Dpalmchip.S5 #undef UART_LSR
9 #define UART_LSR 7 macro
A Domap2plus.S47 mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT)
72 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
/linux/arch/arm/mach-dove/include/mach/
A Duncompress.h10 #define UART_LSR ((volatile unsigned char *)(UART0_PHYS_BASE + 0x14)) macro
20 if (*UART_LSR & LSR_THRE) in putc()
/linux/arch/powerpc/platforms/embedded6xx/
A Dls_uart.c36 char lsr = in_8(avr_addr + UART_LSR); in wd_stop()
46 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop()
104 (void) in_8(avr_addr + UART_LSR); in ls_uart_init()
/linux/arch/powerpc/kernel/
A Dudbg_16550.c22 #define UART_LSR 5 macro
51 while ((udbg_uart_in(UART_LSR) & LSR_THRE) == 0) in udbg_uart_flush()
71 if (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc_poll()
82 while (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc()
/linux/arch/mips/ath25/
A Dearly_printk.c40 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
43 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/linux/arch/arm/mach-davinci/include/mach/
A Duncompress.h38 while (!(uart[UART_LSR] & UART_LSR_THRE)) in putc()
48 while (!(uart[UART_LSR] & UART_LSR_THRE)) in flush()
/linux/drivers/tty/serial/
A Dpxa.c159 *status = serial_in(up, UART_LSR); in receive_chars()
251 lsr = serial_in(up, UART_LSR); in serial_pxa_irq()
268 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty()
361 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
387 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
603 status = serial_in(up, UART_LSR); in wait_for_xmitr()
684 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
687 lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
A Dvr41xx_siu.c179 lsr = siu_read(port, UART_LSR); in siu_tx_empty()
346 lsr = siu_read(port, UART_LSR); in receive_chars()
418 lsr = siu_read(port, UART_LSR); in siu_interrupt()
439 (void)siu_read(port, UART_LSR); in siu_startup()
444 if (siu_read(port, UART_LSR) == 0xff) in siu_startup()
462 (void)siu_read(port, UART_LSR); in siu_startup()
727 lsr = siu_read(port, UART_LSR); in wait_for_xmitr()
A Dsunsu.c389 *status = serial_inp(up, UART_LSR); in receive_chars()
462 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt()
524 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars()
532 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt()
549 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty()
653 (void) serial_inp(up, UART_LSR); in sunsu_startup()
664 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup()
714 (void) serial_inp(up, UART_LSR); in sunsu_startup()
991 lsr = serial_in(up, UART_LSR); in sunsu_serio_write()
1264 status = serial_in(up, UART_LSR); in wait_for_xmitr()
A Domap-serial.c565 lsr = serial_in(up, UART_LSR); in serial_omap_irq()
610 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty()
721 (void) serial_in(up, UART_LSR); in serial_omap_startup()
722 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup()
786 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown()
1127 status = serial_in(up, UART_LSR); in wait_for_xmitr()
1167 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char()
1202 status = omap_serial_early_in(port, UART_LSR); in omap_serial_early_putc()
1740 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1746 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
/linux/arch/mips/ath79/
A Dearly_printk.c38 prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY); in prom_putchar_ar71xx()
40 prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY); in prom_putchar_ar71xx()
/linux/drivers/media/rc/
A Dserial_ir.c196 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
204 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
429 sinp(UART_LSR); in hardware_init_port()
438 sinp(UART_LSR); in hardware_init_port()
696 sinp(UART_LSR); in serial_ir_suspend()
/linux/drivers/tty/serial/8250/
A D8250_early.c96 status = serial8250_early_in(port, UART_LSR); in serial_putc()
122 status = serial8250_early_in(port, UART_LSR); in early_serial8250_read()
A D8250_port.c1411 serial_in(up, UART_LSR); in autoconfig_irq()
1529 unsigned char lsr = serial_in(p, UART_LSR); in __stop_tx()
1572 lsr = serial_in(up, UART_LSR); in __start_tx()
1787 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars()
1910 status = serial_port_in(port, UART_LSR); in serial8250_handle_irq()
1988 lsr = serial_port_in(port, UART_LSR); in serial8250_tx_empty()
2068 status = serial_in(up, UART_LSR); in wait_for_xmitr()
2107 lsr = serial_port_in(port, UART_LSR); in serial8250_get_poll_char()
2225 serial_port_in(port, UART_LSR); in serial8250_do_startup()
2366 lsr = serial_port_in(port, UART_LSR); in serial8250_do_startup()
[all …]
/linux/arch/arm/mach-iop32x/include/mach/
A Duncompress.h16 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux/drivers/bluetooth/
A Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
311 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
/linux/arch/arm/mach-ixp4xx/include/mach/
A Duncompress.h24 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux/arch/arm/mach-pxa/include/mach/
A Duncompress.h41 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
/linux/arch/mips/kernel/
A Dearly_printk_8250.c46 status = serial_in(UART_LSR); in prom_putchar()
/linux/arch/mips/boot/compressed/
A Duart-16550.c48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/linux/drivers/tty/
A Dmxser.c751 if (inb(info->ioaddr + UART_LSR) == 0xff) { in mxser_activate()
763 (void) inb(info->ioaddr + UART_LSR); in mxser_activate()
787 (void) inb(info->ioaddr + UART_LSR); in mxser_activate()
899 while (!(inb(info->ioaddr + UART_LSR) & UART_LSR_TEMT)) { in mxser_close_port()
1147 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info()
1489 while (!((lsr = inb(info->ioaddr + UART_LSR)) & UART_LSR_TEMT)) { in mxser_wait_until_sent()
1615 status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars_old()
1687 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr()
1696 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr()

Completed in 37 milliseconds

12