/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | atl1e.c | 260 struct atl1e_tx_ring *tx_ring = (struct atl1e_tx_ring *) local 261 &adapter->tx_ring; 263 u16 index, ring_count = tx_ring->count; 265 if (tx_ring->desc == NULL || tx_ring->tx_buffer == NULL) 269 tx_buffer = &tx_ring->tx_buffer[index]; 278 memset(tx_ring->desc, 0, sizeof(struct atl1e_tpd_desc) * 280 memset(tx_ring->tx_buffer, 0, sizeof(struct atl1e_tx_buffer) * 309 *ring_size = ((u32)(adapter->tx_ring.count * 341 struct atl1e_tx_ring *tx_ring local 392 struct atl1e_tx_ring *tx_ring; local 479 struct atl1e_tx_ring *tx_ring = local 716 struct atl1e_tx_ring *tx_ring = (struct atl1e_tx_ring *) local 901 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; local 920 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; local 934 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; local 959 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; local [all...] |
H A D | epic100.c | 92 struct epic_tx_desc tx_ring[TX_RING_SIZE] member in struct:__anon15162 98 #define tx_ring epic100_bufs.tx_ring macro 255 outl(virt_to_le32desc(&tx_ring), ptcdar); 287 tx_ring[i].status = 0x0000; /* Owned by CPU */ 288 tx_ring[i].buflength = 0x0000 | cpu_to_le32(TD_STDFLAGS << 16); 289 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]); 290 tx_ring[i].next = virt_to_le32desc(&tx_ring[i + 1]); 292 tx_ring[ [all...] |
H A D | depca.c | 445 u32 tx_ring; /* Tx ring base pointer & ring length */ 450 struct depca_tx_desc *tx_ring; 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; 633 writel(readl(&lp.tx_ring[entry].base) & ~T_FLAGS, &lp.tx_ring[entry].base); 635 writew(0x0000, &lp.tx_ring[entry].misc); 637 writew(-len, &lp.tx_ring[entr [all...] |
H A D | w89c840.c | 236 struct w840_tx_desc tx_ring[TX_RING_SIZE]; member in struct:winbond_private 320 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); 520 w840private.tx_ring[entry].buffer1 523 w840private.tx_ring[entry].length = (DescWholePkt | (u32) s); 525 w840private.tx_ring[entry].length |= (DescIntr | DescEndRing); 526 w840private.tx_ring[entry].status = (DescOwn); 547 transmit_status = w840private.tx_ring[entry].status; 562 transmit_status = w840private.tx_ring[entry].status; 573 w840private.tx_ring[entry].status); 582 (unsigned int) w840private.tx_ring[entr [all...] |
H A D | amd8111e.c | 98 struct amd8111e_tx_desc tx_ring[NUM_TX_SLOTS]; member in struct:amd8111e_priv 250 writel(virt_to_bus(lp->tx_ring), mmio + XMT_RING_BASE_ADDR0); 432 lp->tx_ring[i].tx_flags = 0; 433 lp->tx_ring[i].buf_phy_addr = 0; 434 lp->tx_ring[i].buf_len = 0; 445 status = le16_to_cpu(lp->tx_ring[index].tx_flags); 448 status = le16_to_cpu(lp->tx_ring[index].tx_flags); 558 lp->tx_ring[index].buf_len = cpu_to_le16(ETH_HLEN + size); 559 lp->tx_ring[index].buf_phy_addr = cpu_to_le32(virt_to_bus(frame)); 561 lp->tx_ring[inde [all...] |
H A D | via-rhine.c | 663 struct rhine_tx_desc *tx_ring; member in struct:rhine_private 743 tp->tx_ring[i].tx_status.lw = 0; 744 tp->tx_ring[i].tx_ctrl.lw = 0x00e08000; 745 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); 746 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); 747 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->tx_ring[i].buf_addr_1,tp->tx_ring[i].buf_addr_2); */ 750 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[ [all...] |
H A D | 3c90x.c | 251 p->tx_ring = 254 if (!p->tx_ring) { 259 memset(p->tx_ring, 0, TX_RING_SIZE * sizeof(struct TXD)); 290 if(downlist_ptr == virt_to_bus(p->tx_ring + p->tx_tail)) 307 free_dma(p->tx_ring, TX_RING_SIZE * sizeof(struct TXD)); 308 p->tx_ring = NULL; 338 tx_cur_desc = inf_3c90x->tx_ring + inf_3c90x->tx_cur; 340 tx_prev_desc = inf_3c90x->tx_ring +
|
H A D | sundance.c | 237 static struct netdev_desc tx_ring[TX_RING_SIZE]; variable in typeref:struct:netdev_desc 355 tx_ring[0].status = 0x00000000; 356 tx_ring[0].addr = virt_to_bus(&txb[0]); 357 tx_ring[0].next_desc = 0; /* virt_to_bus(&tx_ring[1]); */ 360 tx_ring[1].status = 0x00000000; 361 tx_ring[1].addr = 0; /*virt_to_bus(&txb[0]); */ 362 tx_ring[1].next_desc = 0; 366 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ); 522 tx_ring[ [all...] |
H A D | pcnet32.h | 115 u32 tx_ring; member in struct:pcnet32_init_block
|
H A D | tulip.c | 431 struct tulip_tx_desc tx_ring[TX_RING_SIZE]; 437 #define tx_ring tulip_bss.tx_ring 897 tx_ring[0].status = 0x00000000; 898 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); 899 tx_ring[0].buffer2 = virt_to_le32desc(&tx_ring[1]); 903 tx_ring[1].status = 0x00000000; 904 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); 905 tx_ring[ 430 struct tulip_tx_desc tx_ring[TX_RING_SIZE]; member in struct:__anon15459 436 #define tx_ring macro [all...] |
H A D | 3c90x.h | 297 unsigned int tx_cur; /* current entry in tx_ring */ 301 struct TXD *tx_ring; member in struct:INF_3C90X
|
H A D | skge.c | 1701 free(skge->tx_ring.start); 1702 skge->tx_ring.start = NULL; 1744 err = skge_ring_alloc(&skge->tx_ring, skge->mem + RX_RING_SIZE, 1762 assert(!(skge->tx_ring.to_use != skge->tx_ring.to_clean)); 1764 skge_qset(skge, txqaddr[port], skge->tx_ring.to_use); 1874 if (skge_tx_avail(&skge->tx_ring) < 1) 1877 e = skge->tx_ring.to_use; 1898 dev->name, e - skge->tx_ring.start, (unsigned int)len); 1900 skge->tx_ring [all...] |
H A D | tlan.c | 191 struct TLanList tx_ring[TLAN_NUM_TX_LISTS]; member in struct:__anon15458 196 #define tx_ring tlan_buffers.tx_ring macro 259 list = &tx_ring[i]; 606 tx_ring[entry].cStat = TLAN_CSTAT_UNUSED; 851 priv->txList = tx_ring;
|
H A D | forcedeth.c | 189 priv->tx_ring[i].flaglen = 0; 190 priv->tx_ring[i].buf = 0; 272 priv->tx_ring = &priv->rx_ring[RX_RING_SIZE]; 284 writel ( cpu_to_le32 ( virt_to_bus ( priv->tx_ring ) ), 290 virt_to_bus ( priv->tx_ring ) ); 816 tx_curr_desc = priv->tx_ring + priv->tx_curr; 863 tx_curr_desc = priv->tx_ring + priv->tx_tail;
|
H A D | sky2.c | 890 return sky2->tx_ring + (le - sky2->tx_le); 1118 free(sky2->tx_ring); 1124 sky2->tx_ring = NULL; 1145 sky2->tx_ring = zalloc(TX_RING_SIZE * sizeof(struct tx_ring_info)); 1146 if (!sky2->tx_ring) 1290 struct tx_ring_info *re = sky2->tx_ring + idx;
|
H A D | forcedeth.h | 324 struct ring_desc *tx_ring; member in struct:forcedeth_private
|
H A D | 3c515.c | 205 alignment contraint on tx_ring[] and rx_ring[]. */ 231 struct boom_tx_desc tx_ring[TX_RING_SIZE]; member in struct:corkscrew_private
|
H A D | via-velocity.c | 210 static u8 tx_ring[TX_DESC_DEF * sizeof(struct tx_desc) + 64]; variable 1240 vptr->TxDescArrays = tx_ring; 1274 printf("Allocate tx_ring or rd_ring failed\n");
|
H A D | atl1e.h | 235 struct atl1e_tx_ring tx_ring; member in struct:atl1e_adapter
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/rtl818x/ |
H A D | rtl818x.c | 123 struct rtl818x_tx_desc *entry = &priv->tx_ring[priv->tx_cons]; 189 entry = &priv->tx_ring[priv->tx_prod]; 376 priv->tx_ring = malloc_dma(sizeof(*priv->tx_ring) * RTL818X_TX_RING_SIZE, 378 priv->tx_ring_dma = virt_to_bus(priv->tx_ring); 379 if (!priv->tx_ring) { 384 memset(priv->tx_ring, 0, sizeof(*priv->tx_ring) * RTL818X_TX_RING_SIZE); 388 priv->tx_ring[i].next_tx_desc = cpu_to_le32(priv->tx_ring_dma + 389 ((i + 1) % RTL818X_TX_RING_SIZE) * sizeof(*priv->tx_ring)); [all...] |
H A D | rtl818x.h | 294 struct rtl818x_tx_desc *tx_ring; member in struct:rtl818x_priv
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/ |
H A D | tg3.c | 57 if (tp->tx_ring) { 58 free_dma(tp->tx_ring, TG3_TX_RING_BYTES); 59 tp->tx_ring = NULL; 112 tp->tx_ring = malloc_dma(TG3_TX_RING_BYTES, TG3_DMA_ALIGNMENT); 113 if (!tp->tx_ring) 115 tp->tx_desc_mapping = virt_to_bus(tp->tx_ring); 217 if (tp->tx_ring) 218 memset(tp->tx_ring, 0, TG3_TX_RING_BYTES);
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/ |
H A D | igbvf.h | 189 struct igbvf_ring *tx_ring /* One per active queue */
|
/vbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/UndiRuntimeDxe/ |
H A D | E100b.h | 460 TxCB tx_ring[TX_BUFFER_COUNT]; member in struct:Krn_Mem 605 TxCB *tx_ring; // array of tx buffers member in struct:s_data_instance
|
H A D | E100b.c | 775 AdapterInfo->tx_ring = (TxCB *) (UINTN) (AdapterInfo->MemoryPtr + rx_size); 1452 cur_ptr = &(AdapterInfo->tx_ring[0]);
|