Lines Matching refs:hba

243 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba)
256 u16 max_xid = hba->max_xid;
291 cmgr->hba = hba;
305 num_pri_ios = num_ios - hba->elstm_xids;
350 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev,
371 struct bnx2fc_hba *hba = cmgr->hba;
374 u16 max_xid = hba->max_xid;
388 dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz,
430 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr;
500 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr;
582 struct bnx2fc_hba *hba = interface->hba;
588 dma_free_coherent(&hba->pcidev->dev, sz,
594 dma_free_coherent(&hba->pcidev->dev, sz,
600 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
606 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
619 struct bnx2fc_hba *hba = interface->hba;
628 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
637 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
650 mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
658 mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
792 interface->hba->task_ctx[task_idx];
929 interface->hba->task_ctx[task_idx];
1007 interface->hba->task_ctx[task_idx];
1067 interface->hba->task_ctx[task_idx];
1645 struct bnx2fc_hba *hba = interface->hba;
1661 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc),
1711 struct bnx2fc_hba *hba = interface->hba;
1718 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc),
2023 struct bnx2fc_hba *hba = interface->hba;
2066 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx];