Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/support/platform/src/dma/
Ddmac_core.c305 uint16_t lliNum; in DmacFillLli() local
336 for (i = 0, lliNum = chanInfo->lliCnt; i < lliNum; i++, plli++) { in DmacFillLli()
338 plli->nextLli = (i < lliNum - 1) ? (plli->nextLli + chanInfo->lliEnFlag) : 0; in DmacFillLli()
339 …plli->count = ((i < lliNum - 1) || ((length % alignedMax) == 0)) ? alignedMax : (length % alignedM… in DmacFillLli()
354 …r->dmacCacheFlush((uintptr_t)plli, (uintptr_t)plli + (uintptr_t)(sizeof(struct DmacLli) * lliNum)); in DmacFillLli()
360 size_t lliNum; in DmacAllocLli() local
368 lliNum = (length / maxSize) + ((length % maxSize) > 0 ? 1 : 0); in DmacAllocLli()
369 if (lliNum > 2048) { /* 2048: lliNum is not more than 2048 */ in DmacAllocLli()
370 HDF_LOGE("DmacAllocLli: lliNum %zu is bigger than 2048!", lliNum); in DmacAllocLli()
374 allocLength = lliNum * sizeof(struct DmacLli); in DmacAllocLli()
[all …]