Lines Matching refs:chcr

76 	u32 chcr;  member
372 u32 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_chan_is_busy() local
374 return !!(chcr & (RCAR_DMACHCR_DE | RCAR_DMACHCR_TE)); in rcar_dmac_chan_is_busy()
380 u32 chcr = desc->chcr; in rcar_dmac_chan_start_xfer() local
427 chcr |= RCAR_DMACHCR_RPT_SAR | RCAR_DMACHCR_RPT_DAR in rcar_dmac_chan_start_xfer()
435 chcr |= RCAR_DMACHCR_DPM_ENABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
441 chcr |= RCAR_DMACHCR_DPM_INFINITE | RCAR_DMACHCR_DSIE; in rcar_dmac_chan_start_xfer()
447 chcr |= RCAR_DMACHCR_DPM_INFINITE; in rcar_dmac_chan_start_xfer()
469 chcr |= RCAR_DMACHCR_DPM_DISABLED | RCAR_DMACHCR_IE; in rcar_dmac_chan_start_xfer()
473 chcr | RCAR_DMACHCR_DE | RCAR_DMACHCR_CAIE); in rcar_dmac_chan_start_xfer()
786 u32 chcr; in rcar_dmac_chcr_de_barrier() local
794 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_chcr_de_barrier()
795 if (!(chcr & RCAR_DMACHCR_DE)) in rcar_dmac_chcr_de_barrier()
805 u32 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_clear_chcr_de() local
808 rcar_dmac_chan_write(chan, RCAR_DMACHCR, (chcr & ~RCAR_DMACHCR_DE)); in rcar_dmac_clear_chcr_de()
816 u32 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_chan_halt() local
818 chcr &= ~(RCAR_DMACHCR_DSE | RCAR_DMACHCR_DSIE | RCAR_DMACHCR_IE | in rcar_dmac_chan_halt()
821 rcar_dmac_chan_write(chan, RCAR_DMACHCR, chcr); in rcar_dmac_chan_halt()
890 u32 chcr; in rcar_dmac_chan_configure_desc() local
894 chcr = RCAR_DMACHCR_DM_INC | RCAR_DMACHCR_SM_FIXED in rcar_dmac_chan_configure_desc()
900 chcr = RCAR_DMACHCR_DM_FIXED | RCAR_DMACHCR_SM_INC in rcar_dmac_chan_configure_desc()
907 chcr = RCAR_DMACHCR_DM_INC | RCAR_DMACHCR_SM_INC in rcar_dmac_chan_configure_desc()
914 desc->chcr = chcr | chcr_ts[desc->xfer_shift]; in rcar_dmac_chan_configure_desc()
1583 u32 chcr; in rcar_dmac_isr_channel() local
1587 chcr = rcar_dmac_chan_read(chan, RCAR_DMACHCR); in rcar_dmac_isr_channel()
1588 if (chcr & RCAR_DMACHCR_CAE) { in rcar_dmac_isr_channel()
1602 if (chcr & RCAR_DMACHCR_TE) in rcar_dmac_isr_channel()
1604 rcar_dmac_chan_write(chan, RCAR_DMACHCR, chcr & ~mask); in rcar_dmac_isr_channel()
1608 if (chcr & RCAR_DMACHCR_DSE) in rcar_dmac_isr_channel()
1611 if (chcr & RCAR_DMACHCR_TE) in rcar_dmac_isr_channel()