Lines Matching refs:ctrla

296 static inline int atc_calc_bytes_left(int current_len, u32 ctrla)  in atc_calc_bytes_left()  argument
298 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left()
299 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left()
321 u32 ctrla, dscr; in atc_get_bytes_left() local
391 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
416 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
423 return atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
437 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
440 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
441 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
689 u32 ctrla; in atc_prep_dma_interleaved() local
734 ctrla = ATC_SRC_WIDTH(dwidth) | in atc_prep_dma_interleaved()
754 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
792 u32 ctrla; in atc_prep_dma_memcpy() local
814 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy()
827 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
861 u32 ctrla = ATC_SRC_WIDTH(2) | ATC_DST_WIDTH(2); in atc_create_memset_desc() local
883 desc->lli.ctrla = ctrla | xfer_count; in atc_create_memset_desc()
1061 u32 ctrla; in atc_prep_slave_sg() local
1080 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_prep_slave_sg()
1087 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg()
1115 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1127 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg()
1156 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1221 u32 ctrla; in atc_dma_cyclic_fill_desc() local
1224 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_dma_cyclic_fill_desc()
1234 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()
1246 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()