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
235 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc) in vmd_next_irq()
270 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus); in vmd_msi_init() local
305 struct vmd_dev *vmd = vmd_from_bus(pdev->bus); in vmd_msi_prepare() local
334 static void vmd_set_msi_remapping(struct vmd_dev *vmd, bool enable) in vmd_set_msi_remapping()
344 static int vmd_create_irq_domain(struct vmd_dev *vmd) in vmd_create_irq_domain()
361 static void vmd_remove_irq_domain(struct vmd_dev *vmd) in vmd_remove_irq_domain()
378 static void __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus, in vmd_cfg_addr()
397 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_read() local
432 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_write() local
517 static void vmd_domain_reset(struct vmd_dev *vmd) in vmd_domain_reset()
566 static void vmd_attach_resources(struct vmd_dev *vmd) in vmd_attach_resources()
572 static void vmd_detach_resources(struct vmd_dev *vmd) in vmd_detach_resources()
594 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint, in vmd_get_phys_offsets()
648 static int vmd_get_bus_number_start(struct vmd_dev *vmd) in vmd_get_bus_number_start()
691 static int vmd_alloc_irqs(struct vmd_dev *vmd) in vmd_alloc_irqs()
782 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) in vmd_enable_domain()
977 struct vmd_dev *vmd; in vmd_probe() local
1034 static void vmd_cleanup_srcu(struct vmd_dev *vmd) in vmd_cleanup_srcu()
1044 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_remove() local
1057 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_shutdown() local
1066 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_suspend() local
1078 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_resume() local