tag | line | file | source code |
rx_ring | 292 | drivers/net/de4x5.c | struct de4x5_desc rx_ring[NUM_RX_DESC]; /* RX descriptor ring */ |
rx_ring | 494 | drivers/net/de4x5.c | lp->rx_ring[i].status = 0; |
rx_ring | 495 | drivers/net/de4x5.c | lp->rx_ring[i].des1 = RX_BUFF_SZ; |
rx_ring | 496 | drivers/net/de4x5.c | lp->rx_ring[i].buf = tmp + i * RX_BUFF_SZ; |
rx_ring | 497 | drivers/net/de4x5.c | lp->rx_ring[i].next = NULL; |
rx_ring | 507 | drivers/net/de4x5.c | lp->rx_ring[lp->rxRingSize - 1].des1 |= RD_RER; |
rx_ring | 511 | drivers/net/de4x5.c | outl((u_long)lp->rx_ring, DE4X5_RRBA); |
rx_ring | 589 | drivers/net/de4x5.c | kfree_s(lp->rx_ring[0].buf, RX_BUFF_SZ * NUM_RX_DESC + LWPAD); |
rx_ring | 633 | drivers/net/de4x5.c | printk("\t0x%8.8lx 0x%8.8lx\n",(long)lp->rx_ring,(long)lp->tx_ring); |
rx_ring | 637 | drivers/net/de4x5.c | printk("0x%8.8lx ",(long)&lp->rx_ring[i].status); |
rx_ring | 640 | drivers/net/de4x5.c | printk("...0x%8.8lx\n",(long)&lp->rx_ring[i].status); |
rx_ring | 651 | drivers/net/de4x5.c | printk("0x%8.8lx ",(long)lp->rx_ring[i].buf); |
rx_ring | 654 | drivers/net/de4x5.c | printk("...0x%8.8lx\n",(long)lp->rx_ring[i].buf); |
rx_ring | 733 | drivers/net/de4x5.c | outl((u_long)lp->rx_ring, DE4X5_RRBA); /* Start of RX Descriptor List */ |
rx_ring | 742 | drivers/net/de4x5.c | lp->rx_ring[i].status = R_OWN; |
rx_ring | 945 | drivers/net/de4x5.c | for (entry = lp->rx_new; lp->rx_ring[entry].status >= 0;entry = lp->rx_new) { |
rx_ring | 946 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
rx_ring | 960 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16); |
rx_ring | 968 | drivers/net/de4x5.c | memcpy(skb->data, lp->rx_ring[lp->rx_old].buf, len); |
rx_ring | 969 | drivers/net/de4x5.c | memcpy(skb->data + len, lp->rx_ring[0].buf, pkt_len - len); |
rx_ring | 971 | drivers/net/de4x5.c | memcpy(skb->data, lp->rx_ring[lp->rx_old].buf, pkt_len); |
rx_ring | 1015 | drivers/net/de4x5.c | lp->rx_ring[lp->rx_old].status = R_OWN; |
rx_ring | 1017 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
rx_ring | 1960 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)lp->rx_ring; j+=4; |
rx_ring | 1965 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 1968 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 1978 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)lp->rx_ring[i].buf; j+=4; |
rx_ring | 1981 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)lp->rx_ring[i].buf; j+=4; |
rx_ring | 1990 | drivers/net/de4x5.c | tmp.lval[j>>2] = lp->rx_ring[i].status; j+=4; |
rx_ring | 2052 | drivers/net/de4x5.c | kfree_s(lp->rx_ring[0].buf, RX_BUFF_SZ * NUM_RX_DESC + LWPAD); |
rx_ring | 302 | drivers/net/depca.c | unsigned long rx_ring; /* Rx ring base pointer & ring length */ |
rx_ring | 308 | drivers/net/depca.c | struct depca_rx_head *rx_ring; /* Pointer to start of RX descriptor ring */ |
rx_ring | 569 | drivers/net/depca.c | lp->rx_ring = (struct depca_rx_head *)mem_start; |
rx_ring | 584 | drivers/net/depca.c | memset(lp->rx_ring, 0, sizeof(struct depca_rx_head)*j); |
rx_ring | 588 | drivers/net/depca.c | if ((long)(lp->rx_ring) & 0x07) { |
rx_ring | 714 | drivers/net/depca.c | printk("\t0x%8.8lx 0x%8.8lx\n",(long)lp->rx_ring,(long)lp->tx_ring); |
rx_ring | 717 | drivers/net/depca.c | printk("\t0x%8.8lx 0x%8.8lx\n",(long)&lp->rx_ring[i].base, |
rx_ring | 722 | drivers/net/depca.c | printk("\t0x%8.8lx 0x%8.8lx\n",(long)lp->rx_ring[i].base, |
rx_ring | 735 | drivers/net/depca.c | printk("\n\trx_ring at: 0x%8.8lx\n",(long)lp->init_block.rx_ring); |
rx_ring | 786 | drivers/net/depca.c | lp->rx_ring[i].base = (lp->dma_buffs + i*PKT_BUF_SZ) | R_OWN; |
rx_ring | 787 | drivers/net/depca.c | lp->rx_ring[i].buf_length = -PKT_BUF_SZ; |
rx_ring | 799 | drivers/net/depca.c | lp->init_block.rx_ring = ((unsigned long)lp->rx_ring & LA_MASK) | lp->rlen; |
rx_ring | 1023 | drivers/net/depca.c | for (; lp->rx_ring[entry].base >= 0; entry = (++lp->cur_rx) & lp->rmask) { |
rx_ring | 1024 | drivers/net/depca.c | int status = lp->rx_ring[entry].base >> 16 ; |
rx_ring | 1044 | drivers/net/depca.c | while ((status=(lp->rx_ring[(entry+1)&lp->rmask].base >> 16)) < 0); |
rx_ring | 1056 | drivers/net/depca.c | short pkt_len = lp->rx_ring[entry].msg_length; |
rx_ring | 1068 | drivers/net/depca.c | (unsigned char *)((lp->rx_ring[entry].base+lp->bus_offset) & |
rx_ring | 1080 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
rx_ring | 1083 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
rx_ring | 186 | drivers/net/lance.c | unsigned rx_ring; /* Tx and Rx ring base pointers */ |
rx_ring | 194 | drivers/net/lance.c | struct lance_rx_head rx_ring[RX_RING_SIZE]; |
rx_ring | 412 | drivers/net/lance.c | if ((int)(lp->rx_ring) & 0x07) { |
rx_ring | 425 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 600 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
rx_ring | 675 | drivers/net/lance.c | lp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000; |
rx_ring | 676 | drivers/net/lance.c | lp->rx_ring[i].buf_length = -PKT_BUF_SZ; |
rx_ring | 689 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 733 | drivers/net/lance.c | lp->rx_ring[i].base, -lp->rx_ring[i].buf_length, |
rx_ring | 734 | drivers/net/lance.c | lp->rx_ring[i].msg_length); |
rx_ring | 967 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
rx_ring | 968 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
rx_ring | 981 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
rx_ring | 984 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
rx_ring | 991 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
rx_ring | 996 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
rx_ring | 1004 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
rx_ring | 1012 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
rx_ring | 1013 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
rx_ring | 143 | drivers/net/tulip.c | struct tulip_rx_desc rx_ring[RX_RING_SIZE]; |
rx_ring | 320 | drivers/net/tulip.c | outl((int)tp->rx_ring, ioaddr + CSR3); |
rx_ring | 359 | drivers/net/tulip.c | tp->rx_ring[i].status = 0x80000000; /* Owned by Tulip chip */ |
rx_ring | 360 | drivers/net/tulip.c | tp->rx_ring[i].length = PKT_BUF_SZ; |
rx_ring | 361 | drivers/net/tulip.c | tp->rx_ring[i].buffer1 = (char *)(tp->rx_buffs + i*PKT_BUF_SZ); |
rx_ring | 362 | drivers/net/tulip.c | tp->rx_ring[i].buffer2 = (char *)&tp->rx_ring[i+1]; |
rx_ring | 365 | drivers/net/tulip.c | tp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000; |
rx_ring | 366 | drivers/net/tulip.c | tp->rx_ring[i-1].buffer2 = (char *)&tp->rx_ring[0]; |
rx_ring | 391 | drivers/net/tulip.c | printk(" Rx ring %8.8x: ", (int)tp->rx_ring); |
rx_ring | 393 | drivers/net/tulip.c | printk(" %8.8x", (unsigned int)tp->rx_ring[i].status); |
rx_ring | 583 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
rx_ring | 584 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
rx_ring | 600 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
rx_ring | 609 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
rx_ring | 614 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
rx_ring | 621 | drivers/net/tulip.c | memcpy(skb->data, lp->rx_ring[entry].buffer1, pkt_len); |
rx_ring | 626 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |