Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h548 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT) macro
586 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))
587 #define TX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_bd))
588 #define CP_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_cmp))
658 #define BNXT_HWRM_REQS_PER_PAGE (BNXT_PAGE_SIZE / \
1304 #define MAX_CTX_PAGES (BNXT_PAGE_SIZE / 8)
Dbnxt_sriov.c399 dma_free_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_free_vf_resources()
422 nr_pages = size / BNXT_PAGE_SIZE; in bnxt_alloc_vf_resources()
423 if (size & (BNXT_PAGE_SIZE - 1)) in bnxt_alloc_vf_resources()
428 dma_alloc_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_alloc_vf_resources()
Dbnxt.c6498 else if (BNXT_PAGE_SIZE == 16) in bnxt_hwrm_set_pg_attr()
6626 rmem->page_size = BNXT_PAGE_SIZE; in bnxt_alloc_ctx_mem_blk()
6645 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
6686 rmem->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()