Searched refs:BNXT_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
76 #define BNXT_HWRM_REQS_PER_PAGE (BNXT_PAGE_SIZE / \
740 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT) macro791 #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) \
412 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()
8568 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()