/external/grub/netboot/ |
epic100.c | 84 static struct epic_tx_desc tx_ring[TX_RING_SIZE]; variable in typeref:struct:epic_tx_desc 241 outl(virt_to_bus(&tx_ring), ptcdar); 277 tx_ring[i].status = 0; /* Owned by CPU */ 278 tx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i)); 279 tx_ring[i].control = TD_STDFLAGS; 280 tx_ring[i].next = virt_to_bus(&(tx_ring[i + 1]) ); 282 tx_ring[i-1].next = virt_to_bus(&tx_ring[0]); 305 if ((tx_ring[entry].status & TRING_OWN) == TRING_OWN) [all...] |
depca.c | 444 u32 tx_ring; /* Tx ring base pointer & ring length */ member in struct:depca_init 449 struct depca_tx_desc *tx_ring; member in struct:depca_private 488 writel((p = lp.dma_buffs + (i + lp.txRingMask + 1) * TX_BUFF_SZ) & 0x00ffffff, &lp.tx_ring[i].base); 494 lp.init_block.tx_ring = ((u32) ((u32) lp.tx_ring) & LA_MASK) | lp.tx_rlen; 558 lp.tx_ring = (struct depca_tx_desc *) mem_start; 630 writel(readl(&lp.tx_ring[entry].base) & ~T_FLAGS, &lp.tx_ring[entry].base); 632 writew(0x0000, &lp.tx_ring[entry].misc); 634 writew(-len, &lp.tx_ring[entry].length) [all...] |
fa311.c | 109 volatile struct netdev_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned (4))); member in struct:FA311_DEV 170 writel(virt_to_bus(dev->tx_ring), dev->ioaddr + TxRingPtr); 281 txp = (char*)(dev->tx_ring[entry].addr); 297 dev->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | len); 309 desc_status = dev->tx_ring[entry].cmd_status; 412 dev->tx_ring[i].next_desc = virt_to_le32desc(&dev->tx_ring[i+1]); 413 dev->tx_ring[i].cmd_status = 0; 415 dev->tx_ring[i-1].next_desc = virt_to_le32desc(&dev->tx_ring[0]) [all...] |
lance.c | 59 Address tx_ring; member in struct:lance_init_block 86 struct lance_tx_head tx_ring; member in struct:lance_interface 354 lp->tx_ring.buf_length = -s; 355 lp->tx_ring.misc = 0x0; 357 lp->tx_ring.u.base = virt_to_bus(lp->tbuf) & 0xffffff; 359 lp->tx_ring.u.addr[3] = 0x83; 370 while (currticks() < time && (lp->tx_ring.u.base & 0x80000000) != 0) 372 if ((lp->tx_ring.u.base & 0x80000000) != 0) 377 printf("tx_ring.u.base %X tx_ring.buf_length %hX tx_ring.misc %hX csr0 %hX\n" [all...] |
w89c840.c | 234 struct w840_tx_desc tx_ring[TX_RING_SIZE]; member in struct:winbond_private 328 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); 522 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); 524 w840private.tx_ring[entry].length = (DescWholePkt | s); 526 w840private.tx_ring[entry].length |= (DescIntr | DescEndRing); 527 w840private.tx_ring[entry].status = (DescOwn); 548 transmit_status = w840private.tx_ring[entry].status; 566 transmit_status = w840private.tx_ring[entry].status; 579 TX_LOOP_COUNT - transmit_loop_counter, w840private.tx_ring[entry].status); 587 printf("winbond-840 : transmission TIMEOUT : status %X\n", w840private.tx_ring[entry].status) [all...] |
via-rhine.c | 631 struct rhine_tx_desc *tx_ring; member in struct:rhine_private 704 tp->tx_ring[i].tx_status.lw = 0; 705 tp->tx_ring[i].tx_ctrl.lw = 0x00e08000; 706 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); 707 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); 708 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->tx_ring[i].buf_addr_1,tp->tx_ring[i].buf_addr_2); */ 711 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[0]) [all...] |
tulip.c | 387 static struct tulip_tx_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned(4))); 386 static struct tulip_tx_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned(4))); variable in typeref:struct:tulip_tx_desc [all...] |