Lines Matching refs:iobase
115 static int dtl1_write(unsigned int iobase, int fifo_size, __u8 *buf, int len)
120 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE))
126 outb(buf[actual], iobase + UART_TX);
152 register unsigned int iobase = info->p_dev->resource[0]->start;
165 len = dtl1_write(iobase, 32, skb->data, skb->len);
208 unsigned int iobase;
217 iobase = info->p_dev->resource[0]->start;
231 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX);
287 } while (inb(iobase + UART_LSR) & UART_LSR_DR);
294 unsigned int iobase;
304 iobase = info->p_dev->resource[0]->start;
308 iir = inb(iobase + UART_IIR) & UART_IIR_ID;
313 lsr = inb(iobase + UART_LSR);
338 iir = inb(iobase + UART_IIR) & UART_IIR_ID;
342 msr = inb(iobase + UART_MSR);
464 unsigned int iobase = info->p_dev->resource[0]->start;
502 outb(0, iobase + UART_MCR);
505 outb(0, iobase + UART_IER);
508 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */
509 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR);
515 outb(UART_IER_RLSI | UART_IER_RDI | UART_IER_THRI, iobase + UART_IER);
537 unsigned int iobase = info->p_dev->resource[0]->start;
548 outb(0, iobase + UART_MCR);
551 outb(0, iobase + UART_IER);