Lines Matching refs:msi_desc
58 static struct msi_desc *msi_alloc_desc(struct device *dev, int nvec, in msi_alloc_desc()
61 struct msi_desc *desc = kzalloc(sizeof(*desc), GFP_KERNEL); in msi_alloc_desc()
78 static void msi_free_desc(struct msi_desc *desc) in msi_free_desc()
84 static int msi_insert_desc(struct device *dev, struct msi_desc *desc, in msi_insert_desc()
133 struct msi_desc *init_desc) in msi_domain_insert_msi_desc()
135 struct msi_desc *desc; in msi_domain_insert_msi_desc()
149 static bool msi_desc_match(struct msi_desc *desc, enum msi_desc_filter filter) in msi_desc_match()
182 struct msi_desc *desc; in msi_domain_free_descs()
230 struct msi_desc *desc; in msi_domain_add_simple_msi_descs()
256 void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg) in __get_cached_msi_msg()
263 struct msi_desc *entry = irq_get_msi_desc(irq); in get_cached_msi_msg()
350 static struct msi_desc *msi_find_desc(struct msi_device_data *md, unsigned int domid, in msi_find_desc()
354 struct msi_desc *desc; in msi_find_desc()
376 struct msi_desc *msi_domain_first_desc(struct device *dev, unsigned int domid, in msi_domain_first_desc()
405 struct msi_desc *msi_next_desc(struct device *dev, unsigned int domid, in msi_next_desc()
433 struct msi_desc *desc; in msi_domain_get_virq()
494 static void msi_sysfs_remove_desc(struct device *dev, struct msi_desc *desc) in msi_sysfs_remove_desc()
511 static int msi_sysfs_populate_desc(struct device *dev, struct msi_desc *desc) in msi_sysfs_populate_desc()
552 struct msi_desc *desc; in msi_device_populate_sysfs()
572 struct msi_desc *desc; in msi_device_destroy_sysfs()
580 static inline int msi_sysfs_populate_desc(struct device *dev, struct msi_desc *desc) { return 0; } in msi_sysfs_populate_desc()
581 static inline void msi_sysfs_remove_desc(struct device *dev, struct msi_desc *desc) { } in msi_sysfs_remove_desc()
750 struct msi_desc *desc) in msi_domain_ops_set_desc()
1080 struct msi_desc *desc; in msi_domain_populate_irqs()
1129 struct msi_desc *desc; in msi_domain_depopulate_descs()
1156 struct msi_desc *desc; in msi_check_reservation_mode()
1182 static int msi_handle_pci_fail(struct irq_domain *domain, struct msi_desc *desc, in msi_handle_pci_fail()
1258 struct msi_desc *desc; in __msi_domain_alloc_irqs()
1476 struct msi_desc *desc; in msi_domain_alloc_irq_at()
1522 struct msi_desc *desc; in __msi_domain_free_irqs()