Lines Matching refs:vmd_dev

125 struct vmd_dev {
144 static inline struct vmd_dev *vmd_from_bus(struct pci_bus *bus)
146 return container_of(bus->sysdata, struct vmd_dev, sysdata);
149 static inline unsigned int index_from_irqs(struct vmd_dev *vmd,
167 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data);
235 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc)
270 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus);
305 struct vmd_dev *vmd = vmd_from_bus(pdev->bus);
334 static void vmd_set_msi_remapping(struct vmd_dev *vmd, bool enable)
344 static int vmd_create_irq_domain(struct vmd_dev *vmd)
361 static void vmd_remove_irq_domain(struct vmd_dev *vmd)
378 static void __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus,
397 struct vmd_dev *vmd = vmd_from_bus(bus);
432 struct vmd_dev *vmd = vmd_from_bus(bus);
517 static void vmd_domain_reset(struct vmd_dev *vmd)
565 static void vmd_attach_resources(struct vmd_dev *vmd)
571 static void vmd_detach_resources(struct vmd_dev *vmd)
593 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint,
647 static int vmd_get_bus_number_start(struct vmd_dev *vmd)
690 static int vmd_alloc_irqs(struct vmd_dev *vmd)
781 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features)
872 sd->vmd_dev = vmd->dev;
976 struct vmd_dev *vmd;
1033 static void vmd_cleanup_srcu(struct vmd_dev *vmd)
1043 struct vmd_dev *vmd = pci_get_drvdata(dev);
1056 struct vmd_dev *vmd = pci_get_drvdata(dev);
1065 struct vmd_dev *vmd = pci_get_drvdata(pdev);
1077 struct vmd_dev *vmd = pci_get_drvdata(pdev);