Lines Matching refs:inb
218 while ((status = inb(uart->base + UART_LSR)) & UART_LSR_DR) { in snd_uart16550_io_loop()
220 c = inb(uart->base + UART_RX); in snd_uart16550_io_loop()
260 status = inb(uart->base + UART_MSR); in snd_uart16550_io_loop()
264 status = inb(uart->base + UART_MSR); in snd_uart16550_io_loop()
307 inb(uart->base + UART_IIR); in snd_uart16550_interrupt()
352 c = inb(io_base + UART_IER); in snd_uart16550_detect()
359 c = inb(io_base + UART_SCR); in snd_uart16550_detect()
366 c = inb(io_base + UART_SCR); in snd_uart16550_detect()
395 if ((inb(uart->base + UART_IIR) & 0xf0) == 0xc0) in snd_uart16550_do_open()
398 uart->old_line_ctrl_reg = inb(uart->base + UART_LCR); in snd_uart16550_do_open()
401 uart->old_divisor_lsb = inb(uart->base + UART_DLL); in snd_uart16550_do_open()
402 uart->old_divisor_msb = inb(uart->base + UART_DLM); in snd_uart16550_do_open()
461 inb(uart->base + UART_LSR); /* Clear any pre-existing overrun indication */ in snd_uart16550_do_open()
462 inb(uart->base + UART_IIR); /* Clear any pre-existing transmit interrupt */ in snd_uart16550_do_open()
463 inb(uart->base + UART_RX); /* Clear any pre-existing receive interrupt */ in snd_uart16550_do_open()
501 inb(uart->base + UART_IIR); /* Clear any outstanding interrupts */ in snd_uart16550_do_close()
621 && (inb(uart->base + UART_MSR) & UART_MSR_CTS)))) { /* CTS? */ in snd_uart16550_output_byte()
624 if ((inb(uart->base + UART_LSR) & UART_LSR_THRE) != 0) { in snd_uart16550_output_byte()