Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h539 #define BNXT_PAGE_SHIFT 12 macro
541 #define BNXT_PAGE_SHIFT PAGE_SHIFT macro
543 #define BNXT_PAGE_SHIFT 13 macro
545 #define BNXT_PAGE_SHIFT 16 macro
548 #define BNXT_PAGE_SIZE (1 << BNXT_PAGE_SHIFT)
574 #if (BNXT_PAGE_SHIFT == 16)
604 #define RX_RING(x) (((x) & ~(RX_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))
607 #define TX_RING(x) (((x) & ~(TX_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))
610 #define CP_RING(x) (((x) & ~(CP_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))
Dbnxt_sriov.c463 req.req_buf_page_size = cpu_to_le16(BNXT_PAGE_SHIFT); in bnxt_hwrm_func_buf_rgtr()
Dbnxt.c5225 req.page_size = BNXT_PAGE_SHIFT; in hwrm_ring_alloc_send_msg()
6496 if (BNXT_PAGE_SHIFT == 13) in bnxt_hwrm_set_pg_attr()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dmain.c417 req.page_size = BNXT_PAGE_SHIFT; in bnxt_re_net_ring_alloc()