Home
last modified time | relevance | path

Searched refs:is_msix (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/kernel/irq/
Dmsi.c79 bool is_msix = false; in msi_mode_show() local
92 is_msix = entry->msi_attrib.is_msix; in msi_mode_show()
94 return sysfs_emit(buf, "%s\n", is_msix ? "msix" : "msi"); in msi_mode_show()
535 return desc->msi_attrib.is_msix || desc->msi_attrib.maskbit; in msi_check_reservation_mode()
/Linux-v5.15/drivers/pci/
Dmsi.c206 if (desc->msi_attrib.is_msix) in __pci_msi_mask_desc()
217 if (desc->msi_attrib.is_msix) in __pci_msi_unmask_desc()
261 if (entry->msi_attrib.is_msix) { in __pci_read_msi_msg()
294 } else if (entry->msi_attrib.is_msix) { in __pci_write_msi_msg()
376 if (entry->msi_attrib.is_msix) { in free_msi_irqs()
483 entry->msi_attrib.is_msix = 0; in msi_setup_entry()
630 entry->msi_attrib.is_msix = 1; in msix_setup_entries()
1297 return !desc->msi_attrib.is_msix && desc->nvec_used > 1; in pci_msi_desc_is_multi_msi()
1321 else if (desc->msi_attrib.is_msix && !(info->flags & MSI_FLAG_PCI_MSIX)) in pci_msi_domain_check_cap()
/Linux-v5.15/drivers/pci/endpoint/functions/
Dpci-epf-ntb.c92 bool is_msix; member
148 bool is_msix; in epf_ntb_link_up() local
156 is_msix = ntb_epc->is_msix; in epf_ntb_link_up()
162 irq_type = is_msix ? PCI_EPC_IRQ_MSIX : PCI_EPC_IRQ_MSI; in epf_ntb_link_up()
538 ntb_epc->is_msix = true; in epf_ntb_configure_msix()
629 bool is_msix; in epf_ntb_cmd_handler() local
650 is_msix = argument & MSIX_ENABLE; in epf_ntb_cmd_handler()
651 ret = epf_ntb_configure_db(ntb, type, db_count, is_msix); in epf_ntb_cmd_handler()
/Linux-v5.15/include/linux/
Dvfio_pci_core.h144 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) macro
145 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev)))
Dmsi.h148 u8 is_msix : 1; member
/Linux-v5.15/arch/x86/pci/
Dxen.c400 if (msidesc->msi_attrib.is_msix) in xen_pv_teardown_msi_irqs()
416 if (first_msi_entry(dev)->msi_attrib.is_msix) in xen_msi_domain_alloc_irqs()
/Linux-v5.15/arch/x86/kernel/apic/
Dmsi.c166 if (desc->msi_attrib.is_msix) { in pci_msi_prepare()
/Linux-v5.15/arch/mips/pci/
Dmsi-xlp.c460 if (desc->msi_attrib.is_msix) in arch_setup_msi_irq()
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dmsi.c452 int type = desc->msi_attrib.is_msix ? PCI_CAP_ID_MSIX : PCI_CAP_ID_MSI; in pseries_msi_ops_prepare()