Searched refs:d40d (Results 1 – 1 of 1) sorted by relevance
634 static int d40_pool_lli_alloc(struct d40_chan *d40c, struct d40_desc *d40d, in d40_pool_lli_alloc() argument647 base = d40d->lli_pool.pre_alloc_lli; in d40_pool_lli_alloc()648 d40d->lli_pool.size = sizeof(d40d->lli_pool.pre_alloc_lli); in d40_pool_lli_alloc()649 d40d->lli_pool.base = NULL; in d40_pool_lli_alloc()651 d40d->lli_pool.size = lli_len * 2 * align; in d40_pool_lli_alloc()653 base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT); in d40_pool_lli_alloc()654 d40d->lli_pool.base = base; in d40_pool_lli_alloc()656 if (d40d->lli_pool.base == NULL) in d40_pool_lli_alloc()661 d40d->lli_log.src = PTR_ALIGN(base, align); in d40_pool_lli_alloc()662 d40d->lli_log.dst = d40d->lli_log.src + lli_len; in d40_pool_lli_alloc()[all …]