Lines Matching refs:hba

198 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba)  in bnx2fc_cmd_mgr_alloc()  argument
211 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_alloc()
246 cmgr->hba = hba; in bnx2fc_cmd_mgr_alloc()
260 num_pri_ios = num_ios - hba->elstm_xids; in bnx2fc_cmd_mgr_alloc()
305 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
326 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local
329 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_free()
343 dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz, in bnx2fc_cmd_mgr_free()
385 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_elstm_alloc()
455 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_cmd_alloc()
537 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc() local
543 dma_free_coherent(&hba->pcidev->dev, sz, in bnx2fc_free_mp_resc()
549 dma_free_coherent(&hba->pcidev->dev, sz, in bnx2fc_free_mp_resc()
555 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
561 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
574 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req() local
587 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
596 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
609 mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
617 mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
751 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf()
888 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts()
966 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup()
1026 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_cleanup()
1584 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_sg() local
1600 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg()
1650 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_unmap_sg_list() local
1657 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_unmap_sg_list()
1949 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_post_io_req() local
1992 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx]; in bnx2fc_post_io_req()