Lines Matching defs:phwi_ctrlr
730 struct hwi_controller *phwi_ctrlr;
747 phwi_ctrlr = phba->phwi_ctrlr;
748 phwi_context = phwi_ctrlr->phwi_ctxt;
795 phwi_context = phba->phwi_ctrlr->phwi_ctxt;
806 struct hwi_controller *phwi_ctrlr;
810 phwi_ctrlr = phba->phwi_ctrlr;
811 phwi_context = phwi_ctrlr->phwi_ctxt;
988 struct hwi_controller *phwi_ctrlr;
991 phwi_ctrlr = phba->phwi_ctrlr;
992 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
1221 struct hwi_controller *phwi_ctrlr;
1226 phwi_ctrlr = phba->phwi_ctrlr;
1240 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
1331 struct hwi_controller *phwi_ctrlr;
1337 phwi_ctrlr = phba->phwi_ctrlr;
1343 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
1712 struct hwi_controller *phwi_ctrlr;
1718 phwi_ctrlr = phba->phwi_ctrlr;
1719 pasync_ctx = HWI_GET_ASYNC_PDU_CTX(phwi_ctrlr, ulp_num);
1723 ring_id = phwi_ctrlr->default_pdu_hdr[ulp_num].id;
1724 doorbell_offset = phwi_ctrlr->default_pdu_hdr[ulp_num].
1729 ring_id = phwi_ctrlr->default_pdu_data[ulp_num].id;
1730 doorbell_offset = phwi_ctrlr->default_pdu_data[ulp_num].
1770 struct hwi_controller *phwi_ctrlr;
1774 phwi_ctrlr = phba->phwi_ctrlr;
1776 ulp_num = BEISCSI_GET_ULP_FROM_CRI(phwi_ctrlr, cid_cri);
1777 pasync_ctx = HWI_GET_ASYNC_PDU_CTX(phwi_ctrlr, ulp_num);
2452 struct hwi_controller *phwi_ctrlr;
2457 phba->phwi_ctrlr = kzalloc(phba->params.hwi_ws_sz, GFP_KERNEL);
2458 if (!phba->phwi_ctrlr)
2462 phwi_ctrlr = phba->phwi_ctrlr;
2463 phwi_ctrlr->wrb_context = kcalloc(phba->params.cxns_per_ctrl,
2466 if (!phwi_ctrlr->wrb_context) {
2467 kfree(phba->phwi_ctrlr);
2474 kfree(phwi_ctrlr->wrb_context);
2475 kfree(phba->phwi_ctrlr);
2484 kfree(phwi_ctrlr->wrb_context);
2485 kfree(phba->phwi_ctrlr);
2560 kfree(phba->phwi_ctrlr->wrb_context);
2561 kfree(phba->phwi_ctrlr);
2601 struct hwi_controller *phwi_ctrlr;
2612 phwi_ctrlr = phba->phwi_ctrlr;
2615 phwi_ctxt = phwi_ctrlr->phwi_ctxt;
2626 pwrb_context = &phwi_ctrlr->wrb_context[index];
2672 pwrb_context = &phwi_ctrlr->wrb_context[index];
2693 pwrb_context = &phwi_ctrlr->wrb_context[j];
2704 struct hwi_controller *phwi_ctrlr;
2718 phwi_ctrlr = phba->phwi_ctrlr;
2719 phwi_ctrlr->phwi_ctxt->pasync_ctx[ulp_num] =
2723 pasync_ctx = phwi_ctrlr->phwi_ctxt->pasync_ctx[ulp_num];
3129 struct hwi_controller *phwi_ctrlr,
3181 struct hwi_controller *phwi_ctrlr,
3336 struct hwi_controller *phwi_ctrlr)
3418 &phwi_ctrlr->wrb_context[i],
3426 pwrb_context = &phwi_ctrlr->wrb_context[i];
3436 struct hwi_controller *phwi_ctrlr;
3439 phwi_ctrlr = phba->phwi_ctrlr;
3441 pwrb_context = &phwi_ctrlr->wrb_context[index];
3585 struct hwi_controller *phwi_ctrlr;
3595 phwi_ctrlr = phba->phwi_ctrlr;
3596 phwi_context = phwi_ctrlr->phwi_ctxt;
3623 struct hwi_controller *phwi_ctrlr;
3638 phwi_ctrlr = phba->phwi_ctrlr;
3639 phwi_context = phwi_ctrlr->phwi_ctxt;
3694 struct hwi_controller *phwi_ctrlr;
3701 phwi_ctrlr = phba->phwi_ctrlr;
3702 phwi_context = phwi_ctrlr->phwi_ctxt;
3737 phwi_ctrlr,
3748 phwi_ctrlr,
3781 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr);
3796 phwi_ctrlr, ulp_num);
3800 (phwi_ctrlr, cri))
3802 phwi_ctrlr->wrb_context[cri].cid] =
3821 struct hwi_controller *phwi_ctrlr;
3823 phwi_ctrlr = phba->phwi_ctrlr;
3825 phwi_ctrlr->phwi_ctxt = (struct hwi_context_memory *)phba->
3828 "BM_%d : phwi_ctrlr->phwi_ctxt=%p\n",
3829 phwi_ctrlr->phwi_ctxt);
3877 kfree(phba->phwi_ctrlr->wrb_context);
3878 kfree(phba->phwi_ctrlr);
4061 ulp_num = phba->phwi_ctrlr->wrb_context[i].ulp_num;
4065 phba->phwi_ctrlr->wrb_context[i].cid;
4098 struct hwi_controller *phwi_ctrlr;
4105 phwi_ctrlr = phba->phwi_ctrlr;
4106 phwi_context = phwi_ctrlr->phwi_ctxt;
4221 struct hwi_controller *phwi_ctrlr;
4225 phwi_ctrlr = phba->phwi_ctrlr;
4226 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
4262 struct hwi_controller *phwi_ctrlr;
4266 phwi_ctrlr = phba->phwi_ctrlr;
4267 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
4381 struct hwi_controller *phwi_ctrlr;
4507 phwi_ctrlr = phba->phwi_ctrlr;
4510 pwrb_context = &phwi_ctrlr->wrb_context[cri_index];
5198 struct hwi_controller *phwi_ctrlr;
5210 phwi_ctrlr = phba->phwi_ctrlr;
5211 phwi_context = phwi_ctrlr->phwi_ctxt;
5300 struct hwi_controller *phwi_ctrlr;
5338 phwi_ctrlr = phba->phwi_ctrlr;
5339 phwi_context = phwi_ctrlr->phwi_ctxt;
5398 struct hwi_controller *phwi_ctrlr;
5405 phwi_ctrlr = phba->phwi_ctrlr;
5406 phwi_context = phwi_ctrlr->phwi_ctxt;
5536 struct hwi_controller *phwi_ctrlr;
5666 phwi_ctrlr = phba->phwi_ctrlr;
5667 phwi_context = phwi_ctrlr->phwi_ctxt;