Searched refs:sq_mem_size (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 671 tgt->sq_mem_size = tgt->max_sqes * BNX2FC_SQ_WQE_SIZE; in bnx2fc_alloc_session_resc() 672 tgt->sq_mem_size = (tgt->sq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc() 675 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc() 679 tgt->sq_mem_size); in bnx2fc_alloc_session_resc() 682 memset(tgt->sq, 0, tgt->sq_mem_size); in bnx2fc_alloc_session_resc() 896 dma_free_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_free_session_resc()
|
D | bnx2fc.h | 322 u32 sq_mem_size; member
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 964 num_pages = ep->qp.sq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables() 1067 ep->qp.sq_mem_size = hba->max_sqes * BNX2I_SQ_WQE_SIZE; in bnx2i_alloc_qp_resc() 1068 ep->qp.sq_mem_size = in bnx2i_alloc_qp_resc() 1069 (ep->qp.sq_mem_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2i_alloc_qp_resc() 1071 (ep->qp.sq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc() 1086 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, in bnx2i_alloc_qp_resc() 1090 ep->qp.sq_mem_size); in bnx2i_alloc_qp_resc() 1094 memset(ep->qp.sq_virt, 0x00, ep->qp.sq_mem_size); in bnx2i_alloc_qp_resc() 1214 dma_free_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, in bnx2i_free_qp_resc()
|
D | bnx2i.h | 636 u32 sq_mem_size; member
|