Searched refs:tx_bd (Results 1 – 7 of 7) sorted by relevance
| /drivers/net/ |
| A D | xilinx_axi_mrmac.c | 270 memset(priv->tx_bd[0], 0, TX_BD_TOTAL_SIZE); in axi_mrmac_send() 272 priv->tx_bd[0]->next_desc = lower_32_bits((u64)priv->tx_bd[1]); in axi_mrmac_send() 273 priv->tx_bd[0]->buf_addr = lower_32_bits((u64)ptr); in axi_mrmac_send() 276 priv->tx_bd[1]->next_desc = lower_32_bits((u64)priv->tx_bd[0]); in axi_mrmac_send() 280 priv->tx_bd[0]->next_desc_msb = upper_32_bits((u64)priv->tx_bd[1]); in axi_mrmac_send() 281 priv->tx_bd[0]->buf_addr_msb = upper_32_bits((u64)ptr); in axi_mrmac_send() 283 priv->tx_bd[1]->next_desc_msb = upper_32_bits((u64)priv->tx_bd[0]); in axi_mrmac_send() 317 priv->tx_bd[0]->sband_stats = 0; in axi_mrmac_send() 318 priv->tx_bd[1]->sband_stats = 0; in axi_mrmac_send() 487 priv->tx_bd[1] = (struct mcdma_bd *)((ulong)priv->tx_bd[0] + in axi_mrmac_probe() [all …]
|
| A D | xilinx_axi_emac.c | 155 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 681 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 683 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 684 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 686 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 687 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 690 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 694 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 698 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 706 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
| A D | zynq_gem.c | 214 struct emac_bd *tx_bd; member 400 struct emac_bd *dummy_tx_bd = &priv->tx_bd[TX_FREE_DESC]; in zynq_gem_init() 606 struct emac_bd *current_bd = &priv->tx_bd[1]; in zynq_gem_send() 609 memset(priv->tx_bd, 0, sizeof(struct emac_bd)); in zynq_gem_send() 611 priv->tx_bd->addr = lower_32_bits((ulong)ptr); in zynq_gem_send() 613 priv->tx_bd->addr_hi = upper_32_bits((ulong)ptr); in zynq_gem_send() 615 priv->tx_bd->status = (len & ZYNQ_GEM_TXBUF_FRMLEN_MASK) | in zynq_gem_send() 627 writel(lower_32_bits((ulong)priv->tx_bd), ®s->txqbase); in zynq_gem_send() 642 if (priv->tx_bd->status & ZYNQ_GEM_TXBUF_EXHAUSTED) in zynq_gem_send() 853 priv->tx_bd = (struct emac_bd *)bd_space; in zynq_gem_probe() [all …]
|
| A D | xilinx_axi_mrmac.h | 37 struct mcdma_bd *tx_bd[TX_DESC]; member
|
| /drivers/net/bnxt/ |
| A D | bnxt_dbg.h | 452 void dump_tx_bd(struct tx_bd_short *tx_bd, u16 len) in dump_tx_bd() argument 454 printf(" Tx BD Addr %llx Size %d", virt_to_bus(tx_bd), len); in dump_tx_bd() 456 dump_mem((u8 *)tx_bd, (u32)len, DISP_U8); in dump_tx_bd()
|
| /drivers/net/qe/ |
| A D | dm_qe_uec.c | 247 bd = uec->tx_bd; in qe_uec_send() 278 uec->tx_bd = bd; in qe_uec_send() 889 uec->tx_bd = bd; in uec_startup()
|
| A D | uec.h | 673 struct buffer_descriptor *tx_bd; member
|
Completed in 22 milliseconds