Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c672 tgt->sq_mem_size = (tgt->sq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
686 tgt->cq_mem_size = (tgt->cq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
700 tgt->rq_mem_size = (tgt->rq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
712 tgt->rq_pbl_size = (tgt->rq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
713 tgt->rq_pbl_size = (tgt->rq_pbl_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
725 num_pages = tgt->rq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
734 page += CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
739 tgt->xferq_mem_size = (tgt->xferq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
753 tgt->confq_mem_size = (tgt->confq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
766 (tgt->confq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
[all …]
Dbnx2fc_io.c555 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
561 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_free_mp_resc()
587 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
596 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
604 memset(mp_req->req_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
605 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
630 mp_req_bd->buf_len = CNIC_PAGE_SIZE; in bnx2fc_init_mp_req()
642 mp_resp_bd->buf_len = CNIC_PAGE_SIZE; in bnx2fc_init_mp_req()
/linux-4.4.14/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()
964 num_pages = ep->qp.sq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
978 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
986 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
992 num_pages = ep->qp.rq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
1006 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
1014 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
1020 num_pages = ep->qp.cq_mem_size / CNIC_PAGE_SIZE; in setup_qp_page_tables()
[all …]
Dbnx2i_iscsi.c530 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
539 CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
543 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
554 mp_bdt->buffer_length = CNIC_PAGE_SIZE; in bnx2i_setup_mp_bdt()
571 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
576 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
940 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
947 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
1004 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1010 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
[all …]
/linux-4.4.14/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.c741 dma_free_coherent(&dev->pcidev->dev, CNIC_PAGE_SIZE, in cnic_free_dma()
800 CNIC_PAGE_SIZE, in cnic_alloc_dma()
809 dma->pgtbl_size = ((pages * 8) + CNIC_PAGE_SIZE - 1) & in cnic_alloc_dma()
810 ~(CNIC_PAGE_SIZE - 1); in cnic_alloc_dma()
915 cp->ctx_blk_size = CNIC_PAGE_SIZE; in cnic_alloc_context()
916 cp->cids_per_blk = CNIC_PAGE_SIZE / 128; in cnic_alloc_context()
948 CNIC_PAGE_SIZE, in cnic_alloc_context()
1028 udev->l2_ring_size = pages * CNIC_PAGE_SIZE; in __cnic_alloc_uio_rings()
1277 CNIC_PAGE_SIZE; in cnic_alloc_bnx2x_resc()
1283 n = CNIC_PAGE_SIZE / CNIC_KWQ16_DATA_SIZE; in cnic_alloc_bnx2x_resc()
[all …]