Searched refs:lcq_mem_size (Results 1 – 2 of 2) sorted by relevance
807 tgt->lcq_mem_size = (tgt->max_sqes + 8) * BNX2FC_SQ_WQE_SIZE; in bnx2fc_alloc_session_resc()808 tgt->lcq_mem_size = (tgt->lcq_mem_size + (PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()811 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()816 tgt->lcq_mem_size); in bnx2fc_alloc_session_resc()819 memset(tgt->lcq, 0, tgt->lcq_mem_size); in bnx2fc_alloc_session_resc()850 dma_free_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_free_session_resc()
358 u32 lcq_mem_size; member