Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/virtio/
Dvirtio_pci_legacy.c119 u16 msix_vec) in setup_vq() argument
135 info->msix_vector = msix_vec; in setup_vq()
157 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
158 iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
159 msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
160 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.c228 u16 msix_vec) in vp_setup_vq() argument
239 vq = vp_dev->setup_vq(vp_dev, info, index, callback, name, msix_vec); in vp_setup_vq()
304 u16 msix_vec; in vp_try_to_find_vqs() local
340 msix_vec = VIRTIO_MSI_NO_VECTOR; in vp_try_to_find_vqs()
342 msix_vec = allocated_vectors++; in vp_try_to_find_vqs()
344 msix_vec = VP_MSIX_VQ_VECTOR; in vp_try_to_find_vqs()
345 vqs[i] = vp_setup_vq(vdev, i, callbacks[i], names[i], msix_vec); in vp_try_to_find_vqs()
351 if (!vp_dev->per_vq_vectors || msix_vec == VIRTIO_MSI_NO_VECTOR) in vp_try_to_find_vqs()
355 snprintf(vp_dev->msix_names[msix_vec], in vp_try_to_find_vqs()
359 err = request_irq(vp_dev->msix_entries[msix_vec].vector, in vp_try_to_find_vqs()
[all …]
Dvirtio_pci_modern.c325 u16 msix_vec) in setup_vq() argument
352 info->msix_vector = msix_vec; in setup_vq()
402 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
403 vp_iowrite16(msix_vec, &cfg->queue_msix_vector); in setup_vq()
404 msix_vec = vp_ioread16(&cfg->queue_msix_vector); in setup_vq()
405 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
Dvirtio_pci_common.h110 u16 msix_vec);
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1652 int msix_vec = 0, i, rc; in bnx2x_enable_msix() local
1656 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1659 msix_vec++; in bnx2x_enable_msix()
1664 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1666 msix_vec, bp->msix_table[msix_vec].entry); in bnx2x_enable_msix()
1667 msix_vec++; in bnx2x_enable_msix()
1672 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1674 msix_vec, msix_vec, i); in bnx2x_enable_msix()
1675 msix_vec++; in bnx2x_enable_msix()
1679 msix_vec); in bnx2x_enable_msix()
[all …]
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_main.c994 int ret, msix_vec, i, j; in beiscsi_init_irqs() local
1010 msix_vec = phba->msix_entries[i].vector; in beiscsi_init_irqs()
1011 ret = request_irq(msix_vec, be_isr_msix, 0, in beiscsi_init_irqs()
1030 msix_vec = phba->msix_entries[i].vector; in beiscsi_init_irqs()
1031 ret = request_irq(msix_vec, be_isr_mcc, 0, phba->msi_name[i], in beiscsi_init_irqs()
1055 msix_vec = phba->msix_entries[j].vector; in beiscsi_init_irqs()
1056 free_irq(msix_vec, &phwi_context->be_eq[j]); in beiscsi_init_irqs()
5207 unsigned int i, msix_vec; in beiscsi_quiesce() local
5214 msix_vec = phba->msix_entries[i].vector; in beiscsi_quiesce()
5215 synchronize_irq(msix_vec); in beiscsi_quiesce()
[all …]