Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c671 tgt->sq_mem_size = (tgt->sq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
684 tgt->cq_mem_size = (tgt->cq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
697 tgt->rq_mem_size = (tgt->rq_mem_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
709 tgt->rq_pbl_size = (tgt->rq_pbl_size + (CNIC_PAGE_SIZE - 1)) & in bnx2fc_alloc_session_resc()
720 num_pages = tgt->rq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
729 page += CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
761 (tgt->confq_mem_size / CNIC_PAGE_SIZE) * sizeof(void *); in bnx2fc_alloc_session_resc()
763 (tgt->confq_pbl_size + (CNIC_PAGE_SIZE - 1)) & CNIC_PAGE_MASK; in bnx2fc_alloc_session_resc()
774 num_pages = tgt->confq_mem_size / CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
783 page += CNIC_PAGE_SIZE; in bnx2fc_alloc_session_resc()
[all …]
H A 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()
/openbmc/linux/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c949 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()
1019 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
1027 page += CNIC_PAGE_SIZE; in setup_qp_page_tables()
1282 (CNIC_PAGE_SIZE - 1)) / CNIC_PAGE_SIZE; in bnx2i_send_fw_iscsi_init_msg()
[all …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A 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))
H A Dcnic.c800 CNIC_PAGE_SIZE, 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()
948 CNIC_PAGE_SIZE, in cnic_alloc_context()
1275 CNIC_PAGE_SIZE; in cnic_alloc_bnx2x_resc()
1484 CNIC_PAGE_SIZE); in cnic_bnx2x_iscsi_init1()
1496 CNIC_PAGE_SIZE); in cnic_bnx2x_iscsi_init1()
1511 CNIC_PAGE_SIZE); in cnic_bnx2x_iscsi_init1()
1526 CNIC_PAGE_SIZE); in cnic_bnx2x_iscsi_init1()
4924 memset(txbd, 0, CNIC_PAGE_SIZE); in cnic_init_bnx2x_tx_ring()
[all …]