Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/
H A Dep93xx_dma.c219 static inline struct device *chan2dev(struct ep93xx_dma_chan *edmac) in chan2dev() argument
221 return &edmac->chan.dev->device; in chan2dev()
240 static void ep93xx_dma_set_active(struct ep93xx_dma_chan *edmac, in ep93xx_dma_set_active() argument
243 BUG_ON(!list_empty(&edmac->active)); in ep93xx_dma_set_active()
245 list_add_tail(&desc->node, &edmac->active); in ep93xx_dma_set_active()
261 list_move_tail(&d->node, &edmac->active); in ep93xx_dma_set_active()
267 ep93xx_dma_get_active(struct ep93xx_dma_chan *edmac) in ep93xx_dma_get_active() argument
269 return list_first_entry_or_null(&edmac->active, in ep93xx_dma_get_active()
285 static bool ep93xx_dma_advance_active(struct ep93xx_dma_chan *edmac) in ep93xx_dma_advance_active() argument
289 list_rotate_left(&edmac->active); in ep93xx_dma_advance_active()
[all …]