Home
last modified time | relevance | path

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

/linux-2.6.39/arch/xtensa/variants/s6000/include/variant/
Ddmac.h75 #define DMA_CHNL(dmac, n) ((dmac) + 0x1000 + (n) * 0x100) macro
147 return (readl(DMA_CHNL(dmac, chan) + S6_DMA_CHNCTRL) in s6dmac_fifo_full()
179 return (readl(DMA_CHNL(dmac, chan) + S6_DMA_CHNCTRL) in s6dmac_pending_count()
187 n |= readl(DMA_CHNL(dmac, chan) + S6_DMA_TERMCNTNB) in s6dmac_set_terminal_count()
189 writel(n, DMA_CHNL(dmac, chan) + S6_DMA_TERMCNTNB); in s6dmac_set_terminal_count()
194 return (readl(DMA_CHNL(dmac, chan) + S6_DMA_TERMCNTNB)) in s6dmac_get_terminal_count()
200 return readl(DMA_CHNL(dmac, chan) + S6_DMA_TIMESTAMP); in s6dmac_timestamp()
205 return readl(DMA_CHNL(dmac, chan) + S6_DMA_CUR_SRC); in s6dmac_cur_src()
210 return readl(DMA_CHNL(dmac, chan) + S6_DMA_CUR_DST); in s6dmac_cur_dst()
216 writel(readl(DMA_CHNL(dmac, chan) + S6_DMA_CHNCTRL) in s6dmac_disable_chan()
[all …]
/linux-2.6.39/arch/xtensa/platforms/s6105/
Ddevice.c82 DMA_CHNL(S6_REG_HIFDMA, S6_HIFDMA_GMACTX),
84 DMA_CHNL(S6_REG_HIFDMA, S6_HIFDMA_GMACTX) + 0x100 - 1,
90 DMA_CHNL(S6_REG_HIFDMA, S6_HIFDMA_GMACRX),
92 DMA_CHNL(S6_REG_HIFDMA, S6_HIFDMA_GMACRX) + 0x100 - 1,
/linux-2.6.39/arch/xtensa/variants/s6000/
Ddmac.c32 u32 chunk = readl(DMA_CHNL(dmac, chan) + S6_DMA_CMONCHUNK); in s6dmac_put_fifo_cache()
35 readl(DMA_CHNL(dmac, chan) + S6_DMA_SRCSKIP); in s6dmac_put_fifo_cache()
53 u32 chunk = readl(DMA_CHNL(dmac, chan) + S6_DMA_CMONCHUNK); in s6dmac_put_fifo_cache()
56 readl(DMA_CHNL(dmac, chan) + S6_DMA_DSTSKIP); in s6dmac_put_fifo_cache()