Lines Matching defs:vmd

114 static inline unsigned int index_from_irqs(struct vmd_dev *vmd,  in index_from_irqs()
132 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data); in vmd_compose_msi_msg() local
200 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc) in vmd_next_irq()
234 struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus); in vmd_msi_init() local
272 struct vmd_dev *vmd = vmd_from_bus(pdev->bus); in vmd_msi_prepare() local
301 static int vmd_create_irq_domain(struct vmd_dev *vmd) in vmd_create_irq_domain()
318 static void vmd_remove_irq_domain(struct vmd_dev *vmd) in vmd_remove_irq_domain()
328 static char __iomem *vmd_cfg_addr(struct vmd_dev *vmd, struct pci_bus *bus, in vmd_cfg_addr()
349 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_read() local
384 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_write() local
419 static void vmd_attach_resources(struct vmd_dev *vmd) in vmd_attach_resources()
425 static void vmd_detach_resources(struct vmd_dev *vmd) in vmd_detach_resources()
447 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint, in vmd_get_phys_offsets()
501 static int vmd_get_bus_number_start(struct vmd_dev *vmd) in vmd_get_bus_number_start()
544 static int vmd_alloc_irqs(struct vmd_dev *vmd) in vmd_alloc_irqs()
579 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) in vmd_enable_domain()
722 struct vmd_dev *vmd; in vmd_probe() local
761 static void vmd_cleanup_srcu(struct vmd_dev *vmd) in vmd_cleanup_srcu()
771 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_remove() local
785 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_suspend() local
797 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_resume() local