Lines Matching refs:base_qpair
426 rsp->qpair = ha->base_qpair; in qla_init_base_qpair()
428 ha->base_qpair->hw = ha; in qla_init_base_qpair()
429 ha->base_qpair->req = req; in qla_init_base_qpair()
430 ha->base_qpair->rsp = rsp; in qla_init_base_qpair()
431 ha->base_qpair->vha = vha; in qla_init_base_qpair()
432 ha->base_qpair->qp_lock_ptr = &ha->hardware_lock; in qla_init_base_qpair()
433 ha->base_qpair->use_shadow_reg = IS_SHADOW_REG_CAPABLE(ha) ? 1 : 0; in qla_init_base_qpair()
434 ha->base_qpair->msix = &ha->msix_entries[QLA_MSIX_RSP_Q]; in qla_init_base_qpair()
435 ha->base_qpair->srb_mempool = ha->srb_mempool; in qla_init_base_qpair()
436 INIT_LIST_HEAD(&ha->base_qpair->hints_list); in qla_init_base_qpair()
437 INIT_LIST_HEAD(&ha->base_qpair->dsd_list); in qla_init_base_qpair()
438 ha->base_qpair->enable_class_2 = ql2xenableclass2; in qla_init_base_qpair()
441 ha->base_qpair->pdev = ha->pdev; in qla_init_base_qpair()
444 ha->base_qpair->reqq_start_iocbs = qla_83xx_start_iocbs; in qla_init_base_qpair()
468 ha->base_qpair = kzalloc(sizeof(struct qla_qpair), GFP_KERNEL); in qla2x00_alloc_queues()
469 if (ha->base_qpair == NULL) { in qla2x00_alloc_queues()
503 kfree(ha->base_qpair); in qla2x00_alloc_queues()
504 ha->base_qpair = NULL; in qla2x00_alloc_queues()
559 if (ha->base_qpair) { in qla2x00_free_queues()
560 kfree(ha->base_qpair); in qla2x00_free_queues()
561 ha->base_qpair = NULL; in qla2x00_free_queues()
966 qla2xxx_init_sp(sp, vha, vha->hw->base_qpair, fcport); in qla2xxx_queuecommand()
1429 status = __qla2x00_eh_wait_for_pending_commands(ha->base_qpair, t, l, in qla2x00_eh_wait_for_pending_commands()
1922 if (!ha->base_qpair) in qla2x00_abort_all_cmds()
1924 __qla2x00_abort_all_cmds(ha->base_qpair, res); in qla2x00_abort_all_cmds()
4963 if (ha->base_qpair && !list_empty(&ha->base_qpair->dsd_list)) { in qla2x00_mem_free()
4968 &ha->base_qpair->dsd_list, list) { in qla2x00_mem_free()
5393 fcport->chip_reset = vha->hw->base_qpair->chip_reset; in qla24xx_create_new_sess()
7297 cmpl_cnt = ha->base_qpair->cmd_completion_cnt; in qla_do_heartbeat()
7298 if (cmpl_cnt == ha->base_qpair->prev_completion_cnt && in qla_do_heartbeat()
7299 cmpl_cnt != ha->base_qpair->cmd_cnt) { in qla_do_heartbeat()
7303 ha->base_qpair->prev_completion_cnt = cmpl_cnt; in qla_do_heartbeat()
7738 ha->base_qpair->chip_reset = ha->chip_reset; in qla_pci_error_cleanup()
7742 ha->base_qpair->chip_reset; in qla_pci_error_cleanup()
7751 ha->base_qpair->online = 0; in qla_pci_error_cleanup()