Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/mips/cobalt/
Dpromcon.c30 lsr = inb(ioaddr + UART_LSR); in ns16550_cons_put_char()
37 while ((inb(ioaddr + UART_LSR) & UART_LSR_DR) == 0) in ns16550_cons_get_char()
57 lsr = inb(port + UART_LSR); in ns16550_console_write()
/linux-2.4.37.9/arch/mips/au1000/common/
Ddbg_io.c50 #define UART_LSR 0x1C /* Line Status Register */ macro
98 while((UART16550_READ(UART_LSR) & 0x1) == 0); in getDebugChar()
115 while ((UART16550_READ(UART_LSR)&0x40) == 0); in putDebugChar()
/linux-2.4.37.9/arch/ppc/boot/common/
Dns16550.c80 while ((inb(com_port + (UART_LSR << shift)) & UART_LSR_THRE) == 0) in serial_putc()
88 while ((inb(com_port + (UART_LSR << shift)) & UART_LSR_DR) == 0) in serial_getc()
96 return ((inb(com_port + (UART_LSR << shift)) & UART_LSR_DR) != 0); in serial_tstc()
/linux-2.4.37.9/arch/ppc/kernel/
Dgen550_dbg.c121 while ((serial_inb(com_port + (UART_LSR << shift)) & UART_LSR_THRE) == 0) in serial_putc()
129 while ((serial_inb(com_port + (UART_LSR << shift)) & UART_LSR_DR) == 0) in serial_getc()
137 return ((serial_inb(com_port + (UART_LSR << shift)) & UART_LSR_DR) != 0); in serial_tstc()
Dppc4xx_setup.c276 while ((readb(com_port + (UART_LSR)) & UART_LSR_THRE) == 0) ; in serial_putc()
/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dgdb_hook.c64 serial_in(&kdb_port_info, UART_LSR); in rs_kgdb_hook()
117 while ((serial_in(&kdb_port_info, UART_LSR) & UART_LSR_THRE) == 0) in rs_putDebugChar()
131 while (!(serial_in(&kdb_port_info, UART_LSR) & 1)) in rs_getDebugChar()
Dprintf.c78 while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0) in putPromChar()
88 while (!(serial_in(UART_LSR) & 1)) in getPromChar()
/linux-2.4.37.9/arch/sh/kernel/
Dsetup_se.c176 lsr = UART_IN(UART_LSR); in kgdb_uart_getchar()
187 while ((UART_IN(UART_LSR) & UART_LSR_THRE) == 0) in kgdb_uart_putchar()
/linux-2.4.37.9/drivers/net/irda/
Dirport.c543 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in irport_write()
694 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in irport_receive()
723 lsr = inb(iobase+UART_LSR); in irport_interrupt()
864 while (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) {
919 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in irport_raw_write()
Dali-ircc.c803 lsr = inb(iobase+UART_LSR); in ali_ircc_sir_interrupt()
865 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()
902 while(!(inb(iobase+UART_LSR) & UART_LSR_TEMT)) in ali_ircc_sir_write_wakeup()
1044 inb(iobase+UART_LSR); in ali_ircc_sir_change_speed()
1282 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write()
2264 val = inb(iobase+UART_LSR); in FIR2SIR()
/linux-2.4.37.9/include/asm-sh/
Dsmc37c93x.h63 #define UART_LSR 0xa /* Line Status Register */ macro
/linux-2.4.37.9/include/linux/
Dserial_reg.h37 #define UART_LSR 5 /* In: Line Status Register */ macro
/linux-2.4.37.9/drivers/sbus/char/
Dsu.c383 status = su_inb(info, UART_LSR); in receive_kbd_ms_chars()
470 *status = serial_inp(info, UART_LSR); in receive_serial_chars()
611 status = serial_inp(info, UART_LSR); in su_kbd_ms_interrupt()
646 status = serial_inp(info, UART_LSR); in su_serial_interrupt()
778 if (serial_inp(info, UART_LSR) == 0xff) { in startup()
834 (void)serial_inp(info, UART_LSR); in startup()
1148 lsr = serial_in(info, UART_LSR); in su_put_char_kbd()
1460 status = serial_in(info, UART_LSR); in get_lsr_info()
1868 while (!((lsr = serial_inp(info, UART_LSR)) & UART_LSR_TEMT)) { in su_wait_until_sent()
2800 lsr = su_inb(info, UART_LSR); in wait_for_xmitr()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Delsa_ser.c166 if (serial_inp(cs, UART_LSR) == 0xff) { in mstartup()
196 (void)serial_inp(cs, UART_LSR); in mstartup()
343 *status = serial_inp(cs, UART_LSR); in receive_chars()
410 status = serial_inp(cs, UART_LSR); in rs_interrupt_elsa()
/linux-2.4.37.9/drivers/bluetooth/
Dbtuart_cs.c135 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write()
301 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
325 lsr = inb(iobase + UART_LSR); in btuart_interrupt()
Ddtl1_cs.c137 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
304 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
329 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
/linux-2.4.37.9/drivers/char/
Dau1x00-serial.c447 *status = serial_inp(info, UART_LSR); in receive_chars()
586 status = serial_inp(info, UART_LSR); in rs_interrupt_single()
777 (void) serial_inp(info, UART_LSR);
788 (serial_inp(info, UART_LSR) == 0xff)) {
860 (void)serial_inp(info, UART_LSR);
1567 status = serial_in(info, UART_LSR);
2039 while (!((lsr = serial_inp(info, UART_LSR)) & UART_LSR_TEMT)) {
2872 status = serial_in(info, UART_LSR);
2945 while ((serial_in(info, UART_LSR) & UART_LSR_DR) == 0);
3070 if (serial_in(info, UART_LSR) == 0xff)
Dmxser.c880 while (!(inb(info->base + UART_LSR) & UART_LSR_TEMT)) { in mxser_close()
1427 *status = inb(info->base + UART_LSR) & info->read_status_mask; in mxser_receive_chars()
1557 status = inb(info->base + UART_LSR) & info->read_status_mask; in mxser_interrupt()
1737 if (inb(info->base + UART_LSR) == 0xff) { in mxser_startup()
1749 (void) inb(info->base + UART_LSR); in mxser_startup()
1770 (void) inb(info->base + UART_LSR); in mxser_startup()
2253 status = inb(info->base + UART_LSR); in mxser_get_lsr_info()
Dserial.c585 *status = serial_inp(info, UART_LSR); in receive_chars()
683 *status = serial_inp(info, UART_LSR); in receive_chars()
849 status = serial_inp(info, UART_LSR); in rs_interrupt()
921 status = serial_inp(info, UART_LSR); in rs_interrupt_single()
995 status = serial_inp(info, UART_LSR); in rs_interrupt_multi()
1333 (void) serial_inp(info, UART_LSR); in startup()
1344 (serial_inp(info, UART_LSR) == 0xff)) { in startup()
1437 (void)serial_inp(info, UART_LSR); in startup()
2269 status = serial_in(info, UART_LSR); in get_lsr_info()
2940 while (!((lsr = serial_inp(info, UART_LSR)) & UART_LSR_TEMT)) { in rs_wait_until_sent()
[all …]
Dsn_serial.c249 return readb(master_node_bedrock_address + (UART_LSR << 3)) & UART_LSR_DR; in snt_sim_input_pending()
/linux-2.4.37.9/include/asm-mips/
Dau1000.h914 #define UART_LSR 0x1C /* Line Status Register */ macro
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm.c158 #define UART_LSR(iobase) (iobase+5) macro
/linux-2.4.37.9/arch/ppc/8xx_io/
Duart.c1330 status = serial_in(info, UART_LSR); in get_lsr_info()
/linux-2.4.37.9/arch/ppc/cpm2_io/
Duart.c1288 status = serial_in(info, UART_LSR); in get_lsr_info()