Searched refs:atchan (Results 1 – 2 of 2) sorted by relevance
/drivers/dma/ |
D | at_hdmac.c | 63 static struct at_desc *atc_first_active(struct at_dma_chan *atchan) in atc_first_active() argument 65 return list_first_entry(&atchan->active_list, in atc_first_active() 69 static struct at_desc *atc_first_queued(struct at_dma_chan *atchan) in atc_first_queued() argument 71 return list_first_entry(&atchan->queue, in atc_first_queued() 110 static struct at_desc *atc_desc_get(struct at_dma_chan *atchan) in atc_desc_get() argument 118 spin_lock_irqsave(&atchan->lock, flags); in atc_desc_get() 119 list_for_each_entry_safe(desc, _desc, &atchan->free_list, desc_node) { in atc_desc_get() 126 dev_dbg(chan2dev(&atchan->chan_common), in atc_desc_get() 129 spin_unlock_irqrestore(&atchan->lock, flags); in atc_desc_get() 130 dev_vdbg(chan2dev(&atchan->chan_common), in atc_desc_get() [all …]
|
D | at_hdmac_regs.h | 265 #define channel_readl(atchan, name) \ argument 266 __raw_readl((atchan)->ch_regs + ATC_##name##_OFFSET) 268 #define channel_writel(atchan, name, val) \ argument 269 __raw_writel((val), (atchan)->ch_regs + ATC_##name##_OFFSET) 352 static void vdbg_dump_regs(struct at_dma_chan *atchan) in vdbg_dump_regs() argument 354 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in vdbg_dump_regs() 356 dev_err(chan2dev(&atchan->chan_common), in vdbg_dump_regs() 358 atchan->chan_common.chan_id, in vdbg_dump_regs() 362 dev_err(chan2dev(&atchan->chan_common), in vdbg_dump_regs() 364 channel_readl(atchan, SADDR), in vdbg_dump_regs() [all …]
|