Lines Matching refs:msix_vec
360 u16 msix_vec) in setup_vq() argument
385 info->msix_vector = msix_vec; in setup_vq()
409 if (msix_vec != VIRTIO_MSI_NO_VECTOR) { in setup_vq()
410 iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
411 msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
412 if (msix_vec == VIRTIO_MSI_NO_VECTOR) { in setup_vq()
491 u16 msix_vec; in vp_try_to_find_vqs() local
520 msix_vec = VIRTIO_MSI_NO_VECTOR; in vp_try_to_find_vqs()
522 msix_vec = allocated_vectors++; in vp_try_to_find_vqs()
524 msix_vec = VP_MSIX_VQ_VECTOR; in vp_try_to_find_vqs()
525 vqs[i] = setup_vq(vdev, i, callbacks[i], names[i], msix_vec); in vp_try_to_find_vqs()
531 if (!vp_dev->per_vq_vectors || msix_vec == VIRTIO_MSI_NO_VECTOR) in vp_try_to_find_vqs()
535 snprintf(vp_dev->msix_names[msix_vec], in vp_try_to_find_vqs()
539 err = request_irq(vp_dev->msix_entries[msix_vec].vector, in vp_try_to_find_vqs()
541 vp_dev->msix_names[msix_vec], in vp_try_to_find_vqs()