Lines Matching refs:um_pci_devices
55 static struct um_pci_device_reg um_pci_devices[MAX_DEVICES]; variable
451 if (devfn / 8 >= ARRAY_SIZE(um_pci_devices)) in um_pci_map_bus()
454 dev = &um_pci_devices[devfn / 8]; in um_pci_map_bus()
663 if (um_pci_devices[i].dev) in um_pci_virtio_probe()
681 um_pci_devices[free].dev = dev; in um_pci_virtio_probe()
720 if (um_pci_devices[i].dev != dev) in um_pci_virtio_remove()
723 um_pci_devices[i].dev = NULL; in um_pci_virtio_remove()
777 *priv = &um_pci_devices[offset / CFG_SPACE_SIZE]; in um_pci_map_cfgspace()
807 struct um_pci_device_reg *reg = &um_pci_devices[pdev->devfn / 8]; in um_pci_map_iomem_walk()
950 struct um_pci_device_reg *reg = &um_pci_devices[pdev->devfn / 8]; in um_pci_map_irq()
1044 um_pci_devices[i].iomem = ioremap(start, CFG_SPACE_SIZE); in um_pci_init()
1045 if (WARN(!um_pci_devices[i].iomem, "failed to map %d\n", i)) { in um_pci_init()