Lines Matching defs:vmd
130 static inline unsigned int index_from_irqs(struct vmd_dev *vmd, in index_from_irqs()
148 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data); in vmd_compose_msi_msg() local
216 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc) in vmd_next_irq()
251 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus); in vmd_msi_init() local
289 struct vmd_dev *vmd = vmd_from_bus(pdev->bus); in vmd_msi_prepare() local
318 static void vmd_set_msi_remapping(struct vmd_dev *vmd, bool enable) in vmd_set_msi_remapping()
328 static int vmd_create_irq_domain(struct vmd_dev *vmd) in vmd_create_irq_domain()
345 static void vmd_remove_irq_domain(struct vmd_dev *vmd) in vmd_remove_irq_domain()
362 static void __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus, in vmd_cfg_addr()
381 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_read() local
416 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_write() local
501 static void vmd_attach_resources(struct vmd_dev *vmd) in vmd_attach_resources()
507 static void vmd_detach_resources(struct vmd_dev *vmd) in vmd_detach_resources()
529 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint, in vmd_get_phys_offsets()
583 static int vmd_get_bus_number_start(struct vmd_dev *vmd) in vmd_get_bus_number_start()
626 static int vmd_alloc_irqs(struct vmd_dev *vmd) in vmd_alloc_irqs()
661 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) in vmd_enable_domain()
826 struct vmd_dev *vmd; in vmd_probe() local
864 static void vmd_cleanup_srcu(struct vmd_dev *vmd) in vmd_cleanup_srcu()
874 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_remove() local
888 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_suspend() local
900 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_resume() local