Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/
Dcnic.h83 #define KWQE_CNT (BCM_PAGE_SIZE / sizeof(struct kwqe))
84 #define KCQE_CNT (BCM_PAGE_SIZE / sizeof(struct kcqe))
424 #define BNX2X_RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd))
426 #define BNX2X_RCQ_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_rx_cqe))
Dcnic.c716 dma_free_coherent(&dev->pcidev->dev, BCM_PAGE_SIZE, in cnic_free_dma()
775 BCM_PAGE_SIZE, in cnic_alloc_dma()
784 dma->pgtbl_size = ((pages * 8) + BCM_PAGE_SIZE - 1) & in cnic_alloc_dma()
785 ~(BCM_PAGE_SIZE - 1); in cnic_alloc_dma()
882 cp->ctx_blk_size = BCM_PAGE_SIZE; in cnic_alloc_context()
883 cp->cids_per_blk = BCM_PAGE_SIZE / 128; in cnic_alloc_context()
915 BCM_PAGE_SIZE, in cnic_alloc_context()
1012 udev->l2_ring_size = pages * BCM_PAGE_SIZE; in cnic_alloc_uio_rings()
2856 (udev->l2_ring + (2 * BCM_PAGE_SIZE)); in cnic_l2_completion()
4290 memset(cp->ctx_arr[i].ctx, 0, BCM_PAGE_SIZE); in cnic_setup_5709_context()
[all …]
Dbnx2.h6504 #define BCM_PAGE_SIZE (1 << BCM_PAGE_BITS) macro
6506 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct tx_bd))
6511 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct rx_bd))
7012 #define RV2P_BD_PAGE_SIZE ((BCM_PAGE_SIZE / 16) - 1)
Dbnx2.c826 dma_free_coherent(&bp->pdev->dev, BCM_PAGE_SIZE, in bnx2_free_mem()
891 bp->ctx_pages = 0x2000 / BCM_PAGE_SIZE; in bnx2_alloc_mem()
896 BCM_PAGE_SIZE, in bnx2_alloc_mem()
2551 memset(bp->ctx_blk[i], 0, BCM_PAGE_SIZE); in bnx2_init_5709_context()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h1063 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_ring_one()
1066 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_ring_one()
1100 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
1103 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
1117 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
1121 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
1135 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
1138 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
Dbnx2x.h339 #define BCM_PAGE_SIZE (1 << BCM_PAGE_SHIFT) macro
340 #define BCM_PAGE_MASK (~(BCM_PAGE_SIZE - 1))
341 #define BCM_PAGE_ALIGN(addr) (((addr) + BCM_PAGE_SIZE - 1) & BCM_PAGE_MASK)
352 #define RX_SGE_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_sge))
603 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_tx_bd_types))
618 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd))
662 #define RCQ_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_rx_cqe))
1099 #define EQ_DESC_CNT_PAGE (BCM_PAGE_SIZE / sizeof(union event_ring_elem))
1903 #define SP_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_spe))
Dbnx2x_main.c2774 rxq_init->rcq_np_map = fp->rx_comp_mapping + BCM_PAGE_SIZE; in bnx2x_pf_rx_q_prep()
5193 BCM_PAGE_SIZE * (i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
5196 BCM_PAGE_SIZE*(i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
7002 BNX2X_PCI_FREE(bp->spq, bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_free_mem()
7005 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_free_mem()
7112 BNX2X_PCI_ALLOC(bp->spq, &bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_alloc_mem()
7116 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_alloc_mem()
Dbnx2x_cmn.c3176 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_free_fp_mem_at()
3315 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_alloc_fp_mem_at()