Searched refs:tx_ring (Results 1 – 7 of 7) sorted by relevance
/external/grub/netboot/ |
D | epic100.c | 84 static struct epic_tx_desc tx_ring[TX_RING_SIZE]; variable 241 outl(virt_to_bus(&tx_ring), ptcdar); in epic100_open() 277 tx_ring[i].status = 0; /* Owned by CPU */ in epic100_init_ring() 278 tx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i)); in epic100_init_ring() 279 tx_ring[i].control = TD_STDFLAGS; in epic100_init_ring() 280 tx_ring[i].next = virt_to_bus(&(tx_ring[i + 1]) ); in epic100_init_ring() 282 tx_ring[i-1].next = virt_to_bus(&tx_ring[0]); in epic100_init_ring() 305 if ((tx_ring[entry].status & TRING_OWN) == TRING_OWN) { in epic100_transmit() 307 tx_ring[entry].status); in epic100_transmit() 313 txp = (char*)tx_ring[entry].bufaddr; in epic100_transmit() [all …]
|
D | depca.c | 444 u32 tx_ring; /* Tx ring base pointer & ring length */ member 449 struct depca_tx_desc *tx_ring; member 488 …writel((p = lp.dma_buffs + (i + lp.txRingMask + 1) * TX_BUFF_SZ) & 0x00ffffff, &lp.tx_ring[i].base… in depca_init_ring() 494 lp.init_block.tx_ring = ((u32) ((u32) lp.tx_ring) & LA_MASK) | lp.tx_rlen; in depca_init_ring() 558 lp.tx_ring = (struct depca_tx_desc *) mem_start; in depca_reset() 630 writel(readl(&lp.tx_ring[entry].base) & ~T_FLAGS, &lp.tx_ring[entry].base); in depca_transmit() 632 writew(0x0000, &lp.tx_ring[entry].misc); in depca_transmit() 634 writew(-len, &lp.tx_ring[entry].length); in depca_transmit() 636 writel(readl(&lp.tx_ring[entry].base) | (T_STP|T_ENP|T_OWN), &lp.tx_ring[entry].base); in depca_transmit()
|
D | lance.c | 59 Address tx_ring; member 86 struct lance_tx_head tx_ring; member 354 lp->tx_ring.buf_length = -s; in lance_transmit() 355 lp->tx_ring.misc = 0x0; in lance_transmit() 357 lp->tx_ring.u.base = virt_to_bus(lp->tbuf) & 0xffffff; in lance_transmit() 359 lp->tx_ring.u.addr[3] = 0x83; in lance_transmit() 370 while (currticks() < time && (lp->tx_ring.u.base & 0x80000000) != 0) in lance_transmit() 372 if ((lp->tx_ring.u.base & 0x80000000) != 0) in lance_transmit() 378 lp->tx_ring.u.base, lp->tx_ring.buf_length, lp->tx_ring.misc, in lance_transmit() 440 lp->init_block.tx_ring = virt_to_bus(&lp->tx_ring) & 0xffffff; in lance_probe1()
|
D | fa311.c | 109 volatile struct netdev_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned (4))); member 170 writel(virt_to_bus(dev->tx_ring), dev->ioaddr + TxRingPtr); in fa311_probe() 281 txp = (char*)(dev->tx_ring[entry].addr); in fa311_transmit() 297 dev->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | len); in fa311_transmit() 309 desc_status = dev->tx_ring[entry].cmd_status; in fa311_transmit() 412 dev->tx_ring[i].next_desc = virt_to_le32desc(&dev->tx_ring[i+1]); in init_ring() 413 dev->tx_ring[i].cmd_status = 0; in init_ring() 415 dev->tx_ring[i-1].next_desc = virt_to_le32desc(&dev->tx_ring[0]); in init_ring() 418 dev->tx_ring[i].addr = (u32)(&tx_packet[PKT_BUF_SZ * i]); in init_ring()
|
D | w89c840.c | 234 struct w840_tx_desc tx_ring[TX_RING_SIZE]; member 328 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); in w89c840_reset() 522 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); in w89c840_transmit() 524 w840private.tx_ring[entry].length = (DescWholePkt | s); in w89c840_transmit() 526 w840private.tx_ring[entry].length |= (DescIntr | DescEndRing); in w89c840_transmit() 527 w840private.tx_ring[entry].status = (DescOwn); in w89c840_transmit() 548 transmit_status = w840private.tx_ring[entry].status; in w89c840_transmit() 566 transmit_status = w840private.tx_ring[entry].status; in w89c840_transmit() 579 TX_LOOP_COUNT - transmit_loop_counter, w840private.tx_ring[entry].status); in w89c840_transmit() 587 printf("winbond-840 : transmission TIMEOUT : status %X\n", w840private.tx_ring[entry].status); in w89c840_transmit() [all …]
|
D | via-rhine.c | 631 struct rhine_tx_desc *tx_ring; member 704 tp->tx_ring[i].tx_status.lw = 0; in rhine_init_ring() 705 tp->tx_ring[i].tx_ctrl.lw = 0x00e08000; in rhine_init_ring() 706 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); in rhine_init_ring() 707 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); in rhine_init_ring() 711 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[0]); in rhine_init_ring() 1034 tp->tx_ring = (struct rhine_tx_desc *) bus_to_virt (j); in rhine_reset() 1070 outl (virt_to_bus (tp->tx_ring), dwCurrentTxDescAddr); in rhine_reset() 1155 tp->tx_ring[entry].tx_ctrl.bits.tx_buf_size = ETH_HLEN + s; in rhine_transmit() 1157 tp->tx_ring[entry].tx_status.bits.own_bit = 1; in rhine_transmit()
|
D | tulip.c | 386 static struct tulip_tx_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned(4))); variable 925 tx_ring[0].status = 0x00000000; in tulip_init_ring() 926 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 927 tx_ring[0].buffer2 = virt_to_le32desc(&tx_ring[1]); in tulip_init_ring() 931 tx_ring[1].status = 0x00000000; in tulip_init_ring() 932 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 933 tx_ring[1].buffer2 = virt_to_le32desc(&tx_ring[0]); in tulip_init_ring() 936 tx_ring[1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN); in tulip_init_ring() 1019 tx_ring[0].length = cpu_to_le32(tx_flags); in tulip_reset() 1020 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_reset() [all …]
|