Searched refs:rx_ring (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/net/ |
D | pcnet.c | 68 u32 rx_ring; member 74 struct pcnet_rx_head rx_ring[RX_RING_SIZE]; member 363 uc->rx_ring[i].base = cpu_to_le32(addr); in pcnet_init() 364 uc->rx_ring[i].buf_length = cpu_to_le16(-PKT_BUF_SZ); in pcnet_init() 365 uc->rx_ring[i].status = cpu_to_le16(0x8000); in pcnet_init() 368 uc->rx_ring[i].base, uc->rx_ring[i].buf_length, in pcnet_init() 369 uc->rx_ring[i].status); in pcnet_init() 394 addr = pcnet_virt_to_mem(dev, uc->rx_ring); in pcnet_init() 395 uc->init_block.rx_ring = cpu_to_le32(addr); in pcnet_init() 401 uc->init_block.rx_ring, uc->init_block.tx_ring); in pcnet_init() [all …]
|
D | eepro100.c | 198 static struct RxFD rx_ring[NUM_RX_DESC]; /* RX descriptor ring */ variable 516 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init() 664 status = le16_to_cpu (rx_ring[rx_next].status); in eepro100_recv() 675 length = le32_to_cpu (rx_ring[rx_next].count) & 0x3fff; in eepro100_recv() 680 net_process_received_packet((u8 *)rx_ring[rx_next].data, in eepro100_recv() 688 rx_ring[rx_next].control = cpu_to_le16 (RFD_CONTROL_S); in eepro100_recv() 689 rx_ring[rx_next].status = 0; in eepro100_recv() 690 rx_ring[rx_next].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in eepro100_recv() 693 rx_ring[rx_prev].control = 0; in eepro100_recv() 713 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_recv() [all …]
|
D | rtl8139.c | 182 static unsigned char rx_ring[RX_BUF_LEN+16] __attribute__((aligned(4))); variable 388 "rx ring address is %lX\n",(unsigned long)rx_ring); in rtl_reset() 389 flush_cache((unsigned long)rx_ring, RX_BUF_LEN); in rtl_reset() 390 outl(phys_to_bus((int)rx_ring), ioaddr + RxBuf); in rtl_reset() 487 rx_status = le32_to_cpu(*(unsigned int *)(rx_ring + ring_offs)); in rtl_poll() 504 memcpy(rxdata, rx_ring + ring_offs + 4, semi_count); in rtl_poll() 505 memcpy(&(rxdata[semi_count]), rx_ring, rx_size-4-semi_count); in rtl_poll() 511 net_process_received_packet(rx_ring + ring_offs + 4, length); in rtl_poll() 514 flush_cache((unsigned long)rx_ring, RX_BUF_LEN); in rtl_poll()
|
D | dc2114x.c | 135 static struct de4x5_desc rx_ring[NUM_RX_DESC] __attribute__ ((aligned(32))); /* RX descriptor ring … variable 332 rx_ring[i].status = cpu_to_le32(R_OWN); in dc21x4x_init() 333 rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in dc21x4x_init() 334 rx_ring[i].buf = cpu_to_le32( in dc21x4x_init() 337 rx_ring[i].next = cpu_to_le32( in dc21x4x_init() 338 phys_to_bus((u32)&rx_ring[(i + 1) % NUM_RX_DESC])); in dc21x4x_init() 340 rx_ring[i].next = 0; in dc21x4x_init() 360 rx_ring[rxRingSize - 1].des1 |= cpu_to_le32(RD_RER); in dc21x4x_init() 364 OUTL(dev, phys_to_bus((u32) &rx_ring), DE4X5_RRBA); in dc21x4x_init() 429 status = (s32)le32_to_cpu(rx_ring[rx_new].status); in dc21x4x_recv() [all …]
|
D | macb.c | 113 struct macb_dma_desc *rx_ring; member 372 macb->rx_ring[i].addr &= ~RXADDR_USED; in reclaim_rx_buffers() 379 macb->rx_ring[i].addr &= ~RXADDR_USED; in reclaim_rx_buffers() 399 if (!(macb->rx_ring[next_rx_tail].addr & RXADDR_USED)) in _macb_recv() 402 status = macb->rx_ring[next_rx_tail].ctrl; in _macb_recv() 673 macb->rx_ring[i].addr = paddr; in _macb_init() 674 macb->rx_ring[i].ctrl = 0; in _macb_init() 875 macb->rx_ring = dma_alloc_coherent(MACB_RX_DMA_DESC_SIZE, in _macb_eth_initialize()
|