Home
last modified time | relevance | path

Searched refs:BNXT_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.h76 #define BNXT_HWRM_REQS_PER_PAGE (BNXT_PAGE_SIZE / \
H A Dbnxt.h589 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT) macro
640 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))
641 #define TX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_bd))
642 #define CP_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_cmp))
1488 #define MAX_CTX_PAGES (BNXT_PAGE_SIZE / 8)
1509 if (BNXT_PAGE_SIZE == 0x2000) \
1511 else if (BNXT_PAGE_SIZE == 0x10000) \
H A Dbnxt_sriov.c410 dma_free_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_free_vf_resources()
434 nr_pages = size / BNXT_PAGE_SIZE; in bnxt_alloc_vf_resources()
435 if (size & (BNXT_PAGE_SIZE - 1)) in bnxt_alloc_vf_resources()
440 dma_alloc_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_alloc_vf_resources()
H A Dbnxt.c7267 rmem->page_size = BNXT_PAGE_SIZE; in bnxt_alloc_ctx_mem_blk()
7286 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
7328 rmem->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()