Lines Matching refs:bar
119 int bar = i + PCI_STD_RESOURCES; in vfio_pci_probe_mmaps() local
121 res = &vdev->pdev->resource[bar]; in vfio_pci_probe_mmaps()
138 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
162 dummy_res->index = bar; in vfio_pci_probe_mmaps()
165 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
177 vdev->bar_mmap_supported[bar] = false; in vfio_pci_probe_mmaps()
566 int i, bar; in vfio_pci_core_disable() local
622 bar = i + PCI_STD_RESOURCES; in vfio_pci_core_disable()
623 if (!vdev->barmap[bar]) in vfio_pci_core_disable()
625 pci_iounmap(pdev, vdev->barmap[bar]); in vfio_pci_core_disable()
626 pci_release_selected_regions(pdev, 1 << bar); in vfio_pci_core_disable()
627 vdev->barmap[bar] = NULL; in vfio_pci_core_disable()