Home
last modified time | relevance | path

Searched refs:RX_DESC_CNT (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/dec/tulip/ !
Duli526x.c52 #define RX_DESC_CNT 0x30 /* Allocated Rx descriptors */ macro
55 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)
713 if (db->rx_avail_cnt<RX_DESC_CNT) in uli526x_interrupt()
1336 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in uli526x_descriptor_init()
1445 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
Ddmfe.c111 #define RX_DESC_CNT 0x20 /* Allocated Rx descriptors */ macro
114 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)
830 if (db->rx_avail_cnt<RX_DESC_CNT) in dmfe_interrupt()
1414 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in dmfe_descriptor_init()
1563 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ !
Dbnx2x.h618 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd)) macro
620 #define MAX_RX_DESC_CNT (RX_DESC_CNT - NEXT_PAGE_RX_DESC_CNT)
621 #define RX_DESC_MASK (RX_DESC_CNT - 1)
622 #define NUM_RX_BD (RX_DESC_CNT * NUM_RX_RINGS)
Dbnx2x_cmn.h1097 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()
/linux-3.4.99/drivers/net/ethernet/broadcom/ !
Dbnx2.h6511 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct rx_bd)) macro
6512 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 1)
6597 #define SW_RXBD_RING_SIZE (sizeof(struct sw_bd) * RX_DESC_CNT)
6598 #define SW_RXPG_RING_SIZE (sizeof(struct sw_pg) * RX_DESC_CNT)
6599 #define RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
Dbnx2.c5341 bp->rx_max_pg_ring_idx = (bp->rx_max_pg_ring * RX_DESC_CNT) - 1; in bnx2_set_rx_ring_size()
5353 bp->rx_max_ring_idx = (bp->rx_max_ring * RX_DESC_CNT) - 1; in bnx2_set_rx_ring_size()