/* Checks whether the descriptor is owned by DMA. If descriptor is owned by DMA then the OWN bit is set to 1. This API is same for both ring and chain mode.  */
bool synopGMAC_is_desc_owned_by_dma(DmaDesc *desc)
/* Checks whether the descriptor is owned by DMA. If descriptor is owned by DMA then the OWN bit is set to 1. This API is same for both ring and chain mode.  */
bool synopGMAC_is_desc_owned_by_dma(DmaDesc *desc)
{
    return ((desc->status & DescOwnByDma) == DescOwnByDma);
}