Searched refs:tx_ring (Results 1 – 4 of 4) sorted by relevance
199 static struct TxFD tx_ring[NUM_TX_DESC]; /* TX descriptor ring */ variable523 cfg_cmd = (struct descriptor *) &tx_ring[tx_cur]; in eepro100_init()526 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()536 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init()540 !(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_C); in eepro100_init()548 if (!(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_OK)) { in eepro100_init()550 le16_to_cpu (tx_ring[tx_cur].status)); in eepro100_init()559 ias_cmd = (struct descriptor *) &tx_ring[tx_cur]; in eepro100_init()562 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()573 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init()[all …]
136 static struct de4x5_desc tx_ring[NUM_TX_DESC] __attribute__ ((aligned(32))); /* TX descriptor ring … variable345 tx_ring[i].status = 0; in dc21x4x_init()346 tx_ring[i].des1 = 0; in dc21x4x_init()347 tx_ring[i].buf = 0; in dc21x4x_init()350 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init()352 tx_ring[i].next = 0; in dc21x4x_init()361 tx_ring[txRingSize - 1].des1 |= cpu_to_le32(TD_TER); in dc21x4x_init()365 OUTL(dev, phys_to_bus((u32) &tx_ring), DE4X5_TRBA); in dc21x4x_init()387 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send()394 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) packet)); in dc21x4x_send()[all …]
69 u32 tx_ring; member75 struct pcnet_tx_head tx_ring[TX_RING_SIZE]; member378 uc->tx_ring[i].base = 0; in pcnet_init()379 uc->tx_ring[i].status = 0; in pcnet_init()396 addr = pcnet_virt_to_mem(dev, uc->tx_ring); in pcnet_init()397 uc->init_block.tx_ring = cpu_to_le32(addr); in pcnet_init()401 uc->init_block.rx_ring, uc->init_block.tx_ring); in pcnet_init()438 struct pcnet_tx_head *entry = &lp->uc->tx_ring[lp->cur_tx]; in pcnet_send()
114 struct macb_dma_desc *tx_ring; member327 macb->tx_ring[tx_head].ctrl = ctrl; in _macb_send()328 macb->tx_ring[tx_head].addr = paddr; in _macb_send()342 ctrl = macb->tx_ring[tx_head].ctrl; in _macb_send()681 macb->tx_ring[i].addr = 0; in _macb_init()683 macb->tx_ring[i].ctrl = TXBUF_USED | TXBUF_WRAP; in _macb_init()685 macb->tx_ring[i].ctrl = TXBUF_USED; in _macb_init()877 macb->tx_ring = dma_alloc_coherent(MACB_TX_DMA_DESC_SIZE, in _macb_eth_initialize()