Searched refs:BNXT_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
558 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT) macro597 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))598 #define TX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_bd))599 #define CP_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_cmp))669 #define BNXT_HWRM_REQS_PER_PAGE (BNXT_PAGE_SIZE / \1433 #define MAX_CTX_PAGES (BNXT_PAGE_SIZE / 8)1452 if (BNXT_PAGE_SIZE == 0x2000) \1454 else if (BNXT_PAGE_SIZE == 0x10000) \
392 dma_free_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_free_vf_resources()416 nr_pages = size / BNXT_PAGE_SIZE; in bnxt_alloc_vf_resources()417 if (size & (BNXT_PAGE_SIZE - 1)) in bnxt_alloc_vf_resources()422 dma_alloc_coherent(&pdev->dev, BNXT_PAGE_SIZE, in bnxt_alloc_vf_resources()
7037 rmem->page_size = BNXT_PAGE_SIZE; in bnxt_alloc_ctx_mem_blk()7056 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()7099 rmem->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()