Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/virtio/
H A Dvirtio_pci_common.c178 u16 msix_vec) in vp_setup_vq() argument
190 msix_vec); in vp_setup_vq()
285 u16 msix_vec; in vp_find_vqs_msix() local
317 msix_vec = VIRTIO_MSI_NO_VECTOR; in vp_find_vqs_msix()
319 msix_vec = allocated_vectors++; in vp_find_vqs_msix()
321 msix_vec = VP_MSIX_VQ_VECTOR; in vp_find_vqs_msix()
324 msix_vec); in vp_find_vqs_msix()
330 if (!vp_dev->per_vq_vectors || msix_vec == VIRTIO_MSI_NO_VECTOR) in vp_find_vqs_msix()
334 snprintf(vp_dev->msix_names[msix_vec], in vp_find_vqs_msix()
338 err = request_irq(pci_irq_vector(vp_dev->pci_dev, msix_vec), in vp_find_vqs_msix()
[all …]
H A 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()
H A 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()
H A Dvirtio_pci_common.h103 u16 msix_vec);
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c640 synchronize_irq(creq->msix_vec); in bnxt_qplib_rcfw_stop_irq()
645 free_irq(creq->msix_vec, rcfw); in bnxt_qplib_rcfw_stop_irq()
672 creq->msix_vec = 0; in bnxt_qplib_disable_rcfw_channel()
686 creq->msix_vec = msix_vector; in bnxt_qplib_rcfw_start_irq()
691 rc = request_irq(creq->msix_vec, bnxt_qplib_creq_irq, 0, in bnxt_qplib_rcfw_start_irq()
H A Dqplib_rcfw.h173 int msix_vec; member
H A 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()
H A Dqplib_fp.h476 int msix_vec; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c1665 int msix_vec = 0, i, rc; in bnx2x_enable_msix() local
1669 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1672 msix_vec++; in bnx2x_enable_msix()
1677 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1679 msix_vec, bp->msix_table[msix_vec].entry); in bnx2x_enable_msix()
1680 msix_vec++; in bnx2x_enable_msix()
1685 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1687 msix_vec, msix_vec, i); in bnx2x_enable_msix()
1688 msix_vec++; in bnx2x_enable_msix()
1692 msix_vec); in bnx2x_enable_msix()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/goya/
H A DgoyaP.h221 u32 len, u64 cq_addr, u32 cq_val, u32 msix_vec,
H A Dgoya.c3977 u32 len, u64 cq_addr, u32 cq_val, u32 msix_vec, in goya_add_end_of_cb_packets() argument
3997 cq_pkt->value = cpu_to_le32(msix_vec & 0x7FF); in goya_add_end_of_cb_packets()