Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/virtio/
Dvirtio_pci_legacy.c120 u16 msix_vec) in setup_vq() argument
135 info->msix_vector = msix_vec; in setup_vq()
159 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
160 iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
161 msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
162 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.c181 u16 msix_vec) in vp_setup_vq() argument
193 msix_vec); in vp_setup_vq()
287 u16 msix_vec; in vp_find_vqs_msix() local
319 msix_vec = VIRTIO_MSI_NO_VECTOR; in vp_find_vqs_msix()
321 msix_vec = allocated_vectors++; in vp_find_vqs_msix()
323 msix_vec = VP_MSIX_VQ_VECTOR; in vp_find_vqs_msix()
326 msix_vec); in vp_find_vqs_msix()
332 if (!vp_dev->per_vq_vectors || msix_vec == VIRTIO_MSI_NO_VECTOR) in vp_find_vqs_msix()
336 snprintf(vp_dev->msix_names[msix_vec], in vp_find_vqs_msix()
340 err = request_irq(pci_irq_vector(vp_dev->pci_dev, msix_vec), in vp_find_vqs_msix()
[all …]
Dvirtio_pci_modern.c315 u16 msix_vec) in setup_vq() argument
341 info->msix_vector = msix_vec; in setup_vq()
386 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
387 vp_iowrite16(msix_vec, &cfg->queue_msix_vector); in setup_vq()
388 msix_vec = vp_ioread16(&cfg->queue_msix_vector); in setup_vq()
389 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.h106 u16 msix_vec);
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_main.c266 struct i40iw_msix_vector *msix_vec, in i40iw_disable_irq() argument
270 i40iw_wr32(dev->hw, I40E_PFINT_DYN_CTLN(msix_vec->idx - 1), 0); in i40iw_disable_irq()
272 i40iw_wr32(dev->hw, I40E_VFINT_DYN_CTLN1(msix_vec->idx - 1), 0); in i40iw_disable_irq()
273 irq_set_affinity_hint(msix_vec->irq, NULL); in i40iw_disable_irq()
274 free_irq(msix_vec->irq, dev_id); in i40iw_disable_irq()
347 struct i40iw_msix_vector *msix_vec = iwdev->iw_msixtbl; in i40iw_dele_ceqs() local
350 i40iw_disable_irq(dev, msix_vec, (void *)iwdev); in i40iw_dele_ceqs()
356 for (msix_vec++; i < iwdev->ceqs_count; i++, msix_vec++, iwceq++) { in i40iw_dele_ceqs()
357 i40iw_disable_irq(dev, msix_vec, (void *)iwceq); in i40iw_dele_ceqs()
687 struct i40iw_msix_vector *msix_vec) in i40iw_configure_ceq_vector() argument
[all …]
Di40iw_verbs.c2730 struct i40iw_msix_vector *msix_vec; in i40iw_get_vector_affinity() local
2733 msix_vec = &iwdev->iw_msixtbl[comp_vector]; in i40iw_get_vector_affinity()
2735 msix_vec = &iwdev->iw_msixtbl[comp_vector + 1]; in i40iw_get_vector_affinity()
2737 return irq_get_affinity_mask(msix_vec->irq); in i40iw_get_vector_affinity()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1661 int msix_vec = 0, i, rc; in bnx2x_enable_msix() local
1665 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1668 msix_vec++; in bnx2x_enable_msix()
1673 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1675 msix_vec, bp->msix_table[msix_vec].entry); in bnx2x_enable_msix()
1676 msix_vec++; in bnx2x_enable_msix()
1681 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1683 msix_vec, msix_vec, i); in bnx2x_enable_msix()
1684 msix_vec++; in bnx2x_enable_msix()
1688 msix_vec); in bnx2x_enable_msix()
[all …]