Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.h76 #define BNXT_HWRM_REQS_PER_PAGE (BNXT_PAGE_SIZE / \
Dbnxt.h740 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT) macro
791 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))
792 #define TX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_bd))
793 #define CP_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_cmp))
1849 #define MAX_CTX_PAGES (BNXT_PAGE_SIZE / 8)
1870 if (BNXT_PAGE_SIZE == 0x2000) \
1872 else if (BNXT_PAGE_SIZE == 0x10000) \
Dbnxt_sriov.c412 dma_free_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_free_vf_resources()
436 nr_pages = size / BNXT_PAGE_SIZE; in bnxt_alloc_vf_resources()
437 if (size & (BNXT_PAGE_SIZE - 1)) in bnxt_alloc_vf_resources()
442 dma_alloc_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_alloc_vf_resources()
Dbnxt.c8568 rmem->page_size = BNXT_PAGE_SIZE; in bnxt_alloc_ctx_mem_blk()
8587 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
8629 rmem->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
8932 if (BNXT_PAGE_SIZE == 0x2000) in bnxt_hwrm_crash_dump_mem_cfg()
8934 else if (BNXT_PAGE_SIZE == 0x10000) in bnxt_hwrm_crash_dump_mem_cfg()
8971 mem_size <= bp->fw_crash_mem->nr_pages * BNXT_PAGE_SIZE) in bnxt_alloc_crash_dump_mem()