Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.h925 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_rings()
928 BCM_PAGE_SIZE*(i % NUM_TX_RINGS))); in bnx2x_init_tx_rings()
953 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
956 BCM_PAGE_SIZE*(i % NUM_RX_RINGS))); in bnx2x_set_next_page_rx_bd()
970 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
974 BCM_PAGE_SIZE*(i % NUM_RX_SGE_PAGES))); in bnx2x_set_next_page_sgl()
988 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
991 BCM_PAGE_SIZE*(i % NUM_RCQ_RINGS))); in bnx2x_set_next_page_rx_cq()
Dbnx2x.h287 #define BCM_PAGE_SIZE (1 << BCM_PAGE_SHIFT) macro
288 #define BCM_PAGE_MASK (~(BCM_PAGE_SIZE - 1))
289 #define BCM_PAGE_ALIGN(addr) (((addr) + BCM_PAGE_SIZE - 1) & BCM_PAGE_MASK)
299 #define RX_SGE_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_sge))
456 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_tx_bd_types))
470 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd))
487 #define RCQ_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_rx_cqe))
879 #define EQ_DESC_CNT_PAGE (BCM_PAGE_SIZE / sizeof(union event_ring_elem))
1628 #define SP_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_spe))
Dbnx2x_main.c2479 rxq_init->rcq_np_map = fp->rx_comp_mapping + BCM_PAGE_SIZE; in bnx2x_pf_rx_cl_prep()
4248 BCM_PAGE_SIZE * (i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
4251 BCM_PAGE_SIZE*(i % NUM_EQ_PAGES))); in bnx2x_init_eq_ring()
5988 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_free_mem()
6025 BNX2X_PCI_FREE(bp->spq, bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_free_mem()
6028 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_free_mem()
6113 BCM_PAGE_SIZE * NUM_RX_SGE_PAGES); in bnx2x_alloc_mem()
6157 BNX2X_PCI_ALLOC(bp->spq, &bp->spq_mapping, BCM_PAGE_SIZE); in bnx2x_alloc_mem()
6161 BCM_PAGE_SIZE * NUM_EQ_PAGES); in bnx2x_alloc_mem()
/linux-2.6.39/drivers/net/
Dcnic.h88 #define KWQE_CNT (BCM_PAGE_SIZE / sizeof(struct kwqe))
89 #define KCQE_CNT (BCM_PAGE_SIZE / sizeof(struct kcqe))
410 #define BNX2X_RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd))
412 #define BNX2X_RCQ_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_rx_cqe))
Dcnic.c691 dma_free_coherent(&dev->pcidev->dev, BCM_PAGE_SIZE, in cnic_free_dma()
750 BCM_PAGE_SIZE, in cnic_alloc_dma()
759 dma->pgtbl_size = ((pages * 8) + BCM_PAGE_SIZE - 1) & in cnic_alloc_dma()
760 ~(BCM_PAGE_SIZE - 1); in cnic_alloc_dma()
858 cp->ctx_blk_size = BCM_PAGE_SIZE; in cnic_alloc_context()
859 cp->cids_per_blk = BCM_PAGE_SIZE / 128; in cnic_alloc_context()
891 BCM_PAGE_SIZE, in cnic_alloc_context()
956 udev->l2_ring_size = pages * BCM_PAGE_SIZE; in cnic_alloc_uio_rings()
2711 (udev->l2_ring + (2 * BCM_PAGE_SIZE)); in cnic_l2_completion()
4076 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))
6997 #define RV2P_BD_PAGE_SIZE ((BCM_PAGE_SIZE / 16) - 1)
Dbnx2.c819 dma_free_coherent(&bp->pdev->dev, BCM_PAGE_SIZE, in bnx2_free_mem()
884 bp->ctx_pages = 0x2000 / BCM_PAGE_SIZE; in bnx2_alloc_mem()
889 BCM_PAGE_SIZE, in bnx2_alloc_mem()
2510 memset(bp->ctx_blk[i], 0, BCM_PAGE_SIZE); in bnx2_init_5709_context()