Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/tulip/
Duli526x.c52 #define RX_DESC_CNT 0x30 /* Allocated Rx descriptors */ macro
55 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)
723 if (db->rx_avail_cnt<RX_DESC_CNT) in uli526x_interrupt()
1354 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in uli526x_descriptor_init()
1462 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)
831 if (db->rx_avail_cnt<RX_DESC_CNT) in dmfe_interrupt()
1416 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in dmfe_descriptor_init()
1564 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x.h470 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd)) macro
471 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 2)
472 #define RX_DESC_MASK (RX_DESC_CNT - 1)
473 #define NUM_RX_BD (RX_DESC_CNT * NUM_RX_RINGS)
Dbnx2x_cmn.h950 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()
/linux-2.6.39/drivers/net/
Dbnx2.h6511 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct rx_bd)) macro
6512 #define MAX_RX_DESC_CNT (RX_DESC_CNT - 1)
6584 #define SW_RXBD_RING_SIZE (sizeof(struct sw_bd) * RX_DESC_CNT)
6585 #define SW_RXPG_RING_SIZE (sizeof(struct sw_pg) * RX_DESC_CNT)
6586 #define RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
Dbnx2.c5277 bp->rx_max_pg_ring_idx = (bp->rx_max_pg_ring * RX_DESC_CNT) - 1; in bnx2_set_rx_ring_size()
5288 bp->rx_max_ring_idx = (bp->rx_max_ring * RX_DESC_CNT) - 1; in bnx2_set_rx_ring_size()