Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c696 tgt->rq_mem_size = tgt->max_rqes * BNX2FC_RQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
697 tgt->rq_mem_size = (tgt->rq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
700 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
704 tgt->rq_mem_size); in bnx2fc_alloc_session_resc()
708 tgt->rq_pbl_size = (tgt->rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
720 num_pages = tgt->rq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
876 dma_free_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_free_session_resc()
Dbnx2fc.h335 u32 rq_mem_size; member
/linux-6.6.21/drivers/scsi/bnx2i/
Dbnx2i_hwi.c977 num_pages = ep->qp.rq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
1130 ep->qp.rq_mem_size = hba->max_rqes * BNX2I_RQ_WQE_SIZE; in bnx2i_alloc_qp_resc()
1131 ep->qp.rq_mem_size = in bnx2i_alloc_qp_resc()
1132 (ep->qp.rq_mem_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2i_alloc_qp_resc()
1134 (ep->qp.rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc()
1149 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, in bnx2i_alloc_qp_resc()
1153 ep->qp.rq_mem_size); in bnx2i_alloc_qp_resc()
1211 dma_free_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, in bnx2i_free_qp_resc()
Dbnx2i.h670 u32 rq_mem_size; member