Home
last modified time | relevance | path

Searched refs:BCM_PAGE_SIZE (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h393 #define BCM_PAGE_SIZE (1 << BCM_PAGE_SHIFT) macro
394 #define BCM_PAGE_MASK (~(BCM_PAGE_SIZE - 1))
395 #define BCM_PAGE_ALIGN(addr) (((addr) + BCM_PAGE_SIZE - 1) & BCM_PAGE_MASK)
409 #define RX_SGE_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_sge))
650 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_tx_bd_types))
682 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd))
726 #define RCQ_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_rx_cqe))
1223 #define EQ_DESC_CNT_PAGE (BCM_PAGE_SIZE / sizeof(union event_ring_elem))
2240 #define SP_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_spe))
Dbnx2x_cmn.h1037 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
1040 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
Dbnx2x_cmn.c1349 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
1353 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
4399 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_free_fp_mem_at()
4500 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
4503 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
4616 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_alloc_fp_mem_at()
Dbnx2x_vfpf.c635 req->rxq.rcq_np_addr = fp->rx_comp_mapping + BCM_PAGE_SIZE; in bnx2x_vfpf_setup_q()
643 req->rxq.sge_buf_sz = BCM_PAGE_SIZE * PAGES_PER_SGE; in bnx2x_vfpf_setup_q()
Dbnx2x_main.c3243 rxq_init->rcq_np_map = fp->rx_comp_mapping + BCM_PAGE_SIZE; in bnx2x_pf_rx_q_prep()
6149 BCM_PAGE_SIZE * (i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
6152 BCM_PAGE_SIZE*(i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
6429 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_ring_one()
6432 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_ring_one()
8306 BNX2X_PCI_FREE(bp->spq, bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_free_mem()
8309 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_free_mem()
8410 bp->spq = BNX2X_PCI_ALLOC(&bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_alloc_mem()
8416 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_alloc_mem()