/external/grub/netboot/ |
epic100.c | 83 static struct epic_rx_desc rx_ring[RX_RING_SIZE]; variable in typeref:struct:epic_rx_desc 240 outl(virt_to_bus(&rx_ring), prcdar); 261 rx_ring[i].status = RRING_OWN; /* Owned by Epic chip */ 262 rx_ring[i].buflength = PKT_BUF_SZ; 263 rx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i)); 264 rx_ring[i].control = 0; 265 rx_ring[i].next = virt_to_bus(&(rx_ring[i + 1]) ); 268 rx_ring[i-1].next = virt_to_bus(&rx_ring[0]) [all...] |
fa311.c | 108 volatile struct netdev_desc rx_ring[RX_RING_SIZE] __attribute__ ((aligned (4))); member in struct:FA311_DEV 169 writel(virt_to_bus(dev->rx_ring), dev->ioaddr + RxRingPtr); 241 desc_status = dev->rx_ring[entry].cmd_status; 254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen); 258 dev->rx_ring[entry].cmd_status = cpu_to_le32(dev->rx_buf_sz); 262 dev->rx_head_desc = &dev->rx_ring[dev->cur_rx]; 395 dev->rx_head_desc = &dev->rx_ring[0]; 399 dev->rx_ring[i].next_desc = virt_to_le32desc(&dev->rx_ring[i+1]); 400 dev->rx_ring[i].cmd_status = DescOwn [all...] |
w89c840.c | 233 struct w840_rx_desc rx_ring[RX_RING_SIZE]; member in struct:winbond_private 327 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr); 457 memcpy(nic->packet, le32desc_to_virt(w840private.rx_ring[entry].buffer1), pkt_len); 461 w840private.rx_ring[entry].status = DescOwn; 479 w840private.rx_head_desc = &w840private.rx_ring[entry]; 909 w840private.rx_head_desc = &w840private.rx_ring[0]; 916 w840private.rx_ring[i].length = w840private.rx_buf_sz; 917 w840private.rx_ring[i].status = 0; 918 w840private.rx_ring[i].next_desc = virt_to_le32desc(&w840private.rx_ring[i+1]) [all...] |
depca.c | 443 u32 rx_ring; /* Rx ring base pointer & ring length */ member in struct:depca_init 448 struct depca_rx_desc *rx_ring; member in struct:depca_private 483 writel((p = lp.dma_buffs + i * RX_BUFF_SZ) | R_OWN, &lp.rx_ring[i].base); 484 writew(-RX_BUFF_SZ, &lp.rx_ring[i].buf_length); 493 lp.init_block.rx_ring = ((u32) ((u32) lp.rx_ring) & LA_MASK) | lp.rx_rlen; 556 lp.rx_ring = (struct depca_rx_desc *) mem_start; 594 if ((status = readl(&lp.rx_ring[entry].base) & R_OWN)) 596 memcpy(nic->packet, lp.rx_memcpy[entry], nic->packetlen = lp.rx_ring[entry].msg_length); 597 lp.rx_ring[entry].base |= R_OWN [all...] |
lance.c | 58 Address rx_ring; member in struct:lance_init_block 85 struct lance_rx_head rx_ring[RX_RING_SIZE]; member in struct:lance_interface 265 lp->rx_ring[i].buf_length = -ETH_FRAME_LEN-4; 267 lp->rx_ring[i].u.base = virt_to_bus(lp->rbuf[i]) & 0xffffff; 269 lp->rx_ring[i].u.addr[3] = 0x80; 306 status = lp->rx_ring[lp->rx_idx].u.base >> 24; 310 printf("LANCE packet received rx_ring.u.base %X mcnt %hX csr0 %hX\n", 311 lp->rx_ring[lp->rx_idx].u.base, lp->rx_ring[lp->rx_idx].msg_length, 315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length) [all...] |
rtl8139.c | 169 #define rx_ring ((unsigned char *)(0x10000 - (RX_BUF_LEN + 16))) macro 171 static unsigned char rx_ring[RX_BUF_LEN+16] __attribute__((aligned(4))); variable 317 printf("rx ring address is %X\n",(unsigned long)rx_ring); 319 outl((unsigned long)rx_ring, ioaddr + RxBuf); 408 rx_status = *(unsigned int*)(rx_ring + ring_offs); 424 memcpy(nic->packet, rx_ring + ring_offs + 4, semi_count); 425 memcpy(nic->packet+semi_count, rx_ring, rx_size-4-semi_count); 430 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen); 437 (unsigned long)(rx_ring+ring_offs+4),
|
via-rhine.c | 630 struct rhine_rx_desc *rx_ring; member in struct:rhine_private 686 tp->rx_ring[i].rx_status.bits.own_bit = 1; 687 tp->rx_ring[i].rx_ctrl.bits.rx_buf_size = 1536; 689 tp->rx_ring[i].buf_addr_1 = virt_to_bus (tp->rx_buffs[i]); 690 tp->rx_ring[i].buf_addr_2 = virt_to_bus (&tp->rx_ring[i + 1]); 691 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->rx_ring[i].buf_addr_1,tp->rx_ring[i].buf_addr_2); */ 694 /* tp->rx_ring[i-1].rx_ctrl.bits.rx_buf_size =1518; */ 695 tp->rx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->rx_ring[0]) [all...] |
tulip.c | 396 static struct tulip_rx_desc rx_ring[RX_RING_SIZE] __attribute__ ((aligned(4))); 395 static struct tulip_rx_desc rx_ring[RX_RING_SIZE] __attribute__ ((aligned(4))); variable in typeref:struct:tulip_rx_desc [all...] |