Lines Matching defs:vmd
149 static inline unsigned int index_from_irqs(struct vmd_dev *vmd, in index_from_irqs()
167 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data); in vmd_compose_msi_msg() local
224 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc) in vmd_next_irq()
259 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus); in vmd_msi_init() local
294 struct vmd_dev *vmd = vmd_from_bus(pdev->bus); in vmd_msi_prepare() local
323 static void vmd_set_msi_remapping(struct vmd_dev *vmd, bool enable) in vmd_set_msi_remapping()
333 static int vmd_create_irq_domain(struct vmd_dev *vmd) in vmd_create_irq_domain()
350 static void vmd_remove_irq_domain(struct vmd_dev *vmd) in vmd_remove_irq_domain()
367 static void __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus, in vmd_cfg_addr()
386 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_read() local
421 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_write() local
506 static void vmd_domain_reset(struct vmd_dev *vmd) in vmd_domain_reset()
554 static void vmd_attach_resources(struct vmd_dev *vmd) in vmd_attach_resources()
560 static void vmd_detach_resources(struct vmd_dev *vmd) in vmd_detach_resources()
582 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint, in vmd_get_phys_offsets()
636 static int vmd_get_bus_number_start(struct vmd_dev *vmd) in vmd_get_bus_number_start()
679 static int vmd_alloc_irqs(struct vmd_dev *vmd) in vmd_alloc_irqs()
775 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) in vmd_enable_domain()
970 struct vmd_dev *vmd; in vmd_probe() local
1027 static void vmd_cleanup_srcu(struct vmd_dev *vmd) in vmd_cleanup_srcu()
1037 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_remove() local
1050 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_shutdown() local
1059 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_suspend() local
1071 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_resume() local