Lines Matching refs:hba

243 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba)  in bnx2fc_cmd_mgr_alloc()  argument
256 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_alloc()
291 cmgr->hba = hba; in bnx2fc_cmd_mgr_alloc()
305 num_pri_ios = num_ios - hba->elstm_xids; in bnx2fc_cmd_mgr_alloc()
350 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
371 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local
374 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_free()
388 dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz, in bnx2fc_cmd_mgr_free()
430 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_elstm_alloc()
500 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_cmd_alloc()
582 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc() local
588 dma_free_coherent(&hba->pcidev->dev, sz, in bnx2fc_free_mp_resc()
594 dma_free_coherent(&hba->pcidev->dev, sz, in bnx2fc_free_mp_resc()
600 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
606 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
619 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req() local
628 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
637 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
650 mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
658 mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
792 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf()
929 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts()
1007 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup()
1067 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_cleanup()
1645 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_sg() local
1661 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg()
1711 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_unmap_sg_list() local
1718 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_unmap_sg_list()
2007 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_post_io_req() local
2050 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx]; in bnx2fc_post_io_req()