Home
last modified time | relevance | path

Searched refs:msix (Results 1 – 25 of 79) sorted by relevance

1234

/linux/drivers/scsi/snic/
A Dsnic_isr.c94 for (i = 0; i < ARRAY_SIZE(snic->msix); i++) { in snic_free_intr()
95 if (snic->msix[i].requested) { in snic_free_intr()
97 snic->msix[i].devid); in snic_free_intr()
118 sprintf(snic->msix[SNIC_MSIX_WQ].devname, in snic_request_intr()
122 snic->msix[SNIC_MSIX_WQ].devid = snic; in snic_request_intr()
124 sprintf(snic->msix[SNIC_MSIX_IO_CMPL].devname, in snic_request_intr()
128 snic->msix[SNIC_MSIX_IO_CMPL].devid = snic; in snic_request_intr()
138 snic->msix[i].isr, in snic_request_intr()
140 snic->msix[i].devname, in snic_request_intr()
141 snic->msix[i].devid); in snic_request_intr()
[all …]
/linux/drivers/scsi/fnic/
A Dfnic_isr.c162 if (fnic->msix[i].requested) in fnic_free_intr()
164 fnic->msix[i].devid); in fnic_free_intr()
191 sprintf(fnic->msix[FNIC_MSIX_RQ].devname, in fnic_request_intr()
194 fnic->msix[FNIC_MSIX_RQ].devid = fnic; in fnic_request_intr()
196 sprintf(fnic->msix[FNIC_MSIX_WQ].devname, in fnic_request_intr()
199 fnic->msix[FNIC_MSIX_WQ].devid = fnic; in fnic_request_intr()
208 fnic->msix[FNIC_MSIX_ERR_NOTIFY].isr = in fnic_request_intr()
214 fnic->msix[i].isr, 0, in fnic_request_intr()
215 fnic->msix[i].devname, in fnic_request_intr()
216 fnic->msix[i].devid); in fnic_request_intr()
[all …]
/linux/drivers/scsi/bfa/
A Dbfa_hw_ct.c108 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 …]
A Dbfa_hw_cb.c110 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 …]
A Dbfa.h184 void (*hw_isr_mode_set)(struct bfa_s *bfa, bfa_boolean_t msix);
288 ((__bfa)->msix.handler[__vec](__bfa, __vec))
318 void bfa_hwcb_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix);
332 void bfa_hwct_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix);
/linux/drivers/infiniband/hw/hfi1/
A Daffinity.c758 cpumask_clear(&msix->mask); in hfi1_update_sdma_affinity()
761 msix->irq, irq_type_names[msix->type], in hfi1_update_sdma_affinity()
763 irq_set_affinity_hint(msix->irq, &msix->mask); in hfi1_update_sdma_affinity()
812 notify->irq = msix->irq; in hfi1_setup_sdma_notifier()
846 cpumask_clear(&msix->mask); in get_irq_affinity()
850 switch (msix->type) { in get_irq_affinity()
898 msix->irq, irq_type_names[msix->type], in get_irq_affinity()
900 irq_set_affinity_hint(msix->irq, &msix->mask); in get_irq_affinity()
902 if (msix->type == IRQ_SDMA) { in get_irq_affinity()
929 switch (msix->type) { in hfi1_put_irq_affinity()
[all …]
A Daffinity.h44 struct hfi1_msix_entry *msix);
50 struct hfi1_msix_entry *msix);
/linux/tools/pci/
A Dpcitest.sh33 msix=1
35 while [ $msix -lt 2049 ]
37 pcitest -x $msix
38 msix=`expr $msix + 1`
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_mqprio.c155 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 …]
A Dcxgb4_main.c985 int msix; in setup_non_data_intr() local
993 if (msix < 0) in setup_non_data_intr()
1007 int msix, err = 0; in setup_fw_sge_queues() local
1015 if (msix < 0) in setup_fw_sge_queues()
1066 if (msix >= 0) { in setup_sge_queues()
1069 err = msix; in setup_sge_queues()
1076 q->msix = &adap->msix_info[msix]; in setup_sge_queues()
1347 if (msix >= 0) { in cxgb4_port_mirror_alloc_queues()
1349 if (msix < 0) { in cxgb4_port_mirror_alloc_queues()
1350 ret = msix; in cxgb4_port_mirror_alloc_queues()
[all …]
/linux/drivers/vfio/pci/
A Dvfio_pci_intrs.c274 vdev->irq_type = msix ? VFIO_PCI_MSIX_IRQ_INDEX : in vfio_msi_enable()
277 if (!msix) { in vfio_msi_enable()
289 int vector, int fd, bool msix) in vfio_msi_set_vector_signal() argument
317 msix ? "x" : "", vector, in vfio_msi_set_vector_signal()
336 if (msix) { in vfio_msi_set_vector_signal()
368 unsigned count, int32_t *fds, bool msix) in vfio_msi_set_block() argument
382 vfio_msi_set_vector_signal(vdev, j, -1, msix); in vfio_msi_set_block()
518 vfio_msi_disable(vdev, msix); in vfio_pci_set_msi_trigger()
531 fds, msix); in vfio_pci_set_msi_trigger()
533 ret = vfio_msi_enable(vdev, start + count, msix); in vfio_pci_set_msi_trigger()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dal,alpine-msix.txt7 - compatible: should be "al,alpine-msix"
17 msix: msix {
18 compatible = "al,alpine-msix";
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_roce.c65 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()
/linux/drivers/rapidio/devices/
A Dtsi721.c779 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 …]
A Dtsi721_dma.c152 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()
770 synchronize_irq(priv->msix[TSI721_VECT_DMA0_DONE + in tsi721_sync_dma_irq()
772 synchronize_irq(priv->msix[TSI721_VECT_DMA0_INT + in tsi721_sync_dma_irq()
/linux/drivers/net/ethernet/cisco/enic/
A Denic_main.c127 enic->msix[i].affinity_mask); in enic_init_affinity_hint()
154 enic->msix[i].affinity_mask); in enic_set_affinity_hint()
1715 if (enic->msix[i].requested) in enic_free_intr()
1717 enic->msix[i].devid); in enic_free_intr()
1772 enic->msix[intr].devid = enic; in enic_request_intr()
1779 enic->msix[intr].devid = enic; in enic_request_intr()
1782 enic->msix[i].requested = 0; in enic_request_intr()
1786 enic->msix[i].isr, 0, in enic_request_intr()
1787 enic->msix[i].devname, in enic_request_intr()
1788 enic->msix[i].devid); in enic_request_intr()
[all …]
/linux/drivers/edac/
A Dthunderx_edac.c1077 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 …]
/linux/drivers/irqchip/
A Dirq-gic-v3-its-pci-msi.c36 int msi, msix, *count = data; in its_pci_msi_vec_count() local
39 msix = max(pci_msix_vec_count(pdev), 0); in its_pci_msi_vec_count()
40 *count += max(msi, msix); in its_pci_msi_vec_count()
/linux/arch/arm/boot/dts/
A Dalpine.dtsi164 msi-parent = <&msix>;
167 msix: msix@fbe00000 { label
168 compatible = "al,alpine-msix";
/linux/drivers/ntb/hw/amd/
A Dntb_hw_amd.c727 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/drivers/scsi/qla2xxx/
A Dqla_mid.c603 if (rsp->msix && rsp->msix->have_irq) { in qla25xx_free_rsp_que()
604 free_irq(rsp->msix->vector, rsp->msix->handle); in qla25xx_free_rsp_que()
605 rsp->msix->have_irq = 0; in qla25xx_free_rsp_que()
606 rsp->msix->in_use = 0; in qla25xx_free_rsp_que()
607 rsp->msix->handle = NULL; in qla25xx_free_rsp_que()
870 rsp->msix = qpair->msix; in qla25xx_create_rsp_que()
908 ret = qla25xx_request_irq(ha, qpair, qpair->msix, in qla25xx_create_rsp_que()
/linux/arch/arm64/boot/dts/amazon/
A Dalpine-v2.dtsi142 msi-parent = <&msix>;
145 msix: msix@fbe00000 { label
146 compatible = "al,alpine-msix";
A Dalpine-v3.dtsi348 msi-parent = <&msix>;
351 msix: msix@fbe00000 { label
352 compatible = "al,alpine-msix";
/linux/drivers/crypto/cavium/nitrox/
A Dnitrox_isr.c395 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/
A Dntb_hw_gen1.c387 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 …]

Completed in 64 milliseconds

1234