Lines Matching refs:desc
29 typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc,
134 #define msi_desc_to_dev(desc) ((desc)->dev) argument
138 #define for_each_msi_entry(desc, dev) \ argument
139 list_for_each_entry((desc), dev_to_msi_list((dev)), list)
140 #define for_each_msi_entry_safe(desc, tmp, dev) \ argument
141 list_for_each_entry_safe((desc), (tmp), dev_to_msi_list((dev)), list)
144 static inline const void *msi_desc_get_iommu_cookie(struct msi_desc *desc) in msi_desc_get_iommu_cookie() argument
146 return desc->iommu_cookie; in msi_desc_get_iommu_cookie()
149 static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc, in msi_desc_set_iommu_cookie() argument
152 desc->iommu_cookie = iommu_cookie; in msi_desc_set_iommu_cookie()
155 static inline const void *msi_desc_get_iommu_cookie(struct msi_desc *desc) in msi_desc_get_iommu_cookie() argument
160 static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc, in msi_desc_set_iommu_cookie() argument
168 #define for_each_pci_msi_entry(desc, pdev) \ argument
169 for_each_msi_entry((desc), &(pdev)->dev)
171 struct pci_dev *msi_desc_to_pci_dev(struct msi_desc *desc);
172 void *msi_desc_to_pci_sysdata(struct msi_desc *desc);
175 static inline void *msi_desc_to_pci_sysdata(struct msi_desc *desc) in msi_desc_to_pci_sysdata() argument
190 u32 __pci_msix_desc_mask_irq(struct msi_desc *desc, u32 flag);
191 u32 __pci_msi_desc_mask_irq(struct msi_desc *desc, u32 mask, u32 flag);
200 int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc);
216 struct msi_desc *desc);
270 struct msi_desc *desc);
272 struct msi_desc *desc, int error);
373 struct msi_desc *desc);