Lines Matching refs:mode
114 unsigned int mode; member
234 u32 mode; in init_dma() local
244 mode = chan->mode | (chan->dev_id << DMA_DID_BIT); in init_dma()
246 mode |= DMA_IE; in init_dma()
248 __raw_writel(~mode, chan->io + DMA_MODE_CLEAR); in init_dma()
249 __raw_writel(mode, chan->io + DMA_MODE_SET); in init_dma()
255 static inline void set_dma_mode(unsigned int dmanr, unsigned int mode) in set_dma_mode() argument
266 mode &= (DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode()
267 chan->mode &= ~(DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode()
268 chan->mode |= mode; in set_dma_mode()
277 return chan->mode; in get_dma_mode()
301 if (chan->mode & DMA_DS) /* second bank of device IDs */ in set_dma_fifo_addr()
445 if ((chan->mode & DMA_DW_MASK) == DMA_DW16) in get_dma_residue()
447 else if ((chan->mode & DMA_DW_MASK) == DMA_DW32) in get_dma_residue()