Searched refs:RX_RING_SIZE (Results 26 - 50 of 54) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dtulip.h268 #define RX_RING_SIZE 128 macro
351 struct ring_info rx_buffers[RX_RING_SIZE];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsun3lance.c98 #define RX_RING_SIZE (1 << RX_LOG_RING_SIZE) macro
100 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1)
143 struct lance_rx_head rx_head[RX_RING_SIZE];
144 char rx_data[RX_RING_SIZE][PKT_BUF_SZ];
472 for( i = 0; i < RX_RING_SIZE; i++ ) {
545 for( i = 0 ; i < RX_RING_SIZE; i++ )
H A Dmacb.c31 #define RX_RING_SIZE 512 macro
32 #define RX_RING_BYTES (sizeof(struct dma_desc) * RX_RING_SIZE)
49 #define NEXT_RX(n) (((n) + 1) & (RX_RING_SIZE - 1))
653 RX_RING_SIZE * RX_BUFFER_SIZE,
686 size = RX_RING_SIZE * RX_BUFFER_SIZE;
708 for (i = 0; i < RX_RING_SIZE; i++) {
713 bp->rx_ring[RX_RING_SIZE - 1].addr |= MACB_BIT(RX_WRAP);
H A Dnatsemi.c104 #define RX_RING_SIZE 32 macro
558 struct sk_buff *rx_skbuff[RX_RING_SIZE];
559 dma_addr_t rx_dma[RX_RING_SIZE];
1726 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc),
1874 for (i = 0; i < RX_RING_SIZE; i++) {
1918 sizeof(struct netdev_desc) * (RX_RING_SIZE+TX_RING_SIZE),
1922 np->tx_ring = &np->rx_ring[RX_RING_SIZE];
1933 int entry = np->dirty_rx % RX_RING_SIZE;
1947 if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) {
1975 *((i+1)%TX_RING_SIZE+RX_RING_SIZE));
[all...]
H A D3c515.c57 #define RX_RING_SIZE 16 macro
304 struct boom_rx_desc rx_ring[RX_RING_SIZE];
307 struct sk_buff *rx_skbuff[RX_RING_SIZE];
808 for (i = 0; i < RX_RING_SIZE; i++) {
810 if (i < (RX_RING_SIZE - 1))
1327 int entry = vp->cur_rx % RX_RING_SIZE;
1393 entry = (++vp->cur_rx) % RX_RING_SIZE;
1398 entry = vp->dirty_rx % RX_RING_SIZE;
1450 for (i = 0; i < RX_RING_SIZE; i++)
H A Ddl2k.c487 if (np->cur_rx - np->old_rx >= RX_RING_SIZE) {
492 entry = np->old_rx % RX_RING_SIZE;
554 for (i = 0; i < RX_RING_SIZE; i++) {
556 ((i + 1) % RX_RING_SIZE) *
564 for (i = 0; i < RX_RING_SIZE; i++) {
809 int entry = np->cur_rx % RX_RING_SIZE;
871 entry = (entry + 1) % RX_RING_SIZE;
901 entry = (entry + 1) % RX_RING_SIZE;
1730 for (i = 0; i < RX_RING_SIZE; i++) {
H A Da2065.c71 #define RX_RING_SIZE (1<<LANCE_LOG_RX_BUFFERS) macro
74 #define RX_RING_MOD_MASK (RX_RING_SIZE-1)
98 struct lance_rx_desc brx_ring[RX_RING_SIZE];
101 char rx_buf [RX_RING_SIZE][RX_BUFF_SIZE];
279 for (i = 0; i < RX_RING_SIZE; i++) {
H A Dstarfire.c134 #define RX_RING_SIZE 256 macro
141 #if RX_RING_SIZE > 256
216 int quota = np->dirty_rx + RX_RING_SIZE - np->cur_rx; \
591 struct rx_ring_info rx_info[RX_RING_SIZE];
970 rx_ring_size = sizeof(struct starfire_rx_desc) * RX_RING_SIZE;
1179 for (i = 0; i < RX_RING_SIZE; i++) {
1190 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE);
1193 for ( ; i < RX_RING_SIZE; i++) {
1199 np->rx_ring[RX_RING_SIZE - 1].rxaddr |= cpu_to_dma(RxDescEndRing);
1574 entry = np->dirty_rx % RX_RING_SIZE;
[all...]
H A Ddl2k.h40 #define RX_RING_SIZE 256 macro
42 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
648 struct sk_buff *rx_skbuff[RX_RING_SIZE];
H A D3c59x.c31 #define RX_RING_SIZE 32 macro
591 struct sk_buff* rx_skbuff[RX_RING_SIZE];
1117 vp->rx_ring = pci_alloc_consistent(pdev, sizeof(struct boom_rx_desc) * RX_RING_SIZE
1124 vp->tx_ring = (struct boom_tx_desc *)(vp->rx_ring + RX_RING_SIZE);
1125 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE;
1403 sizeof(struct boom_rx_desc) * RX_RING_SIZE
1622 for (i = 0; i < RX_RING_SIZE; i++) /* AKPM: this is done in vortex_open, too */
1672 for (i = 0; i < RX_RING_SIZE; i++) {
1685 if (i != RX_RING_SIZE) {
2438 int entry = vp->cur_rx % RX_RING_SIZE;
[all...]
H A Dfealnx.c57 // #define RX_RING_SIZE 32
59 #define RX_RING_SIZE 12 macro
61 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct fealnx_desc)
1073 while (np->really_rx_count != RX_RING_SIZE) {
1218 for (i = 0; i < RX_RING_SIZE; i++)
1253 for (i = 0; i < RX_RING_SIZE; i++) {
1267 for (i = 0; i < RX_RING_SIZE; i++) {
1425 for (i = 0; i < RX_RING_SIZE; i++) {
1917 for (i = 0; i < RX_RING_SIZE; i++) {
H A Dsunqe.c132 for (i = 0; i < RX_RING_SIZE; i++) {
422 &qbufs->rx_buf[elem & (RX_RING_SIZE - 1)][0];
424 qebuf_offset(rx_buf, (elem & (RX_RING_SIZE - 1)));
426 &rxbase[(elem+RX_RING_SIZE)&(RX_RING_MAXSIZE-1)];
H A Dgt64240eth.h85 #define RX_RING_SIZE 32 macro
H A Dsunlance.c186 #define RX_RING_SIZE (1 << (LANCE_LOG_RX_BUFFERS)) macro
187 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1)
227 struct lance_rx_desc brx_ring[RX_RING_SIZE];
232 u8 rx_buf [RX_RING_SIZE][RX_BUFF_SIZE];
355 for (i = 0; i < RX_RING_SIZE; i++) {
413 for (i = 0; i < RX_RING_SIZE; i++) {
H A Dfec.c139 #define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES) macro
145 #if (((RX_RING_SIZE + TX_RING_SIZE) * 8) > PAGE_SIZE)
433 printk(" rx: %lu buffers\n", (unsigned long) RX_RING_SIZE);
434 for (i = 0 ; i < RX_RING_SIZE; i++) {
2332 fep->tx_bd_base = cbd_base + RX_RING_SIZE;
2501 for (i=0; i<RX_RING_SIZE; i++) {
H A D7990.c100 for (t=0; t < RX_RING_SIZE; t++) { \
288 for (i = 0; i < RX_RING_SIZE; i++) {
H A Dmyri_sbus.c240 for (i = 0; i < (RX_RING_SIZE+1); i++) {
281 for (i = 0; i < RX_RING_SIZE; i++) {
298 sbus_writel(RX_RING_SIZE, &rq->tail);
918 for (i = 0; i < (RX_RING_SIZE + 1); i++)
H A Dlp486e.c235 #define RX_RING_SIZE 64 macro
748 if ((i = init_rx_bufs(dev, RX_RING_SIZE)) < RX_RING_SIZE)
H A D82596.c284 #define RX_RING_SIZE 16 macro
329 struct i596_rfd rfds[RX_RING_SIZE];
330 struct i596_rbd rbds[RX_RING_SIZE];
368 static int rx_ring_size = RX_RING_SIZE;
H A Dlasi_82596.c331 #define RX_RING_SIZE 16 macro
367 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32)));
368 struct i596_rbd rbds[RX_RING_SIZE] __attribute__((aligned(32)));
414 static int rx_ring_size = RX_RING_SIZE;
H A Dacenic.c348 #define RX_RING_SIZE 72 macro
354 #define RX_LOW_STD_THRES (3*RX_RING_SIZE)/4
1493 ace_load_std_rx_ring(ap, RX_RING_SIZE);
1583 ace_load_std_rx_ring(ap, RX_RING_SIZE - cur_size);
2159 RX_RING_SIZE - cur_size);
H A Dsungem.c427 for (i = 0; i < RX_RING_SIZE; i++) {
445 writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
779 if (work_done >= RX_RING_SIZE || work_done >= work_to_do)
1194 writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
1557 for (i = 0; i < RX_RING_SIZE; i++) {
1615 for (i = 0; i < RX_RING_SIZE; i++) {
1800 writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8260_io/
H A Denet.c85 #define RX_RING_SIZE (CPM_ENET_RX_FRPPG * CPM_ENET_RX_PAGES) macro
260 for (i = 0 ; i < RX_RING_SIZE; i++, bdp++)
682 dp_offset = cpm_dpalloc(sizeof(cbd_t) * RX_RING_SIZE, 8);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/sk98lin/h/
H A Dskdrv2nd.h128 #define RX_RING_SIZE (24*1024) macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/sk98lin/
H A Dskge.c633 /* RX_RING_SIZE is assumed bigger than TX_RING_SIZE */
635 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound + 8;
637 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound
638 + RX_RING_SIZE + 8;
669 pDescrMem += RX_RING_SIZE;
670 BusAddr += RX_RING_SIZE;
695 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound + 8;
697 AllocLength = (RX_RING_SIZE + TX_RING_SIZE) * pAC->GIni.GIMacsFound
698 + RX_RING_SIZE + 8;
727 pAC->RxDescrPerRing = RX_RING_SIZE / RxDescrSiz
[all...]

Completed in 329 milliseconds

123