Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/
Dste_dma40.c615 struct d40_lcla_pool lcla_pool; member
733 spin_lock_irqsave(&d40c->base->lcla_pool.lock, flags); in d40_lcla_alloc_one()
742 if (!d40c->base->lcla_pool.alloc_map[idx]) { in d40_lcla_alloc_one()
743 d40c->base->lcla_pool.alloc_map[idx] = d40d; in d40_lcla_alloc_one()
750 spin_unlock_irqrestore(&d40c->base->lcla_pool.lock, flags); in d40_lcla_alloc_one()
765 spin_lock_irqsave(&d40c->base->lcla_pool.lock, flags); in d40_lcla_free_all()
770 if (d40c->base->lcla_pool.alloc_map[idx] == d40d) { in d40_lcla_free_all()
771 d40c->base->lcla_pool.alloc_map[idx] = NULL; in d40_lcla_free_all()
780 spin_unlock_irqrestore(&d40c->base->lcla_pool.lock, flags); in d40_lcla_free_all()
855 struct d40_lcla_pool *pool = &chan->base->lcla_pool; in d40_log_lli_to_lcxa()
[all …]