Home
last modified time | relevance | path

Searched refs:msix_vec (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/virtio/
Dvirtio_pci_legacy.c119 u16 msix_vec) in setup_vq() argument
134 info->msix_vector = msix_vec; in setup_vq()
158 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
159 iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
160 msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
161 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.c178 u16 msix_vec) in vp_setup_vq() argument
190 msix_vec); in vp_setup_vq()
286 u16 msix_vec; in vp_find_vqs_msix() local
318 msix_vec = VIRTIO_MSI_NO_VECTOR; in vp_find_vqs_msix()
320 msix_vec = allocated_vectors++; in vp_find_vqs_msix()
322 msix_vec = VP_MSIX_VQ_VECTOR; in vp_find_vqs_msix()
325 msix_vec); in vp_find_vqs_msix()
331 if (!vp_dev->per_vq_vectors || msix_vec == VIRTIO_MSI_NO_VECTOR) in vp_find_vqs_msix()
335 snprintf(vp_dev->msix_names[msix_vec], in vp_find_vqs_msix()
339 err = request_irq(pci_irq_vector(vp_dev->pci_dev, msix_vec), in vp_find_vqs_msix()
[all …]
Dvirtio_pci_modern.c313 u16 msix_vec) in setup_vq() argument
339 info->msix_vector = msix_vec; in setup_vq()
384 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
385 vp_iowrite16(msix_vec, &cfg->queue_msix_vector); in setup_vq()
386 msix_vec = vp_ioread16(&cfg->queue_msix_vector); in setup_vq()
387 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.h103 u16 msix_vec);
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_main.c262 struct i40iw_msix_vector *msix_vec, in i40iw_disable_irq() argument
266 i40iw_wr32(dev->hw, I40E_PFINT_DYN_CTLN(msix_vec->idx - 1), 0); in i40iw_disable_irq()
268 i40iw_wr32(dev->hw, I40E_VFINT_DYN_CTLN1(msix_vec->idx - 1), 0); in i40iw_disable_irq()
269 irq_set_affinity_hint(msix_vec->irq, NULL); in i40iw_disable_irq()
270 free_irq(msix_vec->irq, dev_id); in i40iw_disable_irq()
343 struct i40iw_msix_vector *msix_vec = iwdev->iw_msixtbl; in i40iw_dele_ceqs() local
346 i40iw_disable_irq(dev, msix_vec, (void *)iwdev); in i40iw_dele_ceqs()
352 for (msix_vec++; i < iwdev->ceqs_count; i++, msix_vec++, iwceq++) { in i40iw_dele_ceqs()
353 i40iw_disable_irq(dev, msix_vec, (void *)iwceq); in i40iw_dele_ceqs()
683 struct i40iw_msix_vector *msix_vec) in i40iw_configure_ceq_vector() argument
[all …]
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c642 synchronize_irq(creq->msix_vec); in bnxt_qplib_rcfw_stop_irq()
647 free_irq(creq->msix_vec, rcfw); in bnxt_qplib_rcfw_stop_irq()
674 creq->msix_vec = 0; in bnxt_qplib_disable_rcfw_channel()
688 creq->msix_vec = msix_vector; in bnxt_qplib_rcfw_start_irq()
693 rc = request_irq(creq->msix_vec, bnxt_qplib_creq_irq, 0, in bnxt_qplib_rcfw_start_irq()
Dqplib_rcfw.h174 int msix_vec; member
Dqplib_fp.c411 synchronize_irq(nq->msix_vec); in bnxt_qplib_nq_stop_irq()
415 irq_set_affinity_hint(nq->msix_vec, NULL); in bnxt_qplib_nq_stop_irq()
416 free_irq(nq->msix_vec, nq); in bnxt_qplib_nq_stop_irq()
438 nq->msix_vec = 0; in bnxt_qplib_disable_nq()
449 nq->msix_vec = msix_vector; in bnxt_qplib_nq_start_irq()
456 rc = request_irq(nq->msix_vec, bnxt_qplib_nq_irq, 0, nq->name, nq); in bnxt_qplib_nq_start_irq()
462 rc = irq_set_affinity_hint(nq->msix_vec, &nq->mask); in bnxt_qplib_nq_start_irq()
466 nq->msix_vec, nq_indx); in bnxt_qplib_nq_start_irq()
Dqplib_fp.h476 int msix_vec; member
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1664 int msix_vec = 0, i, rc; in bnx2x_enable_msix() local
1668 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1671 msix_vec++; in bnx2x_enable_msix()
1676 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1678 msix_vec, bp->msix_table[msix_vec].entry); in bnx2x_enable_msix()
1679 msix_vec++; in bnx2x_enable_msix()
1684 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1686 msix_vec, msix_vec, i); in bnx2x_enable_msix()
1687 msix_vec++; in bnx2x_enable_msix()
1691 msix_vec); in bnx2x_enable_msix()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/goya/
DgoyaP.h221 u32 len, u64 cq_addr, u32 cq_val, u32 msix_vec,
Dgoya.c3975 u32 len, u64 cq_addr, u32 cq_val, u32 msix_vec, in goya_add_end_of_cb_packets() argument
3995 cq_pkt->value = cpu_to_le32(msix_vec & 0x7FF); in goya_add_end_of_cb_packets()