Home
last modified time | relevance | path

Searched refs:rq_mem_size (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c705 tgt->rq_mem_size = tgt->max_rqes * BNX2FC_RQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
706 tgt->rq_mem_size = (tgt->rq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
709 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
713 tgt->rq_mem_size); in bnx2fc_alloc_session_resc()
716 memset(tgt->rq, 0, tgt->rq_mem_size); in bnx2fc_alloc_session_resc()
718 tgt->rq_pbl_size = (tgt->rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
731 num_pages = tgt->rq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
890 dma_free_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_free_session_resc()
Dbnx2fc.h335 u32 rq_mem_size; member
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c992 num_pages = ep->qp.rq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
1147 ep->qp.rq_mem_size = hba->max_rqes * BNX2I_RQ_WQE_SIZE; in bnx2i_alloc_qp_resc()
1148 ep->qp.rq_mem_size = in bnx2i_alloc_qp_resc()
1149 (ep->qp.rq_mem_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2i_alloc_qp_resc()
1151 (ep->qp.rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc()
1166 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, in bnx2i_alloc_qp_resc()
1170 ep->qp.rq_mem_size); in bnx2i_alloc_qp_resc()
1228 dma_free_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, in bnx2i_free_qp_resc()
Dbnx2i.h670 u32 rq_mem_size; member