/openbmc/qemu/hw/xen/ |
H A D | xen_pt_msi.c | 314 if (!s->msix) { in msix_set_enable() 376 XenPTMSIX *msix = s->msix; in xen_pt_msix_update() local 408 if (!(s->msix && s->msix->bar_index == bar_index)) { in xen_pt_msix_update_remap() 443 XenPTMSIX *msix = s->msix; in pci_msix_write() local 481 XenPTMSIX *msix = s->msix; in pci_msix_read() local 556 msix = s->msix; in xen_pt_msix_init() 601 msix->phys_iomem_base = (char *)msix->phys_iomem_base in xen_pt_msix_init() 621 XenPTMSIX *msix = s->msix; in xen_pt_msix_unmap() local 623 if (!msix) { in xen_pt_msix_unmap() 640 XenPTMSIX *msix = s->msix; in xen_pt_msix_delete() local [all …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_isr.c | 80 for (i = 0; i < ARRAY_SIZE(snic->msix); i++) { in snic_free_intr() 81 if (snic->msix[i].requested) { in snic_free_intr() 83 snic->msix[i].devid); in snic_free_intr() 104 sprintf(snic->msix[SNIC_MSIX_WQ].devname, in snic_request_intr() 108 snic->msix[SNIC_MSIX_WQ].devid = snic; in snic_request_intr() 110 sprintf(snic->msix[SNIC_MSIX_IO_CMPL].devname, in snic_request_intr() 114 snic->msix[SNIC_MSIX_IO_CMPL].devid = snic; in snic_request_intr() 124 snic->msix[i].isr, in snic_request_intr() 126 snic->msix[i].devname, in snic_request_intr() 127 snic->msix[i].devid); in snic_request_intr() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_hw_ct.c | 108 bfa->msix.nvecs = nvecs; in bfa_hwct_msix_init() 115 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_ctrl_install() 118 if (bfa->msix.nvecs == 1) in bfa_hwct_msix_ctrl_install() 119 bfa->msix.handler[BFI_MSIX_LPU_ERR_CT] = bfa_msix_all; in bfa_hwct_msix_ctrl_install() 129 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_queue_install() 132 if (bfa->msix.nvecs == 1) { in bfa_hwct_msix_queue_install() 134 bfa->msix.handler[i] = bfa_msix_all; in bfa_hwct_msix_queue_install() 139 bfa->msix.handler[i] = bfa_msix_reqq; in bfa_hwct_msix_queue_install() 142 bfa->msix.handler[i] = bfa_msix_rspq; in bfa_hwct_msix_queue_install() 151 bfa->msix.handler[i] = bfa_hwct_msix_dummy; in bfa_hwct_msix_uninstall() [all …]
|
H A D | bfa_hw_cb.c | 110 bfa->msix.nvecs = nvecs; in bfa_hwcb_msix_init() 119 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_ctrl_install() 122 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_ctrl_install() 124 bfa->msix.handler[i] = bfa_msix_all; in bfa_hwcb_msix_ctrl_install() 129 bfa->msix.handler[i] = bfa_msix_lpu_err; in bfa_hwcb_msix_ctrl_install() 137 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_queue_install() 140 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_queue_install() 142 bfa->msix.handler[i] = bfa_msix_all; in bfa_hwcb_msix_queue_install() 147 bfa->msix.handler[i] = bfa_msix_reqq; in bfa_hwcb_msix_queue_install() 150 bfa->msix.handler[i] = bfa_msix_rspq; in bfa_hwcb_msix_queue_install() [all …]
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | fnic_isr.c | 150 if (fnic->msix[i].requested) in fnic_free_intr() 152 fnic->msix[i].devid); in fnic_free_intr() 179 sprintf(fnic->msix[FNIC_MSIX_RQ].devname, in fnic_request_intr() 182 fnic->msix[FNIC_MSIX_RQ].devid = fnic; in fnic_request_intr() 184 sprintf(fnic->msix[FNIC_MSIX_WQ].devname, in fnic_request_intr() 187 fnic->msix[FNIC_MSIX_WQ].devid = fnic; in fnic_request_intr() 196 fnic->msix[FNIC_MSIX_ERR_NOTIFY].isr = in fnic_request_intr() 202 fnic->msix[i].isr, 0, in fnic_request_intr() 203 fnic->msix[i].devname, in fnic_request_intr() 204 fnic->msix[i].devid); in fnic_request_intr() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | affinity.c | 757 cpumask_clear(&msix->mask); in hfi1_update_sdma_affinity() 760 msix->irq, irq_type_names[msix->type], in hfi1_update_sdma_affinity() 762 irq_set_affinity_hint(msix->irq, &msix->mask); in hfi1_update_sdma_affinity() 811 notify->irq = msix->irq; in hfi1_setup_sdma_notifier() 845 cpumask_clear(&msix->mask); in get_irq_affinity() 849 switch (msix->type) { in get_irq_affinity() 897 msix->irq, irq_type_names[msix->type], in get_irq_affinity() 899 irq_set_affinity_hint(msix->irq, &msix->mask); in get_irq_affinity() 901 if (msix->type == IRQ_SDMA) { in get_irq_affinity() 928 switch (msix->type) { in hfi1_put_irq_affinity() [all …]
|
H A D | affinity.h | 44 struct hfi1_msix_entry *msix); 50 struct hfi1_msix_entry *msix);
|
/openbmc/linux/tools/pci/ |
H A D | pcitest.sh | 33 msix=1 35 while [ $msix -lt 2049 ] 37 pcitest -x $msix 38 msix=`expr $msix + 1`
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 155 int ret, msix = 0; in cxgb4_mqprio_alloc_hw_resources() local 187 if (msix >= 0) { in cxgb4_mqprio_alloc_hw_resources() 189 if (msix < 0) { in cxgb4_mqprio_alloc_hw_resources() 190 ret = msix; in cxgb4_mqprio_alloc_hw_resources() 194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources() 195 snprintf(eorxq->msix->desc, in cxgb4_mqprio_alloc_hw_resources() 196 sizeof(eorxq->msix->desc), in cxgb4_mqprio_alloc_hw_resources() 209 dev, msix, &eorxq->fl, in cxgb4_mqprio_alloc_hw_resources() 248 eorxq->msix->aff_mask); in cxgb4_mqprio_alloc_hw_resources() 260 if (eorxq->msix) in cxgb4_mqprio_alloc_hw_resources() [all …]
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 407 if (!msix) { in vfio_msi_enable() 429 unsigned int vector, bool msix) in vfio_msi_alloc_irq() argument 439 if (irq > 0 || !msix || !vdev->has_dyn_msix) in vfio_msi_alloc_irq() 450 unsigned int vector, int fd, bool msix) in vfio_msi_set_vector_signal() argument 477 irq = vfio_msi_alloc_irq(vdev, vector, msix); in vfio_msi_set_vector_signal() 505 if (msix) { in vfio_msi_set_vector_signal() 541 unsigned count, int32_t *fds, bool msix) in vfio_msi_set_block() argument 569 vfio_msi_set_vector_signal(vdev, i, -1, msix); in vfio_msi_disable() 696 vfio_msi_disable(vdev, msix); in vfio_pci_set_msi_trigger() 709 fds, msix); in vfio_pci_set_msi_trigger() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | al,alpine-msix.txt | 7 - compatible: should be "al,alpine-msix" 17 msix: msix { 18 compatible = "al,alpine-msix";
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.c | 417 if (msix && !vdev->msix->noresize) { in vfio_enable_vectors() 466 if ((msix && vdev->no_kvm_msix) || (!msix && vdev->no_kvm_msi)) { in vfio_add_kvm_msi_virq() 1535 vdev->msix->pba_offset = vdev->msix->table_offset + in vfio_pci_relocate_msix() 1588 msix = g_malloc0(sizeof(*msix)); in vfio_msix_early_setup() 1598 g_free(msix); in vfio_msix_early_setup() 1609 if (msix->pba_offset >= vdev->bars[msix->pba_bar].region.size) { in vfio_msix_early_setup() 1636 msix->table_offset, msix->entries, in vfio_msix_early_setup() 1638 vdev->msix = msix; in vfio_msix_early_setup() 1654 vdev->msix->table_bar, vdev->msix->table_offset, in vfio_msix_setup() 1656 vdev->msix->pba_bar, vdev->msix->pba_offset, pos, in vfio_msix_setup() [all …]
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_roce.c | 65 dev_info.msix.num_vectors = min(num_vec, MAX_MSIX_VECTORS); in _be_roce_dev_add() 70 dev_info.msix.start_vector = adapter->num_evt_qs; in _be_roce_dev_add() 71 for (i = 0; i < dev_info.msix.num_vectors; i++) { in _be_roce_dev_add() 72 dev_info.msix.vector_list[i] = in _be_roce_dev_add() 76 dev_info.msix.num_vectors = 0; in _be_roce_dev_add()
|
/openbmc/qemu/hw/net/ |
H A D | igbvf.c | 59 MemoryRegion msix; member 256 memory_region_init(&s->msix, OBJECT(dev), "igbvf-msix", IGBVF_MSIX_SIZE); in igbvf_pci_realize() 257 pcie_sriov_vf_register_bar(dev, IGBVF_MSIX_BAR_IDX, &s->msix); in igbvf_pci_realize() 259 ret = msix_init(dev, IGBVF_MSIX_VEC_NUM, &s->msix, IGBVF_MSIX_BAR_IDX, 0, in igbvf_pci_realize() 260 &s->msix, IGBVF_MSIX_BAR_IDX, 0x2000, 0x70, errp); in igbvf_pci_realize() 299 msix_uninit(dev, &s->msix, &s->msix); in igbvf_pci_uninit()
|
H A D | igb.c | 76 MemoryRegion msix; member 298 &s->msix, in igb_init_msix() 300 &s->msix, in igb_init_msix() 317 msix_uninit(PCI_DEVICE(s), &s->msix, &s->msix); in igb_cleanup_msix() 415 memory_region_init(&s->msix, OBJECT(s), "igb-msix", in igb_pci_realize() 418 PCI_BASE_ADDRESS_MEM_TYPE_64, &s->msix); in igb_pci_realize()
|
H A D | e1000e.c | 70 MemoryRegion msix; member 293 &s->msix, in e1000e_init_msix() 295 &s->msix, in e1000e_init_msix() 311 msix_uninit(PCI_DEVICE(s), &s->msix, &s->msix); in e1000e_cleanup_msix() 454 memory_region_init(&s->msix, OBJECT(s), "e1000e-msix", in e1000e_pci_realize() 457 PCI_BASE_ADDRESS_SPACE_MEMORY, &s->msix); in e1000e_pci_realize()
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | tsi721.c | 779 priv->msix[TSI721_VECT_IMB0_RCV + i].vector = in tsi721_enable_msix() 785 priv->msix[TSI721_VECT_IMB0_INT + i].vector = in tsi721_enable_msix() 791 priv->msix[TSI721_VECT_OMB0_DONE + i].vector = in tsi721_enable_msix() 797 priv->msix[TSI721_VECT_OMB0_INT + i].vector = in tsi721_enable_msix() 806 priv->msix[TSI721_VECT_DMA0_DONE + i].vector = in tsi721_enable_msix() 812 priv->msix[TSI721_VECT_DMA0_INT + i].vector = in tsi721_enable_msix() 1968 priv->msix[idx].irq_name, (void *)priv); in tsi721_open_outb_mbox() 1979 priv->msix[idx].irq_name, (void *)priv); in tsi721_open_outb_mbox() 1985 free_irq(priv->msix[idx].vector, (void *)priv); in tsi721_open_outb_mbox() 2283 priv->msix[idx].irq_name, (void *)priv); in tsi721_open_inb_mbox() [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 127 enic->msix[i].affinity_mask); in enic_init_affinity_hint() 1726 if (enic->msix[i].requested) in enic_free_intr() 1728 enic->msix[i].devid); in enic_free_intr() 1779 snprintf(enic->msix[intr].devname, in enic_request_intr() 1783 enic->msix[intr].devid = enic; in enic_request_intr() 1790 enic->msix[intr].devid = enic; in enic_request_intr() 1793 enic->msix[i].requested = 0; in enic_request_intr() 1797 enic->msix[i].isr, 0, in enic_request_intr() 1798 enic->msix[i].devname, in enic_request_intr() 1799 enic->msix[i].devid); in enic_request_intr() [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its-pci-msi.c | 35 int msi, msix, *count = data; in its_pci_msi_vec_count() local 38 msix = max(pci_msix_vec_count(pdev), 0); in its_pci_msi_vec_count() 39 *count += max(msi, msix); in its_pci_msi_vec_count()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_pci.h | 52 #define VIRTIO_PCI_CONFIG_OFF(msix) ((msix) ? 24 : 20) argument
|
/openbmc/linux/arch/arm/boot/dts/amazon/ |
H A D | alpine.dtsi | 164 msi-parent = <&msix>; 167 msix: msix@fbe00000 { label 168 compatible = "al,alpine-msix";
|
/openbmc/linux/drivers/edac/ |
H A D | thunderx_edac.c | 1077 struct msix_entry *msix = irq_id; in thunderx_ocx_com_isr() local 1079 msix_ent[msix->entry]); in thunderx_ocx_com_isr() 1106 struct msix_entry *msix = irq_id; in thunderx_ocx_com_threaded_isr() local 1108 msix_ent[msix->entry]); in thunderx_ocx_com_threaded_isr() 1170 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_isr() local 1172 msix_ent[msix->entry]); in thunderx_ocx_lnk_isr() 1177 ctx->link = msix->entry; in thunderx_ocx_lnk_isr() 1189 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_threaded_isr() local 1191 msix_ent[msix->entry]); in thunderx_ocx_lnk_threaded_isr() 1762 struct msix_entry *msix = irq_id; in thunderx_l2c_tad_isr() local [all …]
|
/openbmc/linux/drivers/ntb/hw/amd/ |
H A D | ntb_hw_amd.c | 727 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr() 729 if (!ndev->msix) in ndev_init_isr() 733 ndev->msix[i].entry = i; in ndev_init_isr() 735 msix_count = pci_enable_msix_range(pdev, ndev->msix, in ndev_init_isr() 751 rc = request_irq(ndev->msix[i].vector, ndev_vec_isr, 0, in ndev_init_isr() 764 free_irq(ndev->msix[i].vector, &ndev->vec[i]); in ndev_init_isr() 767 kfree(ndev->msix); in ndev_init_isr() 771 ndev->msix = NULL; in ndev_init_isr() 822 if (ndev->msix) { in ndev_deinit_isr() 825 free_irq(ndev->msix[i].vector, &ndev->vec[i]); in ndev_deinit_isr() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amazon/ |
H A D | alpine-v2.dtsi | 142 msi-parent = <&msix>; 145 msix: msix@fbe00000 { label 146 compatible = "al,alpine-msix";
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci-pci.h | 42 OnOffAuto msix; member
|