Lines Matching refs:csr
152 u16 csr = 0; in configure_channel() local
158 csr |= 1 << MUSB_HSDMA_MODE1_SHIFT; in configure_channel()
161 csr |= MUSB_HSDMA_BURSTMODE_INCR16 in configure_channel()
164 csr |= (musb_channel->epnum << MUSB_HSDMA_ENDPOINT_SHIFT) in configure_channel()
178 csr); in configure_channel()
228 u16 csr; in dma_channel_abort() local
239 csr = musb_readw(mbase, offset); in dma_channel_abort()
240 csr &= ~(MUSB_TXCSR_AUTOSET | MUSB_TXCSR_DMAENAB); in dma_channel_abort()
241 musb_writew(mbase, offset, csr); in dma_channel_abort()
242 csr &= ~MUSB_TXCSR_DMAMODE; in dma_channel_abort()
243 musb_writew(mbase, offset, csr); in dma_channel_abort()
248 csr = musb_readw(mbase, offset); in dma_channel_abort()
249 csr &= ~(MUSB_RXCSR_AUTOCLEAR | in dma_channel_abort()
252 musb_writew(mbase, offset, csr); in dma_channel_abort()
283 u16 csr; in dma_controller_irq() local
316 csr = musb_readw(mbase, in dma_controller_irq()
320 if (csr & (1 << MUSB_HSDMA_BUSERROR_SHIFT)) { in dma_controller_irq()