Home
last modified time | relevance | path

Searched refs:cq_mem_size (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c684 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
685 tgt->cq_mem_size = (tgt->cq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
688 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc()
692 tgt->cq_mem_size); in bnx2fc_alloc_session_resc()
883 dma_free_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_free_session_resc()
Dbnx2fc.h332 u32 cq_mem_size; member
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_verbs.h113 u32 cq_mem_size; member
Di40iw_verbs.c1147 iwcq->cq_mem_size = 0; in i40iw_create_cq()
/Linux-v5.4/drivers/scsi/qedf/
Dqedf_main.c2666 qedf->global_queues[id]->cq_mem_size / in qedf_prepare_sb()
2808 gl[i]->cq_mem_size, gl[i]->cq, gl[i]->cq_dma); in qedf_free_global_queues()
2952 qedf->global_queues[i]->cq_mem_size = in qedf_alloc_global_queues()
2954 qedf->global_queues[i]->cq_mem_size = in qedf_alloc_global_queues()
2955 ALIGN(qedf->global_queues[i]->cq_mem_size, QEDF_PAGE_SIZE); in qedf_alloc_global_queues()
2958 (qedf->global_queues[i]->cq_mem_size / in qedf_alloc_global_queues()
2965 qedf->global_queues[i]->cq_mem_size, in qedf_alloc_global_queues()
2988 num_pages = qedf->global_queues[i]->cq_mem_size / in qedf_alloc_global_queues()
3034 u32 cq_mem_size; in qedf_set_fcoe_pf_param() local
3072 cq_mem_size = FCOE_PARAMS_CQ_NUM_ENTRIES * sizeof(struct fcoe_cqe); in qedf_set_fcoe_pf_param()
[all …]
Dqedf.h267 u32 cq_mem_size; member
/Linux-v5.4/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1004 num_pages = ep->qp.cq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
1087 ep->qp.cq_mem_size = hba->max_cqes * BNX2I_CQE_SIZE; in bnx2i_alloc_qp_resc()
1088 ep->qp.cq_mem_size = in bnx2i_alloc_qp_resc()
1089 (ep->qp.cq_mem_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2i_alloc_qp_resc()
1091 (ep->qp.cq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc()
1106 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, in bnx2i_alloc_qp_resc()
1110 ep->qp.cq_mem_size); in bnx2i_alloc_qp_resc()
1224 dma_free_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, in bnx2i_free_qp_resc()
Dbnx2i.h652 u32 cq_mem_size; member
/Linux-v5.4/drivers/scsi/qedi/
Dqedi.h157 u32 cq_mem_size; member
Dqedi_main.c1455 dma_free_coherent(&qedi->pdev->dev, gl[i]->cq_mem_size, in qedi_free_global_queues()
1611 qedi->global_queues[i]->cq_mem_size = in qedi_alloc_global_queues()
1613 qedi->global_queues[i]->cq_mem_size = in qedi_alloc_global_queues()
1614 (qedi->global_queues[i]->cq_mem_size + in qedi_alloc_global_queues()
1618 (qedi->global_queues[i]->cq_mem_size / in qedi_alloc_global_queues()
1625 qedi->global_queues[i]->cq_mem_size, in qedi_alloc_global_queues()
1648 num_pages = qedi->global_queues[i]->cq_mem_size / in qedi_alloc_global_queues()