Lines Matching refs:ctrla
284 static inline int atc_calc_bytes_left(int current_len, u32 ctrla) in atc_calc_bytes_left() argument
286 u32 btsize = (ctrla & ATC_BTSIZE_MAX); in atc_calc_bytes_left()
287 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left()
309 u32 ctrla, dscr, trials; in atc_get_bytes_left() local
378 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
403 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
410 return atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
424 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
427 ctrla = channel_readl(atchan, CTRLA); in atc_get_bytes_left()
428 ret = atc_calc_bytes_left(ret, ctrla); in atc_get_bytes_left()
709 u32 ctrla; in atc_prep_dma_interleaved() local
754 ctrla = ATC_SRC_WIDTH(dwidth) | in atc_prep_dma_interleaved()
774 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
812 u32 ctrla; in atc_prep_dma_memcpy() local
834 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy()
847 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
881 u32 ctrla = ATC_SRC_WIDTH(2) | ATC_DST_WIDTH(2); in atc_create_memset_desc() local
903 desc->lli.ctrla = ctrla | xfer_count; in atc_create_memset_desc()
1073 u32 ctrla; in atc_prep_slave_sg() local
1092 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_prep_slave_sg()
1099 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg()
1127 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1139 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg()
1168 desc->lli.ctrla = ctrla in atc_prep_slave_sg()
1233 u32 ctrla; in atc_dma_cyclic_fill_desc() local
1236 ctrla = ATC_SCSIZE(sconfig->src_maxburst) in atc_dma_cyclic_fill_desc()
1246 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()
1258 desc->lli.ctrla = ctrla; in atc_dma_cyclic_fill_desc()