Lines Matching refs:ltq_dma_w32
53 #define ltq_dma_w32(x, y) ltq_w32(x, ltq_dma_membase + (y)) macro
66 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_enable_irq()
78 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_disable_irq()
90 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_ack_irq()
91 ltq_dma_w32(DMA_IRQ_ACK, LTQ_DMA_CIS); in ltq_dma_ack_irq()
102 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_open()
114 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_close()
132 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_alloc()
133 ltq_dma_w32(ch->phys, LTQ_DMA_CDBA); in ltq_dma_alloc()
134 ltq_dma_w32(LTQ_DESC_NUM, LTQ_DMA_CDLEN); in ltq_dma_alloc()
151 ltq_dma_w32(DMA_DESCPT, LTQ_DMA_CIE); in ltq_dma_alloc_tx()
153 ltq_dma_w32(DMA_WEIGHT | DMA_TX, LTQ_DMA_CCTRL); in ltq_dma_alloc_tx()
166 ltq_dma_w32(DMA_DESCPT, LTQ_DMA_CIE); in ltq_dma_alloc_rx()
168 ltq_dma_w32(DMA_WEIGHT, LTQ_DMA_CCTRL); in ltq_dma_alloc_rx()
187 ltq_dma_w32(p, LTQ_DMA_PS); in ltq_dma_init_port()
260 ltq_dma_w32(0, LTQ_DMA_IRNEN); in ltq_dma_init()
266 ltq_dma_w32(i, LTQ_DMA_CS); in ltq_dma_init()
267 ltq_dma_w32(DMA_CHAN_RST, LTQ_DMA_CCTRL); in ltq_dma_init()
268 ltq_dma_w32(DMA_POLL | DMA_CLK_DIV4, LTQ_DMA_CPOLL); in ltq_dma_init()