Home
last modified time | relevance | path

Searched refs:CNIC_PAGE_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c669 tgt->sq_mem_size = (tgt->sq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
682 tgt->cq_mem_size = (tgt->cq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
695 tgt->rq_mem_size = (tgt->rq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
706 tgt->rq_pbl_size = (tgt->rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
707 tgt->rq_pbl_size = (tgt->rq_pbl_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
718 num_pages = tgt->rq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
727 page += CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
732 tgt->xferq_mem_size = (tgt->xferq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
746 tgt->confq_mem_size = (tgt->confq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
759 (tgt->confq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
[all …]
Dbnx2fc_io.c566 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
572 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
598 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
607 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
615 memset(mp_req->req_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
616 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
641 mp_req_bd->buf_len = CNIC_PAGE_SIZE; in bnx2fc_init_mp_req()
653 mp_resp_bd->buf_len = CNIC_PAGE_SIZE; in bnx2fc_init_mp_req()
/linux-6.12.1/drivers/scsi/bnx2i/
Dbnx2i_hwi.c66 num_elements_per_pg = CNIC_PAGE_SIZE / BNX2I_SQ_WQE_SIZE; in bnx2i_adjust_qp_size()
74 num_elements_per_pg = CNIC_PAGE_SIZE / BNX2I_CQE_SIZE; in bnx2i_adjust_qp_size()
82 num_elements_per_pg = CNIC_PAGE_SIZE / BNX2I_RQ_WQE_SIZE; in bnx2i_adjust_qp_size()
949 num_pages = ep->qp.sq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
963 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
971 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
977 num_pages = ep->qp.rq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
991 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
999 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
1005 num_pages = ep->qp.cq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
[all …]
Dbnx2i_iscsi.c529 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
538 CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
542 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
553 mp_bdt->buffer_length = CNIC_PAGE_SIZE; in bnx2i_setup_mp_bdt()
570 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
575 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
938 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
945 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
1002 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1008 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dcnic_if.h34 #define CNIC_PAGE_SIZE (1 << (CNIC_PAGE_BITS)) macro
35 #define CNIC_PAGE_ALIGN(addr) ALIGN(addr, CNIC_PAGE_SIZE)
36 #define CNIC_PAGE_MASK (~((CNIC_PAGE_SIZE) - 1))
Dcnic.c742 dma_free_coherent(&dev->pcidev->dev, CNIC_PAGE_SIZE, in cnic_free_dma()
801 CNIC_PAGE_SIZE, in cnic_alloc_dma()
810 dma->pgtbl_size = ((pages * 8) + CNIC_PAGE_SIZE - 1) & in cnic_alloc_dma()
811 ~(CNIC_PAGE_SIZE - 1); in cnic_alloc_dma()
916 cp->ctx_blk_size = CNIC_PAGE_SIZE; in cnic_alloc_context()
917 cp->cids_per_blk = CNIC_PAGE_SIZE / 128; in cnic_alloc_context()
949 CNIC_PAGE_SIZE, in cnic_alloc_context()
1029 udev->l2_ring_size = pages * CNIC_PAGE_SIZE; in __cnic_alloc_uio_rings()
1283 CNIC_PAGE_SIZE; in cnic_alloc_bnx2x_resc()
1289 n = CNIC_PAGE_SIZE / CNIC_KWQ16_DATA_SIZE; in cnic_alloc_bnx2x_resc()
[all …]