Lines Matching refs:mmio_base
55 void __iomem *mmio_base; member
104 if (dev->mmio_base != NULL) in vmci_read_reg()
105 return readl(dev->mmio_base + reg); in vmci_read_reg()
111 if (dev->mmio_base != NULL) in vmci_write_reg()
112 writel(val, dev->mmio_base + reg); in vmci_write_reg()
120 if (vmci_dev->mmio_base == NULL) in vmci_read_data()
152 if (dev->mmio_base != NULL) { in vmci_write_data()
312 bool is_io_port = vmci_dev->mmio_base == NULL; in vmci_dispatch_dgs()
555 if (vmci_dev->mmio_base != NULL) { in vmci_free_dg_buffers()
579 void __iomem *mmio_base = NULL; in vmci_guest_probe_device() local
604 mmio_base = pci_iomap_range(pdev, 1, VMCI_MMIO_ACCESS_OFFSET, in vmci_guest_probe_device()
607 if (!mmio_base) in vmci_guest_probe_device()
611 if (!mmio_base) { in vmci_guest_probe_device()
634 vmci_dev->mmio_base = mmio_base; in vmci_guest_probe_device()
638 if (mmio_base != NULL) { in vmci_guest_probe_device()
711 if (mmio_base != NULL) { in vmci_guest_probe_device()
783 if (vmci_dev->mmio_base != NULL) in vmci_guest_probe_device()
932 if (vmci_dev->mmio_base != NULL) in vmci_guest_remove_device()
951 if (vmci_dev->mmio_base != NULL) in vmci_guest_remove_device()
952 pci_iounmap(pdev, vmci_dev->mmio_base); in vmci_guest_remove_device()