Lines Matching refs:iobase
110 static int dtl1_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) in dtl1_write() argument
115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
121 outb(buf[actual], iobase + UART_TX); in dtl1_write()
147 unsigned int iobase = info->p_dev->resource[0]->start; in dtl1_write_wakeup() local
161 len = dtl1_write(iobase, 32, skb->data, skb->len); in dtl1_write_wakeup()
204 unsigned int iobase; in dtl1_receive() local
213 iobase = info->p_dev->resource[0]->start; in dtl1_receive()
229 skb_put_u8(info->rx_skb, inb(iobase + UART_RX)); in dtl1_receive()
285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
292 unsigned int iobase; in dtl1_interrupt() local
302 iobase = info->p_dev->resource[0]->start; in dtl1_interrupt()
306 iir = inb(iobase + UART_IIR) & UART_IIR_ID; in dtl1_interrupt()
311 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
336 iir = inb(iobase + UART_IIR) & UART_IIR_ID; in dtl1_interrupt()
340 msr = inb(iobase + UART_MSR); in dtl1_interrupt()
438 unsigned int iobase = info->p_dev->resource[0]->start; in dtl1_open() local
472 outb(0, iobase + UART_MCR); in dtl1_open()
475 outb(0, iobase + UART_IER); in dtl1_open()
478 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */ in dtl1_open()
479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
485 outb(UART_IER_RLSI | UART_IER_RDI | UART_IER_THRI, iobase + UART_IER); in dtl1_open()
507 unsigned int iobase = info->p_dev->resource[0]->start; in dtl1_close() local
518 outb(0, iobase + UART_MCR); in dtl1_close()
521 outb(0, iobase + UART_IER); in dtl1_close()