Searched refs:DmaDesc (Results 1 – 3 of 3) sorted by relevance
106 } DmaDesc; typedef157 …/*dma_addr_t*/ DmaDesc *TxDescDma; /* Dma-able address of first tx descriptor either in rin…158 …/*dma_addr_t*/ DmaDesc *RxDescDma; /* Dma-albe address of first rx descriptor either in ring or…159 …DmaDesc *TxDesc; /* start address of TX descriptors ring or chain, this is used by t…160 …DmaDesc *RxDesc; /* start address of RX descriptors ring or chain, this is used by t…173 DmaDesc * TxBusyDesc; /* Tx Descriptor address corresponding to the index TxBusy */174 DmaDesc * TxNextDesc; /* Tx Descriptor address corresponding to the index TxNext */175 DmaDesc * RxBusyDesc; /* Rx Descriptor address corresponding to the index TxBusy */176 DmaDesc * RxNextDesc; /* Rx Descriptor address corresponding to the index RxNext */1389 void synopGMAC_rx_desc_init_ring(DmaDesc *desc, bool last_ring_desc);[all …]
1217 void synopGMAC_rx_desc_init_ring(DmaDesc *desc, bool last_ring_desc) in synopGMAC_rx_desc_init_ring()1239 void synopGMAC_tx_desc_init_ring(DmaDesc *desc, bool last_ring_desc) in synopGMAC_tx_desc_init_ring()1304 bool synopGMAC_is_desc_owned_by_dma(DmaDesc *desc) in synopGMAC_is_desc_owned_by_dma()1339 bool synopGMAC_is_desc_empty(DmaDesc *desc) in synopGMAC_is_desc_empty()1464 bool synopGMAC_is_last_rx_desc(synopGMACdevice * gmacdev,DmaDesc *desc) in synopGMAC_is_last_rx_desc()1478 bool synopGMAC_is_last_tx_desc(synopGMACdevice * gmacdev,DmaDesc *desc) in synopGMAC_is_last_tx_desc()1505 DmaDesc * txdesc = (DmaDesc *)((uint64_t)(gmacdev->TxBusyDesc) | 0x100000000); in synopGMAC_get_tx_qptr()1507 DmaDesc * txdesc = gmacdev->TxBusyDesc; in synopGMAC_get_tx_qptr()1545 DmaDesc * prevtx;1549 DmaDesc * txdesc = (DmaDesc *)((uint64_t)(gmacdev->TxNextDesc) | 0x100000000); in synopGMAC_set_crc_replacement()[all …]
43 static DmaDesc tx_desc[GMAC_CNT][TRANSMIT_DESC_SIZE] __attribute__ ((aligned (64)));44 static DmaDesc rx_desc[GMAC_CNT][RECEIVE_DESC_SIZE] __attribute__ ((aligned (64)));154 DmaDesc *first_desc = &tx_desc[gmacdev->Intf][0]; in synopGMAC_setup_tx_desc_queue()157 …TR("Total size of memory required for Tx Descriptors in Ring Mode = 0x%08x\n",((sizeof(DmaDesc) * … in synopGMAC_setup_tx_desc_queue()162 gmacdev->TxDescDma = (DmaDesc *)((u64)first_desc | 0x100000000); in synopGMAC_setup_tx_desc_queue()164 gmacdev->TxDescDma = (DmaDesc *)((u64)first_desc); in synopGMAC_setup_tx_desc_queue()208 DmaDesc *first_desc = &rx_desc[gmacdev->Intf][0]; in synopGMAC_setup_rx_desc_queue()212 …TR("total size of memory required for Rx Descriptors in Ring Mode = 0x%08x\n",((sizeof(DmaDesc) * … in synopGMAC_setup_rx_desc_queue()217 gmacdev->RxDescDma = (DmaDesc *)((u64)first_desc | 0x100000000); in synopGMAC_setup_rx_desc_queue()219 gmacdev->RxDescDma = (DmaDesc *)((u64)first_desc); in synopGMAC_setup_rx_desc_queue()[all …]