Searched refs:cur_rx (Results 1 - 13 of 13) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Deepro100.c746 int cur_rx = priv->cur_rx; local
750 if ( priv->rfds[cur_rx] != NULL ) {
751 ifec_scb_cmd ( netdev, virt_to_bus ( priv->rfds[cur_rx] ),
804 int cur_rx = priv->cur_rx; local
805 struct io_buffer *iob = priv->rx_iobs[cur_rx];
806 struct ifec_rfd *rfd = priv->rfds[cur_rx];
816 DBG2 ( "Got a packet: Len = %d, cur_rx = %d.\n", rx_len,
817 cur_rx );
886 int i, cur_rx; local
[all...]
H A Dsis190.c250 u32 rx_left, cur_rx = tp->cur_rx; local
253 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx;
255 for (; rx_left > 0; rx_left--, cur_rx++) {
256 unsigned int entry = cur_rx % NUM_RX_DESC;
287 count = cur_rx - tp->cur_rx;
288 tp->cur_rx = cur_rx;
290 delta = sis190_rx_fill(tp, tp->dirty_rx, tp->cur_rx);
[all...]
H A Dsis900.c67 static unsigned int cur_rx;
759 cur_rx = 0;
1202 u32 rx_status = rxd[cur_rx].cmdsts;
1209 printf("sis900_poll: cur_rx:%d, status:%X\n", cur_rx,
1216 printf("sis900_poll: got a packet: cur_rx:%d, status:%X\n",
1217 cur_rx, (unsigned int) rx_status);
1230 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
1235 rxd[cur_rx].cmdsts = RX_BUF_SIZE;
1236 rxd[cur_rx]
66 static unsigned int cur_rx; variable
[all...]
H A Dvia-rhine.c672 unsigned int cur_rx, cur_tx; /* The next free and used entries */ member in struct:rhine_private
719 tp->cur_rx = tp->cur_tx = 0;
1294 if (tp->rx_ring[tp->cur_rx].rx_status.bits.own_bit == 0)
1313 rxstatus = tp->rx_ring[tp->cur_rx].rx_status.lw;
1327 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length;
1328 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen);
1331 tp->rx_ring[tp->cur_rx].rx_status.bits.own_bit = 1;
1332 tp->cur_rx++;
1333 tp->cur_rx = tp->cur_rx
[all...]
H A Depic100.c84 static unsigned int cur_rx, cur_tx; /* The next free ring entry */ variable
270 cur_rx = cur_tx = 0;
380 entry = cur_rx % RX_RING_SIZE;
394 cur_rx++;
H A Dw89c840.c245 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:winbond_private
399 int entry = w840private.cur_rx % RX_RING_SIZE;
421 w840private.cur_rx, (unsigned int) status);
479 entry = (++w840private.cur_rx) % RX_RING_SIZE;
932 w840private.tx_q_bytes = w840private.cur_rx = w840private.cur_tx = 0;
H A Deepro100.h155 int cur_rx; member in struct:ifec_private
H A Dsundance.c269 unsigned int cur_rx; /* Producer/consumer ring indicies */ member in struct:sundance_private
334 sdc->cur_rx = 0;
457 int entry = sdc->cur_rx % RX_RING_SIZE;
483 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen);
490 sdc->cur_rx = entry % RX_RING_SIZE;
H A Dtulip.c397 int cur_rx;
882 tp->cur_rx = 0;
1111 if (rx_ring[tp->cur_rx].status & 0x80000000)
1118 nic->packetlen = (rx_ring[tp->cur_rx].status & 0x3FFF0000) >> 16;
1121 if (rx_ring[tp->cur_rx].status & 0x00008000) {
1123 rx_ring[tp->cur_rx].status = 0x80000000;
1124 tp->cur_rx = (tp->cur_rx + 1) % RX_RING_SIZE;
1129 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen);
1132 rx_ring[tp->cur_rx]
396 int cur_rx; member in struct:tulip_private
[all...]
H A Dtlan.c213 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indicies */ member in struct:tlan_private
268 priv->cur_rx = 0;
509 int entry = priv->cur_rx % TLAN_NUM_RX_LISTS;
532 (priv->cur_rx * TLAN_MAX_FRAME_SIZE), nic->packetlen);
539 priv->cur_rx = entry;
563 (priv->cur_rx - priv->dirty_rx +
H A Ddmfe.c182 u8 cur_rx; member in struct:dmfe_private
355 int entry = db->cur_rx % RX_DESC_CNT;
388 db->cur_rx++;
527 db->cur_rx = 0;
H A Dsis190.h254 u32 cur_rx; member in struct:sis190_private
H A D3c515.c235 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:corkscrew_private
389 vp->cur_rx = vp->dirty_rx = 0;

Completed in 881 milliseconds