Home
last modified time | relevance | path

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

/linux-4.4.14/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.h112 u16 msix_vec);
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1672 int msix_vec = 0, i, rc; in bnx2x_enable_msix() local
1676 bp->msix_table[msix_vec].entry = msix_vec; 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, bp->msix_table[msix_vec].entry); in bnx2x_enable_msix()
1687 msix_vec++; in bnx2x_enable_msix()
1692 bp->msix_table[msix_vec].entry = msix_vec; in bnx2x_enable_msix()
1694 msix_vec, msix_vec, i); in bnx2x_enable_msix()
1695 msix_vec++; in bnx2x_enable_msix()
1699 msix_vec); in bnx2x_enable_msix()
[all …]
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c1006 int ret, msix_vec, i, j; in beiscsi_init_irqs() local
1022 msix_vec = phba->msix_entries[i].vector; in beiscsi_init_irqs()
1023 ret = request_irq(msix_vec, be_isr_msix, 0, in beiscsi_init_irqs()
1042 msix_vec = phba->msix_entries[i].vector; in beiscsi_init_irqs()
1043 ret = request_irq(msix_vec, be_isr_mcc, 0, phba->msi_name[i], in beiscsi_init_irqs()
1067 msix_vec = phba->msix_entries[j].vector; in beiscsi_init_irqs()
1068 free_irq(msix_vec, &phwi_context->be_eq[j]); in beiscsi_init_irqs()
5275 unsigned int i, msix_vec; in beiscsi_quiesce() local
5282 msix_vec = phba->msix_entries[i].vector; in beiscsi_quiesce()
5283 synchronize_irq(msix_vec); in beiscsi_quiesce()
[all …]