Home
last modified time | relevance | path

Searched refs:txdesc (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_numaker.c420 DmaDesc *txdesc = gmacdev->TxNextDesc; in m_numaker_gmacdev_get_tx_buf() local
422 if (!synopGMAC_is_desc_empty(txdesc)) { in m_numaker_gmacdev_get_tx_buf()
426 if (synopGMAC_is_desc_owned_by_dma(txdesc)) { in m_numaker_gmacdev_get_tx_buf()
430 return (uint8_t *)(txdesc->buffer1); in m_numaker_gmacdev_get_tx_buf()
435 DmaDesc *txdesc = gmacdev->TxNextDesc; in m_numaker_gmacdev_trigger_tx() local
442 txdesc->length |= ((length << DescSize1Shift) & DescSize1Mask); in m_numaker_gmacdev_trigger_tx()
443 txdesc->status |= (DescTxFirst | DescTxLast | DescTxIntEnable); in m_numaker_gmacdev_trigger_tx()
449 synopGMAC_tx_checksum_offload_tcp_pseudo(gmacdev, txdesc); in m_numaker_gmacdev_trigger_tx()
451 synopGMAC_tx_checksum_offload_bypass(gmacdev, txdesc); in m_numaker_gmacdev_trigger_tx()
454 txdesc->status |= DescOwnByDma; in m_numaker_gmacdev_trigger_tx()
[all …]