Lines Matching refs:membase

223 	void __iomem *membase;
329 "IER: \t0x%02x\n", ioread8(priv->membase + UART_IER));
331 "IIR: \t0x%02x\n", ioread8(priv->membase + UART_IIR));
333 "LCR: \t0x%02x\n", ioread8(priv->membase + UART_LCR));
335 "MCR: \t0x%02x\n", ioread8(priv->membase + UART_MCR));
337 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR));
339 "MSR: \t0x%02x\n", ioread8(priv->membase + UART_MSR));
342 ioread8(priv->membase + PCH_UART_BRCSR));
344 lcr = ioread8(priv->membase + UART_LCR);
345 iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR);
347 "DLL: \t0x%02x\n", ioread8(priv->membase + UART_DLL));
349 "DLM: \t0x%02x\n", ioread8(priv->membase + UART_DLM));
350 iowrite8(lcr, priv->membase + UART_LCR);
400 u8 ier = ioread8(priv->membase + UART_IER);
402 iowrite8(ier, priv->membase + UART_IER);
408 u8 ier = ioread8(priv->membase + UART_IER);
410 iowrite8(ier, priv->membase + UART_IER);
450 iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR);
451 iowrite8(dll, priv->membase + PCH_UART_DLL);
452 iowrite8(dlm, priv->membase + PCH_UART_DLM);
453 iowrite8(lcr, priv->membase + UART_LCR);
467 iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR);
469 priv->membase + UART_FCR);
470 iowrite8(priv->fcr, priv->membase + UART_FCR);
519 iowrite8(PCH_UART_FCR_FIFOE, priv->membase + UART_FCR);
521 priv->membase + UART_FCR);
522 iowrite8(fcr, priv->membase + UART_FCR);
530 unsigned int msr = ioread8(priv->membase + UART_MSR);
543 iowrite8(thr, priv->membase + PCH_UART_THR);
553 lsr = ioread8(priv->membase + UART_LSR);
554 for (i = 0, lsr = ioread8(priv->membase + UART_LSR);
556 lsr = ioread8(priv->membase + UART_LSR)) {
557 rbr = ioread8(priv->membase + PCH_UART_RBR);
568 iir = ioread8(priv->membase + UART_IIR);
575 return ioread8(priv->membase + UART_LSR);
582 lcr = ioread8(priv->membase + UART_LCR);
588 iowrite8(lcr, priv->membase + UART_LCR);
1031 u8 fcr = ioread8(priv->membase + UART_FCR);
1035 iowrite8(fcr, priv->membase + UART_FCR);
1168 iowrite8(mcr, priv->membase + UART_MCR);
1397 pci_iounmap(priv->pdev, priv->membase);
1405 void __iomem *membase;
1412 membase = pci_iomap(priv->pdev, 1, 0);
1413 if (!membase) {
1417 priv->membase = port->membase = membase;
1492 status = ioread8(up->membase + UART_LSR);
1505 unsigned int msr = ioread8(up->membase + UART_MSR);
1520 iowrite8(ch, priv->membase + PCH_UART_THR);
1553 ier = ioread8(priv->membase + UART_IER);
1564 iowrite8(ier, priv->membase + UART_IER);
1588 if (!port || (!port->iobase && !port->membase))
1679 priv->port.membase = NULL;