Lines Matching refs:ctrla

294 static inline int atc_calc_bytes_left(int current_len, u32 ctrla)  in atc_calc_bytes_left()  argument
296 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left()
297 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left()
319 u32 ctrla, dscr, trials; in atc_get_bytes_left() local
388 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
413 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
420 return atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
434 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
437 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
438 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
726 u32 ctrla; in atc_prep_dma_interleaved() local
771 ctrla = ATC_SRC_WIDTH(dwidth) | in atc_prep_dma_interleaved()
791 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
829 u32 ctrla; in atc_prep_dma_memcpy() local
851 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy()
864 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
898 u32 ctrla = ATC_SRC_WIDTH(2) | ATC_DST_WIDTH(2); in atc_create_memset_desc() local
920 desc->lli.ctrla = ctrla | xfer_count; in atc_create_memset_desc()
1090 u32 ctrla; in atc_prep_slave_sg() local
1109 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_prep_slave_sg()
1116 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg()
1144 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1156 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg()
1185 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1250 u32 ctrla; in atc_dma_cyclic_fill_desc() local
1253 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_dma_cyclic_fill_desc()
1263 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()
1275 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()