/drivers/infiniband/hw/amso1100/ |
H A D | c2.c | 477 rx_ring->to_clean = rx_ring->start + c2dev->cur_rx; 538 c2dev->cur_rx = elem - rx_ring->start; 539 C2_SET_CUR_RX(c2dev, c2dev->cur_rx); 733 unsigned int cur_rx = c2dev->cur_rx; local 736 C2_SET_CUR_RX(c2dev, cur_rx | C2_PCI_HRX_QUI); 744 cur_rx = C2_GET_CUR_RX(c2dev); 746 if (cur_rx & C2_PCI_HRX_QUI) 749 cur_rx &= ~C2_PCI_HRX_QUI; 751 c2dev->cur_rx [all...] |
H A D | c2.h | 296 unsigned int cur_rx; member in struct:c2_dev 423 #define C2_SET_CUR_RX(c2dev, cur_rx) \ 424 __raw_writel((__force u32) cpu_to_be32(cur_rx), c2dev->mmio_txp_ring + 4092)
|
/drivers/net/ethernet/amd/ |
H A D | ariadne.c | 92 int cur_tx, cur_rx; /* The next free ring entry */ member in struct:ariadne_private 125 priv->cur_rx = priv->cur_tx = 0; 164 int entry = priv->cur_rx % RX_RING_SIZE; 204 priv->cur_rx++; 227 entry = (++priv->cur_rx) % RX_RING_SIZE; 230 priv->cur_rx = priv->cur_rx % RX_RING_SIZE;
|
H A D | lance.c | 248 int cur_rx, cur_tx; /* The next free ring entry */ member in struct:lance_private 867 lp->cur_rx = lp->cur_tx = 0; 930 printk (" Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.", 932 lp->cur_rx); 1148 int entry = lp->cur_rx & RX_RING_MOD_MASK; 1197 lp->cur_rx++; 1216 entry = (++lp->cur_rx) & RX_RING_MOD_MASK;
|
H A D | atarilance.c | 222 int cur_rx, cur_tx; /* The next free ring entry */ member in struct:lance_private 689 lp->cur_rx = lp->cur_tx = 0; 747 DPRINTK( 2, ( "Ring data: dirty_tx %d cur_tx %d%s cur_rx %d\n", 750 lp->cur_rx )); 964 int entry = lp->cur_rx & RX_RING_MOD_MASK; 1007 lp->cur_rx++; 1036 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; 1038 lp->cur_rx &= RX_RING_MOD_MASK;
|
H A D | pcnet32.c | 275 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:pcnet32_private 1223 int entry = lp->cur_rx & lp->rx_mod_mask; 1238 entry = (++lp->cur_rx) & lp->rx_mod_mask; 2279 lp->cur_rx = lp->cur_tx = 0; 2382 " Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.", 2384 lp->cur_rx);
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 64 unsigned int cur_rx; member in struct:stmmac_priv
|
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 140 cbd_t __iomem *cur_rx; member in struct:fs_enet_private
|
/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 310 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:corkscrew_private 817 vp->cur_rx = vp->dirty_rx = 0; 1333 int entry = vp->cur_rx % RX_RING_SIZE; 1395 entry = (++vp->cur_rx) % RX_RING_SIZE; 1398 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) {
|
/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 312 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 825 np->cur_rx = 0; 1181 int entry = np->cur_rx % RX_RING_SIZE; 1182 int work_limit = np->dirty_rx + RX_RING_SIZE - np->cur_rx; 1205 np->cur_rx, status); 1261 entry = (++np->cur_rx) % RX_RING_SIZE; 1266 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { 1490 np->cur_rx, np->dirty_rx);
|
H A D | tulip.h | 422 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:tulip_private
|
/drivers/net/ethernet/ |
H A D | ethoc.c | 189 * @cur_rx: current receive buffer 211 unsigned int cur_rx; member in struct:ethoc 304 dev->cur_rx = 0; 423 entry = priv->num_tx + priv->cur_rx; 467 if (++priv->cur_rx == priv->num_rx) 468 priv->cur_rx = 0;
|
H A D | fealnx.c | 400 struct fealnx_desc *cur_rx; member in struct:netdev_private 1159 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), 1244 np->cur_rx = &np->rx_ring[0]; 1415 struct fealnx_desc *cur = np->cur_rx; 1426 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), 1618 while (!(np->cur_rx->status & RXOWN) && np->cur_rx->skbuff) { 1619 s32 rx_status = np->cur_rx->status; 1650 cur = np->cur_rx; 1671 if (!np->cur_rx [all...] |
/drivers/net/ethernet/natsemi/ |
H A D | sonic.h | 316 unsigned int cur_rx; member in struct:sonic_local
|
/drivers/net/ethernet/nuvoton/ |
H A D | w90p910_ether.c | 167 unsigned int cur_rx; member in struct:w90p910_ether 482 ether->cur_rx = 0x0; 715 rxbd = ðer->rdesc->desclist[ether->cur_rx]; 721 offsetof(struct recv_pdesc, desclist[ether->cur_rx]); 730 data = ether->rdesc->recv_buf[ether->cur_rx]; 765 if (++ether->cur_rx >= RX_DESC_SIZE) 766 ether->cur_rx = 0; 768 rxbd = ðer->rdesc->desclist[ether->cur_rx]; 956 ether->cur_rx = 0x0;
|
/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:hamachi_private 1112 hmp->cur_rx = hmp->cur_tx = 0; 1166 hmp->cur_rx = hmp->cur_tx = 0; 1401 int entry = hmp->cur_rx % RX_RING_SIZE; 1402 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; 1433 dev->name, hmp->cur_rx, data_size, desc_status); 1435 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]); 1438 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000, 1439 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff, 1440 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx [all...] |
H A D | yellowfin.c | 323 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:yellowfin_private 728 yp->cur_rx = yp->cur_tx = 0; 1039 int entry = yp->cur_rx % RX_RING_SIZE; 1040 int boguscnt = yp->dirty_rx + RX_RING_SIZE - yp->cur_rx; 1149 entry = (++yp->cur_rx) % RX_RING_SIZE; 1153 for (; yp->cur_rx - yp->dirty_rx > 0; yp->dirty_rx++) { 1203 yp->cur_rx, yp->dirty_rx);
|
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 179 unsigned int cur_rx, dirty_rx; /* producer/comsumer pointers for Tx/Rx ring */ member in struct:sis900_private 1164 sis_priv->cur_rx = 0; 1733 unsigned int entry = sis_priv->cur_rx % NUM_RX_DESC; 1738 printk(KERN_DEBUG "sis900_rx, cur_rx:%4.4d, dirty_rx:%4.4d " 1740 sis_priv->cur_rx, sis_priv->dirty_rx, rx_status); 1741 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; 1805 "cur_rx:%4.4d, dirty_rx:%4.4d\n", 1806 net_dev->name, sis_priv->cur_rx, 1837 sis_priv->cur_rx++; 1838 entry = sis_priv->cur_rx [all...] |
/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 270 unsigned int cur_rx, dirty_rx; member in struct:epic_private 790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); 813 (ep->cur_rx % RX_RING_SIZE) * sizeof(struct epic_rx_desc)); 906 ep->cur_rx = ep->dirty_rx = 0; 1141 int entry = ep->cur_rx % RX_RING_SIZE; 1142 int rx_work_limit = ep->dirty_rx + RX_RING_SIZE - ep->cur_rx; 1211 entry = (++ep->cur_rx) % RX_RING_SIZE; 1215 for (; ep->cur_rx - ep->dirty_rx > 0; ep->dirty_rx++) {
|
/drivers/net/ethernet/dlink/ |
H A D | dl2k.h | 390 unsigned long cur_rx, old_rx; /* Producer/consumer ring indices */ member in struct:netdev_private
|
H A D | sundance.c | 395 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 1003 printk(KERN_DEBUG "cur_rx=%d dirty_rx=%d\n", np->cur_rx, np->dirty_rx); 1030 np->cur_rx = np->cur_tx = 0; 1335 int entry = np->cur_rx % RX_RING_SIZE; 1409 np->cur_rx = entry; 1416 np->cur_rx = entry; 1433 for (;(np->cur_rx - np->dirty_rx + RX_RING_SIZE) % RX_RING_SIZE > 0; 1852 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx);
|
/drivers/net/ethernet/freescale/ |
H A D | fec.h | 446 struct bufdesc *cur_rx; member in struct:fec_enet_priv_rx_q 451 * cur_rx and cur_tx point to the currently available buffer.
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 559 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 1144 np->cur_rx = np->cur_tx = np->reap_tx = 0; 1507 np->cur_rx++; 1564 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { 1907 np->cur_rx, np->dirty_rx);
|
/drivers/net/ethernet/alteon/ |
H A D | acenic.h | 661 u32 cur_rx; member in struct:ace_private
|
/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 583 unsigned int cur_rx; /* RX buf index of next pkt */ member in struct:rtl8139_private 1392 tp->cur_rx = 0; 1445 tp->cur_rx = 0; 1854 tp->cur_rx = 0; 1888 tp->cur_rx = 0; 1941 unsigned int cur_rx = tp->cur_rx; local 1945 __func__, (u16)cur_rx, 1950 u32 ring_offset = cur_rx % RX_BUF_LEN; 1966 __func__, rx_status, rx_size, cur_rx); [all...] |