Lines Matching refs:intr_info
83 if (!mrioc->intr_info) in mpi3mr_cleanup_isr()
88 (mrioc->intr_info + i)); in mpi3mr_cleanup_isr()
90 kfree(mrioc->intr_info); in mpi3mr_cleanup_isr()
91 mrioc->intr_info = NULL; in mpi3mr_cleanup_isr()
642 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_primary() local
647 if (!intr_info) in mpi3mr_isr_primary()
650 mrioc = intr_info->mrioc; in mpi3mr_isr_primary()
655 midx = intr_info->msix_index; in mpi3mr_isr_primary()
659 if (intr_info->op_reply_q) in mpi3mr_isr_primary()
661 intr_info->op_reply_q); in mpi3mr_isr_primary()
673 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr() local
676 if (!intr_info) in mpi3mr_isr()
686 if (!intr_info->op_reply_q) in mpi3mr_isr()
689 if (!intr_info->op_reply_q->enable_irq_poll || in mpi3mr_isr()
690 !atomic_read(&intr_info->op_reply_q->pend_ios)) in mpi3mr_isr()
693 disable_irq_nosync(intr_info->os_irq); in mpi3mr_isr()
710 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_poll() local
715 if (!intr_info || !intr_info->op_reply_q) in mpi3mr_isr_poll()
718 mrioc = intr_info->mrioc; in mpi3mr_isr_poll()
719 midx = intr_info->msix_index; in mpi3mr_isr_poll()
728 if (intr_info->op_reply_q) in mpi3mr_isr_poll()
731 intr_info->op_reply_q); in mpi3mr_isr_poll()
735 } while (atomic_read(&intr_info->op_reply_q->pend_ios) && in mpi3mr_isr_poll()
738 intr_info->op_reply_q->enable_irq_poll = false; in mpi3mr_isr_poll()
739 enable_irq(intr_info->os_irq); in mpi3mr_isr_poll()
758 struct mpi3mr_intr_info *intr_info = mrioc->intr_info + index; in mpi3mr_request_irq() local
761 intr_info->mrioc = mrioc; in mpi3mr_request_irq()
762 intr_info->msix_index = index; in mpi3mr_request_irq()
763 intr_info->op_reply_q = NULL; in mpi3mr_request_irq()
765 snprintf(intr_info->name, MPI3MR_NAME_LENGTH, "%s%d-msix%d", in mpi3mr_request_irq()
770 mpi3mr_isr_poll, IRQF_SHARED, intr_info->name, intr_info); in mpi3mr_request_irq()
773 NULL, IRQF_SHARED, intr_info->name, intr_info); in mpi3mr_request_irq()
777 intr_info->name, pci_irq_vector(pdev, index)); in mpi3mr_request_irq()
781 intr_info->os_irq = pci_irq_vector(pdev, index); in mpi3mr_request_irq()
882 mrioc->intr_info = kzalloc(sizeof(struct mpi3mr_intr_info) * max_vectors, in mpi3mr_setup_isr()
884 if (!mrioc->intr_info) { in mpi3mr_setup_isr()
1966 mrioc->intr_info[midx].op_reply_q = NULL; in mpi3mr_delete_op_reply_q()
2170 cpu_to_le16(mrioc->intr_info[midx].msix_index); in mpi3mr_create_op_reply_q()
2218 mrioc->intr_info[midx].op_reply_q = op_reply_q; in mpi3mr_create_op_reply_q()
2456 mpi3mr_process_op_reply_q(mrioc, mrioc->intr_info[midx].op_reply_q); in mpi3mr_op_request_post()
4728 struct mpi3mr_intr_info *intr_info; in mpi3mr_free_mem() local
4775 intr_info = mrioc->intr_info + i; in mpi3mr_free_mem()
4776 intr_info->op_reply_q = NULL; in mpi3mr_free_mem()