Lines Matching refs:hba

211 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba)
224 u16 max_xid = hba->max_xid;
243 cmgr->hba = hba;
273 num_pri_ios = num_ios - hba->elstm_xids;
318 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev,
339 struct bnx2fc_hba *hba = cmgr->hba;
342 u16 max_xid = hba->max_xid;
356 dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz,
398 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr;
468 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr;
548 struct bnx2fc_hba *hba = interface->hba;
554 dma_free_coherent(&hba->pcidev->dev, sz,
560 dma_free_coherent(&hba->pcidev->dev, sz,
566 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
572 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
585 struct bnx2fc_hba *hba = interface->hba;
598 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
607 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE,
620 mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
628 mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
760 interface->hba->task_ctx[task_idx];
896 interface->hba->task_ctx[task_idx];
972 interface->hba->task_ctx[task_idx];
1030 interface->hba->task_ctx[task_idx];
1654 struct bnx2fc_hba *hba = interface->hba;
1671 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc),
1731 struct bnx2fc_hba *hba = interface->hba;
1738 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc),
2031 struct bnx2fc_hba *hba = interface->hba;
2071 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx];