Lines Matching refs:master
212 u32 master;
214 master = readl(®s->dma_master) & MST_RW_BITS;
216 master &= ~MST_W_BITS;
217 master |= MST_WR_RESET;
219 master &= ~MST_R_BITS;
220 master |= MST_RD_RESET;
222 writel(master, ®s->dma_master);
525 u32 master;
529 master = readl(®s->dma_master) & MST_RW_BITS;
533 if (unlikely(master & MST_RD_ENA)) {
535 master);
541 master &= ~MST_R_BITS;
543 master = MST_RD_ENA | MST_RD_EOPB;
546 master = MST_RD_ENA | MST_EOPB_ENA;
548 master = MST_RD_ENA | MST_EOPB_DIS;
558 if (unlikely(master & MST_WR_ENA)) {
560 master);
566 master &= ~MST_W_BITS;
567 master |= MST_WR_ENA | MST_TIMEOUT_DIS;
572 writel(master, ®s->dma_master);
581 u32 master;
583 master = readl(®s->dma_master);
598 if (unlikely(master & MST_RD_ENA))
602 if (unlikely(master & MST_WR_ENA))
629 u32 curr, master;
640 master = readl(®s->dma_master) & MST_RW_BITS;
650 master &= ~MST_R_BITS;
651 master |= MST_RD_RESET;
652 writel(master, ®s->dma_master);
665 master &= ~MST_W_BITS;
666 master |= MST_WR_RESET;
667 writel(master, ®s->dma_master);