Lines Matching refs:vmd_dev
93 struct vmd_dev {
109 static inline struct vmd_dev *vmd_from_bus(struct pci_bus *bus)
111 return container_of(bus->sysdata, struct vmd_dev, sysdata);
114 static inline unsigned int index_from_irqs(struct vmd_dev *vmd,
132 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data);
200 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc)
234 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus);
272 struct vmd_dev *vmd = vmd_from_bus(pdev->bus);
301 static int vmd_create_irq_domain(struct vmd_dev *vmd)
318 static void vmd_remove_irq_domain(struct vmd_dev *vmd)
328 static char __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus,
349 struct vmd_dev *vmd = vmd_from_bus(bus);
384 struct vmd_dev *vmd = vmd_from_bus(bus);
419 static void vmd_attach_resources(struct vmd_dev *vmd)
425 static void vmd_detach_resources(struct vmd_dev *vmd)
447 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint,
501 static int vmd_get_bus_number_start(struct vmd_dev *vmd)
544 static int vmd_alloc_irqs(struct vmd_dev *vmd)
579 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features)
669 sd->vmd_dev = vmd->dev;
722 struct vmd_dev *vmd;
761 static void vmd_cleanup_srcu(struct vmd_dev *vmd)
771 struct vmd_dev *vmd = pci_get_drvdata(dev);
785 struct vmd_dev *vmd = pci_get_drvdata(pdev);
797 struct vmd_dev *vmd = pci_get_drvdata(pdev);