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