Lines Matching refs:vmd_dev

125 struct vmd_dev {  struct
144 static inline struct vmd_dev *vmd_from_bus(struct pci_bus *bus) in vmd_from_bus() argument
146 return container_of(bus->sysdata, struct vmd_dev, sysdata); in vmd_from_bus()
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()
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()
305 struct vmd_dev *vmd = vmd_from_bus(pdev->bus); in vmd_msi_prepare()
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()
432 struct vmd_dev *vmd = vmd_from_bus(bus); in vmd_pci_write()
517 static void vmd_domain_reset(struct vmd_dev *vmd) in vmd_domain_reset()
551 static void vmd_attach_resources(struct vmd_dev *vmd) in vmd_attach_resources()
557 static void vmd_detach_resources(struct vmd_dev *vmd) in vmd_detach_resources()
579 static int vmd_get_phys_offsets(struct vmd_dev *vmd, bool native_hint, in vmd_get_phys_offsets()
633 static int vmd_get_bus_number_start(struct vmd_dev *vmd) in vmd_get_bus_number_start()
676 static int vmd_alloc_irqs(struct vmd_dev *vmd) in vmd_alloc_irqs()
767 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) in vmd_enable_domain()
858 sd->vmd_dev = vmd->dev; in vmd_enable_domain()
961 struct vmd_dev *vmd; in vmd_probe()
1018 static void vmd_cleanup_srcu(struct vmd_dev *vmd) in vmd_cleanup_srcu()
1028 struct vmd_dev *vmd = pci_get_drvdata(dev); in vmd_remove()
1043 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_suspend()
1055 struct vmd_dev *vmd = pci_get_drvdata(pdev); in vmd_resume()