/* Finds amount of memory required to form a descriptor ring.  */
uint32_t dmacHw_descriptorLen(uint32_t descCnt)
/* Finds amount of memory required to form a descriptor ring.  */
uint32_t dmacHw_descriptorLen(uint32_t descCnt)
{
	return (descCnt * sizeof(dmacHw_DESC_t)) + sizeof(dmacHw_DESC_RING_t) +
		sizeof(uint32_t);
}