Searched refs:rq_mem_size (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 696 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()
|
H A D | bnx2fc.h | 338 u32 rq_mem_size; member
|
/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 696 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()
|
H A D | bnx2fc.h | 335 u32 rq_mem_size; member
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 977 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()
|
H A D | bnx2i.h | 610 * @rq_mem_size: RQ size 670 u32 rq_mem_size; member
|
/kernel/linux/linux-6.6/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 977 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()
|
H A D | bnx2i.h | 610 * @rq_mem_size: RQ size 670 u32 rq_mem_size; member
|
Completed in 14 milliseconds