Searched refs:sq_mem_size (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 668 tgt->sq_mem_size = tgt->max_sqes * BNX2FC_SQ_WQE_SIZE; in bnx2fc_alloc_session_resc() 669 tgt->sq_mem_size = (tgt->sq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc() 672 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc() 676 tgt->sq_mem_size); in bnx2fc_alloc_session_resc() 885 dma_free_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_free_session_resc()
|
H A D | bnx2fc.h | 323 u32 sq_mem_size; member
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.h | 92 u32 sq_mem_size; member
|
H A D | qedi_main.c | 1768 ep->sq_mem_size = QEDI_SQ_SIZE * sizeof(struct iscsi_wqe); in qedi_alloc_sq() 1769 ep->sq_mem_size += QEDI_PAGE_SIZE - 1; in qedi_alloc_sq() 1771 ep->sq_pbl_size = (ep->sq_mem_size / QEDI_PAGE_SIZE) * sizeof(void *); in qedi_alloc_sq() 1774 ep->sq = dma_alloc_coherent(&qedi->pdev->dev, ep->sq_mem_size, in qedi_alloc_sq() 1792 num_pages = ep->sq_mem_size / QEDI_PAGE_SIZE; in qedi_alloc_sq() 1807 dma_free_coherent(&qedi->pdev->dev, ep->sq_mem_size, ep->sq, in qedi_alloc_sq() 1819 dma_free_coherent(&qedi->pdev->dev, ep->sq_mem_size, ep->sq, in qedi_free_sq()
|
/linux/drivers/scsi/qedf/ |
H A D | qedf_main.c | 1262 fcport->sq_mem_size = SQ_NUM_ENTRIES * sizeof(struct fcoe_wqe); in qedf_alloc_sq() 1263 fcport->sq_mem_size = ALIGN(fcport->sq_mem_size, QEDF_PAGE_SIZE); in qedf_alloc_sq() 1264 fcport->sq_pbl_size = (fcport->sq_mem_size / QEDF_PAGE_SIZE) * in qedf_alloc_sq() 1268 fcport->sq = dma_alloc_coherent(&qedf->pdev->dev, fcport->sq_mem_size, in qedf_alloc_sq() 1286 num_pages = fcport->sq_mem_size / QEDF_PAGE_SIZE; in qedf_alloc_sq() 1301 dma_free_coherent(&qedf->pdev->dev, fcport->sq_mem_size, fcport->sq, in qedf_alloc_sq() 1313 dma_free_coherent(&qedf->pdev->dev, fcport->sq_mem_size, in qedf_free_sq() 1323 uint16_t total_sqe = (fcport->sq_mem_size / sizeof(struct fcoe_wqe)); in qedf_offload_connection() 3174 u32 sq_mem_size; in qedf_set_fcoe_pf_param() local 3208 sq_mem_size = SQ_NUM_ENTRIES * sizeof(struct fcoe_wqe); in qedf_set_fcoe_pf_param() [all …]
|
H A D | qedf_io.c | 764 uint16_t total_sqe = (fcport->sq_mem_size)/(sizeof(struct fcoe_wqe)); in qedf_get_sqe_idx()
|
/linux/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 949 num_pages = ep->qp.sq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables() 1052 ep->qp.sq_mem_size = hba->max_sqes * BNX2I_SQ_WQE_SIZE; in bnx2i_alloc_qp_resc() 1053 ep->qp.sq_mem_size = in bnx2i_alloc_qp_resc() 1054 (ep->qp.sq_mem_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2i_alloc_qp_resc() 1056 (ep->qp.sq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc() 1071 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, in bnx2i_alloc_qp_resc() 1075 ep->qp.sq_mem_size); in bnx2i_alloc_qp_resc() 1197 dma_free_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, in bnx2i_free_qp_resc()
|
H A D | bnx2i.h | 636 u32 sq_mem_size; member
|