/u-boot/drivers/net/pfe_eth/ |
A D | pfe_driver.c | 135 data, length, tx_desc->tx_base, tx_desc->tx_to_send); in pfe_send() 137 bd = tx_desc->tx_base + tx_desc->tx_to_send; in pfe_send() 204 bd = tx_desc->tx_base + tx_desc->tx_to_send; in pfe_tx_done() 218 tx_desc->tx_to_send = (tx_desc->tx_to_send + 1) in pfe_tx_done() 348 struct tx_desc_s *tx_desc; in hif_tx_desc_dump() local 357 tx_desc = g_tx_desc; in hif_tx_desc_dump() 358 bd_va = tx_desc->tx_base; in hif_tx_desc_dump() 385 if (!tx_desc) { in hif_tx_desc_init() 402 tx_desc->tx_base = bd_va; in hif_tx_desc_init() 405 __func__, tx_desc->tx_base, tx_desc->tx_base_pa, in hif_tx_desc_init() [all …]
|
/u-boot/drivers/net/ |
A D | pch_gbe.c | 141 struct pch_gbe_tx_desc *tx_desc = &priv->tx_desc[0]; in pch_gbe_tx_descs_init() local 145 flush_dcache_range((ulong)tx_desc, (ulong)&tx_desc[PCH_GBE_DESC_NUM]); in pch_gbe_tx_descs_init() 250 struct pch_gbe_tx_desc *tx_head, *tx_desc; in pch_gbe_send() local 257 tx_head = &priv->tx_desc[0]; in pch_gbe_send() 258 tx_desc = &priv->tx_desc[priv->tx_idx]; in pch_gbe_send() 264 tx_desc->length = length; in pch_gbe_send() 265 tx_desc->tx_words_eob = length + 3; in pch_gbe_send() 266 tx_desc->tx_frame_ctrl = frame_ctrl; in pch_gbe_send() 267 tx_desc->dma_status = 0; in pch_gbe_send() 268 tx_desc->gbec_status = 0; in pch_gbe_send() [all …]
|
A D | armada100_fec.h | 134 struct tx_desc { struct 139 struct tx_desc *nextdesc_p; /* Pointer to next descriptor */ argument 193 struct tx_desc *txcdp[2]; /* Ethernet Current Tx Descriptor 200 struct tx_desc *p_txdesc;
|
A D | altera_tse.c | 161 struct alt_sgdma_descriptor *tx_desc = priv->tx_desc; in altera_tse_send_sgdma() local 164 tx_desc, in altera_tse_send_sgdma() 165 tx_desc + 1, in altera_tse_send_sgdma() 175 alt_sgdma_start_transfer(priv->sgdma_tx, tx_desc); in altera_tse_send_sgdma() 177 debug("sent %d bytes\n", tx_desc->actual_bytes_transferred); in altera_tse_send_sgdma() 179 return tx_desc->actual_bytes_transferred; in altera_tse_send_sgdma() 317 struct msgdma_extended_desc *desc = priv->tx_desc; in altera_tse_send_msgdma() 627 priv->tx_desc = base; in altera_tse_probe() 653 priv->tx_desc = desc_mem; in altera_tse_probe() 654 priv->rx_desc = priv->tx_desc + in altera_tse_probe()
|
A D | uli526x.c | 92 struct tx_desc { struct 95 struct tx_desc *next_tx_desc; argument 126 struct tx_desc *first_tx_desc; 127 struct tx_desc *tx_insert_ptr; 128 struct tx_desc *tx_remove_ptr; 444 struct tx_desc *txptr; in uli526x_start_xmit() 498 struct tx_desc *txptr; in uli526x_free_tx_pkt() 627 struct tx_desc *tmp_tx; in uli526x_descriptor_init() 641 sizeof(struct tx_desc) * TX_DESC_CNT; in uli526x_descriptor_init() 643 sizeof(struct tx_desc) * TX_DESC_CNT; in uli526x_descriptor_init() [all …]
|
A D | ravb.c | 124 struct ravb_desc tx_desc[RAVB_NUM_TX_DESC]; member 151 struct ravb_desc *desc = ð->tx_desc[eth->tx_desc_idx]; in ravb_send() 259 memset(eth->tx_desc, 0x0, desc_size); in ravb_tx_desc_init() 263 eth->tx_desc[i].ctrl = RAVB_DESC_DT_EEMPTY; in ravb_tx_desc_init() 266 eth->tx_desc[RAVB_NUM_TX_DESC - 1].ctrl = RAVB_DESC_DT_LINKFIX; in ravb_tx_desc_init() 267 eth->tx_desc[RAVB_NUM_TX_DESC - 1].dptr = (uintptr_t)eth->tx_desc; in ravb_tx_desc_init() 268 ravb_flush_dcache((uintptr_t)eth->tx_desc, desc_size); in ravb_tx_desc_init() 272 eth->base_desc[RAVB_TX_QUEUE_OFFSET].dptr = (uintptr_t)eth->tx_desc; in ravb_tx_desc_init()
|
A D | lpc32xx_eth.c | 193 ATTRS(4) struct lpc32xx_eth_txdesc tx_desc[TX_BUF_COUNT]; member 381 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send() 495 bufs->tx_desc[index].control = 0; in lpc32xx_eth_init() 498 writel((u32)(&bufs->tx_desc), (u32 *)®s->txdescriptor); in lpc32xx_eth_init() 516 bufs->tx_desc[index].packet = in lpc32xx_eth_init()
|
A D | dwc_eth_qos.c | 1408 struct eqos_desc *tx_desc = eqos_get_desc(eqos, i, false); in eqos_start() local 1409 eqos->config->ops->eqos_flush_desc(tx_desc); in eqos_start() 1527 struct eqos_desc *tx_desc; in eqos_send() local 1536 tx_desc = eqos_get_desc(eqos, eqos->tx_desc_idx, false); in eqos_send() 1540 tx_desc->des0 = (ulong)eqos->tx_dma_buf; in eqos_send() 1541 tx_desc->des1 = 0; in eqos_send() 1542 tx_desc->des2 = length; in eqos_send() 1548 tx_desc->des3 = EQOS_DESC3_OWN | EQOS_DESC3_FD | EQOS_DESC3_LD | length; in eqos_send() 1549 eqos->config->ops->eqos_flush_desc(tx_desc); in eqos_send() 1555 eqos->config->ops->eqos_inval_desc(tx_desc); in eqos_send() [all …]
|
A D | mvpp2.c | 1302 struct mvpp2_tx_desc *tx_desc, in mvpp2_txdesc_size_set() argument 1306 tx_desc->pp21.data_size = size; in mvpp2_txdesc_size_set() 1308 tx_desc->pp22.data_size = size; in mvpp2_txdesc_size_set() 1312 struct mvpp2_tx_desc *tx_desc, in mvpp2_txdesc_txq_set() argument 1316 tx_desc->pp21.phys_txq = txq; in mvpp2_txdesc_txq_set() 1318 tx_desc->pp22.phys_txq = txq; in mvpp2_txdesc_txq_set() 1322 struct mvpp2_tx_desc *tx_desc, in mvpp2_txdesc_cmd_set() argument 1326 tx_desc->pp21.command = command; in mvpp2_txdesc_cmd_set() 1328 tx_desc->pp22.command = command; in mvpp2_txdesc_cmd_set() 3922 return txq->descs + tx_desc; in mvpp2_txq_next_desc_get() [all …]
|
A D | mvneta.c | 557 int tx_desc = txq->next_desc_to_proc; in mvneta_txq_next_desc_get() local 559 txq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(txq, tx_desc); in mvneta_txq_next_desc_get() 560 return txq->descs + tx_desc; in mvneta_txq_next_desc_get() 1609 struct mvneta_tx_desc *tx_desc; in mvneta_send() local 1614 tx_desc = mvneta_txq_next_desc_get(txq); in mvneta_send() 1616 tx_desc->buf_phys_addr = (u32)(uintptr_t)packet; in mvneta_send() 1617 tx_desc->data_size = length; in mvneta_send() 1622 tx_desc->command = MVNETA_TX_L4_CSUM_NOT | MVNETA_TXD_FLZ_DESC; in mvneta_send()
|
A D | altera_tse.h | 221 void *tx_desc; member
|
A D | pch_gbe.h | 287 struct pch_gbe_tx_desc tx_desc[PCH_GBE_DESC_NUM]; member
|
A D | armada100_fec.c | 551 struct tx_desc *p_txdesc = darmdfec->p_txdesc; in armdfec_send() 697 darmdfec->p_txdesc = memalign(PKTALIGN, sizeof(struct tx_desc) + 1); in armada100_fec_register()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | cortina_nand.c | 48 struct tx_descriptor_t *tx_desc; member 192 if (!info->rx_desc && info->tx_desc) { in init_nand_dma() 194 kfree(info->tx_desc); in init_nand_dma() 198 kfree(info->tx_desc); in init_nand_dma() 214 memset((unsigned char *)info->tx_desc, 0, in init_nand_dma() 221 info->tx_desc[i].own = 1; in init_nand_dma() 223 info->tx_desc[i].sgm = 0x1; in init_nand_dma() 733 struct tx_descriptor_t *tx_desc; in nand_rw_page() local 799 tx_desc = info->tx_desc; in nand_rw_page() 803 tx_desc[dma_index].own = OWN_DMA; in nand_rw_page() [all …]
|
/u-boot/doc/device-tree-bindings/net/ |
A D | altera_tse.txt | 11 "tx_desc": MSGDMA Tx dispatcher descriptor space region 61 reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc"; 99 reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc";
|
/u-boot/drivers/usb/eth/ |
A D | r8152.c | 1460 PKTSIZE + sizeof(struct tx_desc)); in r8152_send_common() 1461 struct tx_desc *tx_desc = (struct tx_desc *)msg; in r8152_send_common() local 1467 tx_desc->opts2 = cpu_to_le32(opts2); in r8152_send_common() 1468 tx_desc->opts1 = cpu_to_le32(opts1); in r8152_send_common() 1470 memcpy(msg + sizeof(struct tx_desc), (void *)packet, length); in r8152_send_common() 1473 (void *)msg, length + sizeof(struct tx_desc), in r8152_send_common() 1476 length + sizeof(struct tx_desc), actual_len, err); in r8152_send_common()
|
A D | r8152.h | 581 struct tx_desc { struct
|
/u-boot/arch/nios2/dts/ |
A D | 10m50_devboard.dts | 110 "tx_csr", "tx_desc";
|