tag | line | file | source code |
rx_ring | 358 | drivers/net/de4x5.c | struct de4x5_desc rx_ring[NUM_RX_DESC]; /* RX descriptor ring */ |
rx_ring | 636 | drivers/net/de4x5.c | lp->rx_ring[i].status = 0; |
rx_ring | 637 | drivers/net/de4x5.c | lp->rx_ring[i].des1 = RX_BUFF_SZ; |
rx_ring | 638 | drivers/net/de4x5.c | lp->rx_ring[i].buf = virt_to_bus(tmp + i * RX_BUFF_SZ); |
rx_ring | 639 | drivers/net/de4x5.c | lp->rx_ring[i].next = (u32)NULL; |
rx_ring | 650 | drivers/net/de4x5.c | lp->rx_ring[lp->rxRingSize - 1].des1 |= RD_RER; |
rx_ring | 654 | drivers/net/de4x5.c | outl(virt_to_bus(lp->rx_ring), DE4X5_RRBA); |
rx_ring | 744 | drivers/net/de4x5.c | kfree_s(bus_to_virt(lp->rx_ring[0].buf), |
rx_ring | 792 | drivers/net/de4x5.c | printk("\t0x%8.8lx 0x%8.8lx\n",(u_long)lp->rx_ring,(u_long)lp->tx_ring); |
rx_ring | 796 | drivers/net/de4x5.c | printk("0x%8.8lx ",(u_long)&lp->rx_ring[i].status); |
rx_ring | 799 | drivers/net/de4x5.c | printk("...0x%8.8lx\n",(u_long)&lp->rx_ring[i].status); |
rx_ring | 810 | drivers/net/de4x5.c | printk("0x%8.8x ",lp->rx_ring[i].buf); |
rx_ring | 813 | drivers/net/de4x5.c | printk("...0x%8.8x\n",lp->rx_ring[i].buf); |
rx_ring | 894 | drivers/net/de4x5.c | outl(virt_to_bus(lp->rx_ring), DE4X5_RRBA); |
rx_ring | 901 | drivers/net/de4x5.c | lp->rx_ring[i].status = R_OWN; |
rx_ring | 1141 | drivers/net/de4x5.c | for (entry = lp->rx_new; lp->rx_ring[entry].status >= 0;entry = lp->rx_new) { |
rx_ring | 1142 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
rx_ring | 1156 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
rx_ring | 1164 | drivers/net/de4x5.c | memcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len); |
rx_ring | 1165 | drivers/net/de4x5.c | memcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len); |
rx_ring | 1167 | drivers/net/de4x5.c | memcpy(skb_put(skb,pkt_len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), pkt_len); |
rx_ring | 1207 | drivers/net/de4x5.c | lp->rx_ring[lp->rx_old].status = R_OWN; |
rx_ring | 1210 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
rx_ring | 2677 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)lp->rx_ring; j+=4; |
rx_ring | 2682 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 2685 | drivers/net/de4x5.c | tmp.lval[j>>2] = (long)&lp->rx_ring[i].status; j+=4; |
rx_ring | 2695 | drivers/net/de4x5.c | tmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4; |
rx_ring | 2698 | drivers/net/de4x5.c | tmp.lval[j>>2] = (s32)lp->rx_ring[i].buf; j+=4; |
rx_ring | 2707 | drivers/net/de4x5.c | tmp.lval[j>>2] = lp->rx_ring[i].status; j+=4; |
rx_ring | 2769 | drivers/net/de4x5.c | kfree_s(bus_to_virt(lp->rx_ring[0].buf), RX_BUFF_SZ * NUM_RX_DESC + ALIGN); |
rx_ring | 316 | drivers/net/depca.c | u32 rx_ring; /* Rx ring base pointer & ring length */ |
rx_ring | 327 | drivers/net/depca.c | struct depca_rx_desc *rx_ring; /* Pointer to start of RX descriptor ring */ |
rx_ring | 528 | drivers/net/depca.c | lp->rx_ring = (struct depca_rx_desc *)mem_start; |
rx_ring | 688 | drivers/net/depca.c | printk("\t0x%lx 0x%lx\n",(u_long)lp->rx_ring, (u_long)lp->tx_ring); |
rx_ring | 692 | drivers/net/depca.c | printk("0x%8.8lx ", (long) &lp->rx_ring[i].base); |
rx_ring | 695 | drivers/net/depca.c | printk("...0x%8.8lx\n", (long) &lp->rx_ring[i].base); |
rx_ring | 706 | drivers/net/depca.c | printk("0x%8.8x ", readl(&lp->rx_ring[i].base)); |
rx_ring | 709 | drivers/net/depca.c | printk("...0x%8.8x\n", readl(&lp->rx_ring[i].base)); |
rx_ring | 730 | drivers/net/depca.c | printk("\trx_ring at: 0x%8.8x\n",readl(&p->rx_ring)); |
rx_ring | 784 | drivers/net/depca.c | writel((p=lp->dma_buffs+i*RX_BUFF_SZ) | R_OWN, &lp->rx_ring[i].base); |
rx_ring | 785 | drivers/net/depca.c | writew(-RX_BUFF_SZ, &lp->rx_ring[i].buf_length); |
rx_ring | 795 | drivers/net/depca.c | lp->init_block.rx_ring = ((u32)((u_long)lp->rx_ring)&LA_MASK) | lp->rx_rlen; |
rx_ring | 931 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
rx_ring | 933 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
rx_ring | 945 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
rx_ring | 1002 | drivers/net/depca.c | writel(readl(&lp->rx_ring[lp->rx_old].base) | R_OWN, |
rx_ring | 1003 | drivers/net/depca.c | &lp->rx_ring[lp->rx_old].base); |
rx_ring | 1005 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
rx_ring | 184 | drivers/net/lance.c | unsigned rx_ring; /* Tx and Rx ring base pointers */ |
rx_ring | 191 | drivers/net/lance.c | struct lance_rx_head rx_ring[RX_RING_SIZE]; |
rx_ring | 423 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 598 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
rx_ring | 673 | drivers/net/lance.c | lp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000; |
rx_ring | 674 | drivers/net/lance.c | lp->rx_ring[i].buf_length = -PKT_BUF_SZ; |
rx_ring | 687 | drivers/net/lance.c | lp->init_block.rx_ring = (int)lp->rx_ring | RX_RING_LEN_BITS; |
rx_ring | 731 | drivers/net/lance.c | lp->rx_ring[i].base, -lp->rx_ring[i].buf_length, |
rx_ring | 732 | drivers/net/lance.c | lp->rx_ring[i].msg_length); |
rx_ring | 965 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
rx_ring | 966 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
rx_ring | 979 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
rx_ring | 982 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
rx_ring | 989 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
rx_ring | 994 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
rx_ring | 1003 | 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 | 144 | drivers/net/tulip.c | struct tulip_rx_desc rx_ring[RX_RING_SIZE]; |
rx_ring | 327 | drivers/net/tulip.c | outl((int)tp->rx_ring, ioaddr + CSR3); |
rx_ring | 369 | drivers/net/tulip.c | tp->rx_ring[i].status = 0x80000000; /* Owned by Tulip chip */ |
rx_ring | 370 | drivers/net/tulip.c | tp->rx_ring[i].length = PKT_BUF_SZ; |
rx_ring | 371 | drivers/net/tulip.c | tp->rx_ring[i].buffer1 = (char *)(tp->rx_buffs + i*PKT_BUF_SZ); |
rx_ring | 372 | drivers/net/tulip.c | tp->rx_ring[i].buffer2 = (char *)&tp->rx_ring[i+1]; |
rx_ring | 375 | drivers/net/tulip.c | tp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000; |
rx_ring | 376 | drivers/net/tulip.c | tp->rx_ring[i-1].buffer2 = (char *)&tp->rx_ring[0]; |
rx_ring | 401 | drivers/net/tulip.c | printk(" Rx ring %8.8x: ", (int)tp->rx_ring); |
rx_ring | 403 | drivers/net/tulip.c | printk(" %8.8x", (unsigned int)tp->rx_ring[i].status); |
rx_ring | 593 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
rx_ring | 594 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
rx_ring | 610 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
rx_ring | 619 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
rx_ring | 624 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
rx_ring | 631 | drivers/net/tulip.c | memcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len); |
rx_ring | 637 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |