tag | line | file | source code |
rx_ring | 446 | drivers/net/de4x5.c | struct de4x5_desc rx_ring[NUM_RX_DESC]; /* RX descriptor ring */ |
rx_ring | 797 | drivers/net/de4x5.c | lp->rx_ring[i].status = 0; |
rx_ring | 798 | drivers/net/de4x5.c | lp->rx_ring[i].des1 = RX_BUFF_SZ; |
rx_ring | 799 | drivers/net/de4x5.c | lp->rx_ring[i].buf = virt_to_bus(tmp + i * RX_BUFF_SZ); |
rx_ring | 800 | drivers/net/de4x5.c | lp->rx_ring[i].next = (u32)NULL; |
rx_ring | 812 | drivers/net/de4x5.c | lp->rx_ring[lp->rxRingSize - 1].des1 |= RD_RER; |
rx_ring | 816 | drivers/net/de4x5.c | outl(virt_to_bus(lp->rx_ring), DE4X5_RRBA); |
rx_ring | 838 | drivers/net/de4x5.c | if (lp->rx_ring[0].buf) { |
rx_ring | 839 | drivers/net/de4x5.c | kfree(bus_to_virt(lp->rx_ring[0].buf)); |
rx_ring | 982 | drivers/net/de4x5.c | outl(virt_to_bus(lp->rx_ring), DE4X5_RRBA); |
rx_ring | 989 | drivers/net/de4x5.c | lp->rx_ring[i].status = R_OWN; |
rx_ring | 1177 | drivers/net/de4x5.c | for (entry=lp->rx_new; lp->rx_ring[entry].status>=0;entry=lp->rx_new) { |
rx_ring | 1178 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
rx_ring | 1198 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
rx_ring | 1211 | drivers/net/de4x5.c | memcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len); |
rx_ring | 1212 | drivers/net/de4x5.c | memcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len); |
rx_ring | 1214 | drivers/net/de4x5.c | memcpy(skb_put(skb,pkt_len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), pkt_len); |
rx_ring | 1249 | drivers/net/de4x5.c | lp->rx_ring[lp->rx_old].status = R_OWN; |
rx_ring | 1252 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
rx_ring | 3372 | drivers/net/de4x5.c | printk("\t0x%8.8lx 0x%8.8lx\n",(u_long)lp->rx_ring,(u_long)lp->tx_ring); |
rx_ring | 3376 | drivers/net/de4x5.c | printk("0x%8.8lx ",(u_long)&lp->rx_ring[i].status); |
rx_ring | 3379 | drivers/net/de4x5.c | printk("...0x%8.8lx\n",(u_long)&lp->rx_ring[i].status); |
rx_ring | 3390 | drivers/net/de4x5.c | printk("0x%8.8x ",lp->rx_ring[i].buf); |
rx_ring | 3393 | drivers/net/de4x5.c | printk("...0x%8.8x\n",lp->rx_ring[i].buf); |
rx_ring | 3676 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)lp->rx_ring; j+=4; |
rx_ring | 3681 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 3684 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 3694 | drivers/net/de4x5.c | tmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4; |
rx_ring | 3697 | drivers/net/de4x5.c | tmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4; |
rx_ring | 3706 | drivers/net/de4x5.c | tmp.lval[j>>2] = lp->rx_ring[i].status; j+=4; |
rx_ring | 331 | drivers/net/depca.c | u32 rx_ring; /* Rx ring base pointer & ring length */ |
rx_ring | 342 | drivers/net/depca.c | struct depca_rx_desc *rx_ring; /* Pointer to start of RX descriptor ring */ |
rx_ring | 557 | drivers/net/depca.c | lp->rx_ring = (struct depca_rx_desc *)mem_start; |
rx_ring | 750 | drivers/net/depca.c | writel((p=lp->dma_buffs+i*RX_BUFF_SZ) | R_OWN, &lp->rx_ring[i].base); |
rx_ring | 751 | drivers/net/depca.c | writew(-RX_BUFF_SZ, &lp->rx_ring[i].buf_length); |
rx_ring | 761 | drivers/net/depca.c | lp->init_block.rx_ring = ((u32)((u_long)lp->rx_ring)&LA_MASK) | lp->rx_rlen; |
rx_ring | 897 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
rx_ring | 899 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
rx_ring | 911 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
rx_ring | 971 | drivers/net/depca.c | writel(readl(&lp->rx_ring[lp->rx_old].base) | R_OWN, |
rx_ring | 972 | drivers/net/depca.c | &lp->rx_ring[lp->rx_old].base); |
rx_ring | 974 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
rx_ring | 1633 | drivers/net/depca.c | printk("\t0x%lx 0x%lx\n",(u_long)lp->rx_ring, (u_long)lp->tx_ring); |
rx_ring | 1637 | drivers/net/depca.c | printk("0x%8.8lx ", (long) &lp->rx_ring[i].base); |
rx_ring | 1640 | drivers/net/depca.c | printk("...0x%8.8lx\n", (long) &lp->rx_ring[i].base); |
rx_ring | 1651 | drivers/net/depca.c | printk("0x%8.8x ", readl(&lp->rx_ring[i].base)); |
rx_ring | 1654 | drivers/net/depca.c | printk("...0x%8.8x\n", readl(&lp->rx_ring[i].base)); |
rx_ring | 1674 | drivers/net/depca.c | printk("\trx_ring at: 0x%8.8x\n",readl(&p->rx_ring)); |
rx_ring | 206 | drivers/net/lance.c | unsigned rx_ring; /* Tx and Rx ring base pointers */ |
rx_ring | 212 | drivers/net/lance.c | struct lance_rx_head rx_ring[RX_RING_SIZE]; |
rx_ring | 445 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 620 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
rx_ring | 695 | drivers/net/lance.c | lp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000; |
rx_ring | 696 | drivers/net/lance.c | lp->rx_ring[i].buf_length = -PKT_BUF_SZ; |
rx_ring | 709 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 753 | drivers/net/lance.c | lp->rx_ring[i].base, -lp->rx_ring[i].buf_length, |
rx_ring | 754 | drivers/net/lance.c | lp->rx_ring[i].msg_length); |
rx_ring | 987 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
rx_ring | 988 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
rx_ring | 1001 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
rx_ring | 1006 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
rx_ring | 1021 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
rx_ring | 1027 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
rx_ring | 1036 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
rx_ring | 1045 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
rx_ring | 1046 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
rx_ring | 140 | drivers/net/tulip.c | struct tulip_rx_desc rx_ring[RX_RING_SIZE]; |
rx_ring | 319 | 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_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len); |
rx_ring | 627 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |