/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() 107 snic->msix[SNIC_MSIX_WQ].isr = snic_isr_msix_wq; 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() 113 snic->msix[SNIC_MSIX_IO_CMPL].isr = snic_isr_msix_io_cmpl; in snic_request_intr() 114 snic->msix[SNIC_MSIX_IO_CMPL].devid = snic; in snic_request_intr() 116 sprintf(snic->msix[SNIC_MSIX_ERR_NOTIFY].devname, in snic_request_intr() [all …]
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_isr.c | 122 i = irq - fnic->msix[0].irq_num; in fnic_isr_msix_wq_copy() 124 i < 0 || fnic->msix[i].irq_num != irq) { in fnic_isr_msix_wq_copy() 126 if (fnic->msix[i].irq_num == irq) in fnic_isr_msix_wq_copy() 164 for (i = 0; i < ARRAY_SIZE(fnic->msix); i++) in fnic_free_intr() 165 if (fnic->msix[i].requested) in fnic_free_intr() 167 fnic->msix[i].devid); in fnic_free_intr() 194 sprintf(fnic->msix[FNIC_MSIX_RQ].devname, in fnic_request_intr() 196 fnic->msix[FNIC_MSIX_RQ].isr = fnic_isr_msix_rq; in fnic_request_intr() 197 fnic->msix[FNIC_MSIX_RQ].devid = fnic; in fnic_request_intr() 199 sprintf(fnic->msix[FNIC_MSIX_WQ].devname, in fnic_request_intr() [all …]
|
/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() 121 bfa->msix.handler[BFI_MSIX_LPU_ERR_CT] = bfa_msix_lpu_err; 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() [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 …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | affinity.c | 739 static void hfi1_update_sdma_affinity(struct hfi1_msix_entry *msix, int cpu) in hfi1_update_sdma_affinity() argument 741 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity() 757 cpumask_clear(&msix->mask); in hfi1_update_sdma_affinity() 758 cpumask_set_cpu(cpu, &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() 775 if (other_msix->type != IRQ_SDMA || other_msix == msix) in hfi1_update_sdma_affinity() 791 struct hfi1_msix_entry *msix = container_of(notify, in hfi1_irq_notifier_notify() local 796 hfi1_update_sdma_affinity(msix, cpu); in hfi1_irq_notifier_notify() 807 static void hfi1_setup_sdma_notifier(struct hfi1_msix_entry *msix) in hfi1_setup_sdma_notifier() argument [all …]
|
H A D | affinity.h | 44 struct hfi1_msix_entry *msix); 50 struct hfi1_msix_entry *msix);
|
/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`
|
/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 180 msix = -((int)adap->sge.intrq.abs_id + 1); in cxgb4_mqprio_alloc_hw_resources() 187 if (msix >= 0) { in cxgb4_mqprio_alloc_hw_resources() 188 msix = cxgb4_get_msix_idx_from_bmap(adap); 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() [all …]
|
H A D | cxgb4_main.c | 734 minfo = s->ethrxq[ethqidx].msix; in request_msix_queue_irqs() 749 minfo = s->ethrxq[ethqidx].msix; in request_msix_queue_irqs() 765 minfo = s->ethrxq[i].msix; in free_msix_queue_irqs() 984 int msix; in setup_non_data_intr() local 991 msix = cxgb4_get_msix_idx_from_bmap(adap); in setup_non_data_intr() 992 if (msix < 0) in setup_non_data_intr() 995 snprintf(adap->msix_info[msix].desc, in setup_non_data_intr() 996 sizeof(adap->msix_info[msix].desc), in setup_non_data_intr() 999 adap->sge.nd_msix_idx = msix; in setup_non_data_intr() 1006 int msix, err = 0; in setup_fw_sge_queues() local [all …]
|
H A D | cxgb4_uld.c | 144 q->msix = &adap->msix_info[msi_idx]; in alloc_uld_rxqs() 167 if (q->msix) in alloc_uld_rxqs() 168 cxgb4_free_msix_idx_in_bmap(adap, q->msix->idx); in alloc_uld_rxqs() 332 minfo = rxq_info->uldrxq[idx].msix; in request_msix_queue_irqs_uld() 347 minfo = rxq_info->uldrxq[idx].msix; in request_msix_queue_irqs_uld() 363 minfo = rxq_info->uldrxq[idx].msix; in free_msix_queue_irqs_uld()
|
/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";
|
/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()
|
H A D | be_roce.h | 47 } msix; member
|
/linux/drivers/rapidio/devices/ |
H A D | tsi721.c | 630 mbox = (irq - priv->msix[TSI721_VECT_OMB0_DONE].vector) % RIO_MAX_MBOX; in tsi721_omsg_msix() 649 mbox = (irq - priv->msix[TSI721_VECT_IMB0_RCV].vector) % RIO_MAX_MBOX; in tsi721_imsg_msix() 719 err = request_irq(priv->msix[TSI721_VECT_IDB].vector, in tsi721_request_msix() 721 priv->msix[TSI721_VECT_IDB].irq_name, (void *)priv); in tsi721_request_msix() 725 err = request_irq(priv->msix[TSI721_VECT_PWRX].vector, in tsi721_request_msix() 727 priv->msix[TSI721_VECT_PWRX].irq_name, (void *)priv); in tsi721_request_msix() 729 free_irq(priv->msix[TSI721_VECT_IDB].vector, (void *)priv); in tsi721_request_msix() 795 priv->msix[TSI721_VECT_IDB].vector = entries[TSI721_VECT_IDB].vector; in tsi721_enable_msix() 796 snprintf(priv->msix[TSI721_VECT_IDB].irq_name, IRQ_DEVICE_NAME_MAX, in tsi721_enable_msix() 798 priv->msix[TSI721_VECT_PWRX].vector = entries[TSI721_VECT_PWRX].vector; in tsi721_enable_msix() [all …]
|
H A D | tsi721_dma.c | 152 rc = request_irq(priv->msix[idx].vector, tsi721_bdma_msix, 0, in tsi721_bdma_ch_init() 153 priv->msix[idx].irq_name, (void *)bdma_chan); in tsi721_bdma_ch_init() 164 rc = request_irq(priv->msix[idx].vector, tsi721_bdma_msix, 0, in tsi721_bdma_ch_init() 165 priv->msix[idx].irq_name, (void *)bdma_chan); in tsi721_bdma_ch_init() 172 priv->msix[TSI721_VECT_DMA0_DONE + in tsi721_bdma_ch_init() 226 free_irq(priv->msix[TSI721_VECT_DMA0_DONE + in tsi721_bdma_ch_free() 228 free_irq(priv->msix[TSI721_VECT_DMA0_INT + in tsi721_bdma_ch_free() 772 synchronize_irq(priv->msix[TSI721_VECT_DMA0_DONE + in tsi721_sync_dma_irq() 774 synchronize_irq(priv->msix[TSI721_VECT_DMA0_INT + in tsi721_sync_dma_irq()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 122 (cpumask_available(enic->msix[i].affinity_mask) && in enic_init_affinity_hint() 123 !cpumask_empty(enic->msix[i].affinity_mask))) in enic_init_affinity_hint() 125 if (zalloc_cpumask_var(&enic->msix[i].affinity_mask, in enic_init_affinity_hint() 128 enic->msix[i].affinity_mask); in enic_init_affinity_hint() 139 free_cpumask_var(enic->msix[i].affinity_mask); in enic_free_affinity_hint() 151 !cpumask_available(enic->msix[i].affinity_mask) || in enic_set_affinity_hint() 152 cpumask_empty(enic->msix[i].affinity_mask)) in enic_set_affinity_hint() 155 enic->msix[i].affinity_mask); in enic_set_affinity_hint() 164 if (cpumask_available(enic->msix[wq_intr].affinity_mask) && in enic_set_affinity_hint() 165 !cpumask_empty(enic->msix[wq_intr].affinity_mask)) in enic_set_affinity_hint() [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its-msi-parent.c | 24 int msi, msix, *count = data; in its_pci_msi_vec_count() local 27 msix = max(pci_msix_vec_count(pdev), 0); in its_pci_msi_vec_count() 28 *count += max(msi, msix); in its_pci_msi_vec_count()
|
/linux/drivers/edac/ |
H A D | thunderx_edac.c | 1071 struct msix_entry *msix = irq_id; in thunderx_ocx_com_isr() local 1072 struct thunderx_ocx *ocx = container_of(msix, struct thunderx_ocx, in thunderx_ocx_com_isr() 1073 msix_ent[msix->entry]); in thunderx_ocx_com_isr() 1100 struct msix_entry *msix = irq_id; in thunderx_ocx_com_threaded_isr() local 1101 struct thunderx_ocx *ocx = container_of(msix, struct thunderx_ocx, in thunderx_ocx_com_threaded_isr() 1102 msix_ent[msix->entry]); in thunderx_ocx_com_threaded_isr() 1164 struct msix_entry *msix = irq_id; in thunderx_ocx_lnk_isr() local 1165 struct thunderx_ocx *ocx = container_of(msix, struct thunderx_ocx, in thunderx_ocx_lnk_isr() 1166 msix_ent[msix->entry]); in thunderx_ocx_lnk_isr() 1171 ctx->link = msix->entry; in thunderx_ocx_lnk_isr() [all …]
|
/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";
|
/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 …]
|
/linux/arch/arm64/boot/dts/amazon/ |
H A D | alpine-v2.dtsi | 143 msi-parent = <&msix>; 146 msix: msix@fbe00000 { label 147 compatible = "al,alpine-msix";
|
H A D | alpine-v3.dtsi | 352 msi-parent = <&msix>; 355 msix: msix@fbe00000 { label 356 compatible = "al,alpine-msix";
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 598 if (rsp->msix && rsp->msix->have_irq) { in qla25xx_free_rsp_que() 599 free_irq(rsp->msix->vector, rsp->msix->handle); in qla25xx_free_rsp_que() 600 rsp->msix->have_irq = 0; in qla25xx_free_rsp_que() 601 rsp->msix->in_use = 0; in qla25xx_free_rsp_que() 602 rsp->msix->handle = NULL; in qla25xx_free_rsp_que() 864 rsp->msix = qpair->msix; in qla25xx_create_rsp_que() 902 ret = qla25xx_request_irq(ha, qpair, qpair->msix, in qla25xx_create_rsp_que()
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_isr.c | 395 vec = ndev->iov.msix.vector; in nitrox_sriov_unregister_interrupts() 419 ndev->iov.msix.entry = NON_RING_MSIX_BASE; in nitrox_sriov_register_interupts() 420 ret = pci_enable_msix_exact(pdev, &ndev->iov.msix, NR_NON_RING_VECTORS); in nitrox_sriov_register_interupts() 439 vec = ndev->iov.msix.vector; in nitrox_sriov_register_interupts()
|
/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen1.c | 387 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr() 389 if (!ndev->msix) in ndev_init_isr() 393 ndev->msix[i].entry = i; in ndev_init_isr() 395 msix_count = pci_enable_msix_range(pdev, ndev->msix, in ndev_init_isr() 403 rc = request_irq(ndev->msix[i].vector, ndev_vec_isr, 0, in ndev_init_isr() 416 free_irq(ndev->msix[i].vector, &ndev->vec[i]); in ndev_init_isr() 419 kfree(ndev->msix); in ndev_init_isr() 423 ndev->msix = NULL; in ndev_init_isr() 477 if (ndev->msix) { in ndev_deinit_isr() 480 free_irq(ndev->msix[i].vector, &ndev->vec[i]); in ndev_deinit_isr() [all …]
|