Home
last modified time | relevance | path

Searched refs:msi_desc (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.3-rc2/drivers/bus/fsl-mc/
A Dfsl-mc-msi.c26 struct msi_desc *desc) in fsl_mc_domain_calc_hwirq()
36 struct msi_desc *desc) in fsl_mc_msi_set_desc()
62 struct msi_desc *msi_desc) in __fsl_mc_msi_write_msg() argument
73 if (msi_desc->msg.address_lo == 0x0 && msi_desc->msg.address_hi == 0x0) in __fsl_mc_msi_write_msg()
79 irq_cfg.paddr = ((u64)msi_desc->msg.address_hi << 32) | in __fsl_mc_msi_write_msg()
80 msi_desc->msg.address_lo; in __fsl_mc_msi_write_msg()
81 irq_cfg.val = msi_desc->msg.data; in __fsl_mc_msi_write_msg()
82 irq_cfg.irq_num = msi_desc->irq; in __fsl_mc_msi_write_msg()
121 struct msi_desc *msi_desc = irq_data_get_msi_desc(irq_data); in fsl_mc_msi_write_msg() local
125 &mc_bus->irq_resources[msi_desc->msi_index]; in fsl_mc_msi_write_msg()
[all …]
/linux-6.3-rc2/drivers/pci/msi/
A Dmsi.h12 void pci_msi_update_mask(struct msi_desc *desc, u32 clear, u32 set);
14 static inline void pci_msi_mask(struct msi_desc *desc, u32 mask) in pci_msi_mask()
19 static inline void pci_msi_unmask(struct msi_desc *desc, u32 mask) in pci_msi_unmask()
24 static inline void __iomem *pci_msix_desc_addr(struct msi_desc *desc) in pci_msix_desc_addr()
35 static inline void pci_msix_write_vector_ctrl(struct msi_desc *desc, u32 ctrl) in pci_msix_write_vector_ctrl()
43 static inline void pci_msix_mask(struct msi_desc *desc) in pci_msix_mask()
51 static inline void pci_msix_unmask(struct msi_desc *desc) in pci_msix_unmask()
57 static inline void __pci_msi_mask_desc(struct msi_desc *desc, u32 mask) in __pci_msi_mask_desc()
65 static inline void __pci_msi_unmask_desc(struct msi_desc *desc, u32 mask) in __pci_msi_unmask_desc()
79 static inline __attribute_const__ u32 msi_multi_mask(struct msi_desc *desc) in msi_multi_mask()
[all …]
A Dmsi.c132 struct msi_desc *desc = irq_data_get_msi_desc(data); in pci_msi_mask_irq()
255 struct msi_desc *entry = irq_get_msi_desc(irq); in pci_write_msi_msg()
284 struct msi_desc desc; in msi_setup_msi_desc()
320 struct msi_desc *entry; in msi_verify_entries()
351 struct msi_desc *entry; in msi_capability_init()
498 struct msi_desc *entry; in __pci_restore_msi_state()
520 struct msi_desc *desc; in pci_msi_shutdown()
612 struct msi_desc desc; in msix_setup_msi_descs()
632 struct msi_desc *desc; in msix_update_entries()
851 struct msi_desc *entry; in __pci_restore_msix_state()
[all …]
A Dlegacy.c10 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq()
21 struct msi_desc *desc; in arch_setup_msi_irqs()
42 struct msi_desc *desc; in arch_teardown_msi_irqs()
53 struct msi_desc *desc; in pci_msi_setup_check_result()
A Dirqdomain.c42 struct msi_desc *desc = irq_data_get_msi_desc(irq_data); in pci_msi_domain_write_msg()
58 static irq_hw_number_t pci_msi_domain_calc_hwirq(struct msi_desc *desc) in pci_msi_domain_calc_hwirq()
68 struct msi_desc *desc) in pci_msi_domain_set_desc()
145 static void pci_device_domain_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in pci_device_domain_set_desc()
153 struct msi_desc *desc = irq_data_get_msi_desc(data); in pci_irq_mask_msi()
160 struct msi_desc *desc = irq_data_get_msi_desc(data); in pci_irq_unmask_msi()
206 struct msi_desc *desc) in pci_msix_prepare_desc()
/linux-6.3-rc2/include/linux/
A Dmsi.h82 struct msi_desc;
96 typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc,
184 struct msi_desc { struct
198 void (*write_msi_msg)(struct msi_desc *entry, void *data); argument
266 static inline struct msi_desc *msi_first_desc(struct device *dev, in msi_first_desc()
315 static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc, in msi_desc_set_iommu_cookie()
326 static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc, in msi_desc_set_iommu_cookie()
333 struct msi_desc *init_desc);
455 struct msi_desc *desc);
457 struct msi_desc *desc);
[all …]
A Dirq.h129 struct msi_desc;
153 struct msi_desc *msi_desc; member
815 extern int irq_set_msi_desc(unsigned int irq, struct msi_desc *entry);
817 struct msi_desc *entry);
853 static inline struct msi_desc *irq_get_msi_desc(unsigned int irq) in irq_get_msi_desc()
856 return d ? d->common->msi_desc : NULL; in irq_get_msi_desc()
859 static inline struct msi_desc *irq_data_get_msi_desc(struct irq_data *d) in irq_data_get_msi_desc()
861 return d->common->msi_desc; in irq_data_get_msi_desc()
A Diommu.h1126 int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr);
1127 void iommu_dma_compose_msi_msg(struct msi_desc *desc, struct msi_msg *msg);
1131 struct msi_desc;
1143 static inline int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr) in iommu_dma_prepare_msi()
1148 static inline void iommu_dma_compose_msi_msg(struct msi_desc *desc, struct msi_msg *msg) in iommu_dma_compose_msi_msg()
/linux-6.3-rc2/drivers/ntb/
A Dmsi.c97 struct msi_desc *desc; in ntb_msi_setup_mws()
191 struct msi_desc *entry;
192 struct ntb_msi_desc *msi_desc; member
196 struct ntb_msi_desc *msi_desc) in ntb_msi_set_desc() argument
212 msi_desc->data = entry->msg.data; in ntb_msi_set_desc()
236 struct ntb_msi_desc *msi_desc) in ntbm_msi_setup_callback() argument
247 dr->msi_desc = msi_desc; in ntbm_msi_setup_callback()
283 struct ntb_msi_desc *msi_desc) in ntbm_msi_request_threaded_irq() argument
286 struct msi_desc *entry; in ntbm_msi_request_threaded_irq()
302 if (ntb_msi_set_desc(ntb, entry, msi_desc)) { in ntbm_msi_request_threaded_irq()
[all …]
/linux-6.3-rc2/drivers/soc/ti/
A Dti_sci_inta_msi.c67 struct msi_desc msi_desc; in ti_sci_inta_msi_alloc_descs() local
70 memset(&msi_desc, 0, sizeof(msi_desc)); in ti_sci_inta_msi_alloc_descs()
71 msi_desc.nvec_used = 1; in ti_sci_inta_msi_alloc_descs()
75 msi_desc.msi_index = res->desc[set].start + i; in ti_sci_inta_msi_alloc_descs()
76 if (msi_insert_msi_desc(dev, &msi_desc)) in ti_sci_inta_msi_alloc_descs()
81 msi_desc.msi_index = res->desc[set].start_sec + i; in ti_sci_inta_msi_alloc_descs()
82 if (msi_insert_msi_desc(dev, &msi_desc)) in ti_sci_inta_msi_alloc_descs()
/linux-6.3-rc2/kernel/irq/
A Dmsi.c135 struct msi_desc *desc; in msi_domain_insert_msi_desc()
182 struct msi_desc *desc; in msi_domain_free_descs()
230 struct msi_desc *desc; in msi_domain_add_simple_msi_descs()
354 struct msi_desc *desc; in msi_find_desc()
433 struct msi_desc *desc; in msi_domain_get_virq()
552 struct msi_desc *desc; in msi_device_populate_sysfs()
572 struct msi_desc *desc; in msi_device_destroy_sysfs()
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()
[all …]
/linux-6.3-rc2/include/asm-generic/
A Dmsi.h13 struct msi_desc;
25 struct msi_desc *desc;
/linux-6.3-rc2/drivers/ntb/test/
A Dntb_msi_test.c37 struct ntb_msi_desc *msi_desc; member
134 struct ntb_msi_desc *desc = nm->peers[peer].msi_desc; in ntb_msit_copy_peer_desc()
171 kfree(nm->peers[peer].msi_desc); in ntb_msit_db_event()
172 nm->peers[peer].msi_desc = desc; in ntb_msit_db_event()
195 &peer->msi_desc[idx]); in ntb_msit_dbgfs_trigger()
398 kfree(nm->peers[i].msi_desc); in ntb_msit_remove()
/linux-6.3-rc2/arch/x86/include/asm/
A Dhw_irq.h34 struct msi_desc;
81 struct msi_desc *desc;
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dpci.c415 struct msi_desc *msi_desc; in ath11k_pci_alloc_msi() local
442 msi_desc = irq_get_msi_desc(ab_pci->pdev->irq); in ath11k_pci_alloc_msi()
443 if (!msi_desc) { in ath11k_pci_alloc_msi()
449 ab->pci.msi.ep_base_data = msi_desc->msg.data; in ath11k_pci_alloc_msi()
454 if (msi_desc->pci.msi_attrib.is_64) { in ath11k_pci_alloc_msi()
479 struct msi_desc *msi_desc; in ath11k_pci_config_msi_data() local
481 msi_desc = irq_get_msi_desc(ab_pci->pdev->irq); in ath11k_pci_config_msi_data()
482 if (!msi_desc) { in ath11k_pci_config_msi_data()
488 ab_pci->ab->pci.msi.ep_base_data = msi_desc->msg.data; in ath11k_pci_config_msi_data()
/linux-6.3-rc2/include/xen/
A Devents.h118 int xen_allocate_pirq_msi(struct pci_dev *dev, struct msi_desc *msidesc);
120 int xen_bind_pirq_msi_to_irq(struct pci_dev *dev, struct msi_desc *msidesc,
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/
A Dmsi.c60 struct msi_desc *entry; in pasemi_msi_teardown_msi_irqs()
77 struct msi_desc *entry; in pasemi_msi_setup_msi_irqs()
/linux-6.3-rc2/drivers/base/
A Dplatform-msi.c39 static irq_hw_number_t platform_msi_calc_hwirq(struct msi_desc *desc) in platform_msi_calc_hwirq()
46 static void platform_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in platform_msi_set_desc()
85 struct msi_desc *desc = irq_data_get_msi_desc(data); in platform_msi_write_msg()
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dmpic_u3msi.c104 struct msi_desc *entry; in u3msi_teardown_msi_irqs()
119 struct msi_desc *entry; in u3msi_setup_msi_irqs()
/linux-6.3-rc2/arch/x86/pci/
A Dxen.c170 struct msi_desc *msidesc; in xen_setup_msi_irqs()
232 struct msi_desc *msidesc; in xen_hvm_setup_msi_irqs()
271 struct msi_desc *msidesc; in xen_initdom_setup_msi_irqs()
389 struct msi_desc *msidesc; in xen_teardown_msi_irqs()
/linux-6.3-rc2/arch/powerpc/platforms/4xx/
A Dhsta_msi.c41 struct msi_desc *entry; in hsta_setup_msi_irqs()
106 struct msi_desc *entry; in hsta_teardown_msi_irqs()
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-hyperv.c628 struct msi_desc *msi_desc = irq_data_get_msi_desc(data); in hv_arch_irq_unmask() local
642 pdev = msi_desc_to_pci_dev(msi_desc); in hv_arch_irq_unmask()
1737 struct msi_desc *msi_desc; in hv_compose_msi_msg() local
1758 msi_desc = irq_data_get_msi_desc(data); in hv_compose_msi_msg()
1760 msi_desc->nvec_used > 1; in hv_compose_msi_msg()
1771 pdev = msi_desc_to_pci_dev(msi_desc); in hv_compose_msi_msg()
1796 if (msi_desc->irq != data->irq) { in hv_compose_msi_msg()
1800 int_desc->data = msi_desc->msg.data + in hv_compose_msi_msg()
1801 (data->irq - msi_desc->irq); in hv_compose_msi_msg()
1815 vector_count = msi_desc->nvec_used; in hv_compose_msi_msg()
[all …]
/linux-6.3-rc2/arch/s390/pci/
A Dpci_irq.c135 struct msi_desc *entry = irq_data_get_msi_desc(data); in zpci_set_irq_affinity()
276 struct msi_desc *msi; in arch_setup_msi_irqs()
362 struct msi_desc *msi; in arch_teardown_msi_irqs()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dpci.c641 struct msi_desc *msi_desc; in ath12k_pci_msi_alloc() local
661 msi_desc = irq_get_msi_desc(ab_pci->pdev->irq); in ath12k_pci_msi_alloc()
662 if (!msi_desc) { in ath12k_pci_msi_alloc()
668 ab_pci->msi_ep_base_data = msi_desc->msg.data; in ath12k_pci_msi_alloc()
669 if (msi_desc->pci.msi_attrib.is_64) in ath12k_pci_msi_alloc()
/linux-6.3-rc2/arch/x86/hyperv/
A Dirqdomain.c191 struct msi_desc *msidesc; in hv_irq_compose_msi_msg()
283 struct msi_desc *desc; in hv_msi_free_irq()

Completed in 48 milliseconds

123