Lines Matching refs:ctrla
202 u32 ctrla; member
418 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
621 static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla) in atc_calc_bytes_left() argument
623 u32 btsize = FIELD_GET(ATC_BTSIZE, ctrla); in atc_calc_bytes_left()
624 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); in atc_calc_bytes_left()
681 u32 len, ctrla, dscr; in atc_get_llis_residue() local
687 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
710 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
717 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
732 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
752 u32 len, ctrla; in atc_get_residue() local
769 ctrla = channel_readl(atchan, CTRLA); in atc_get_residue()
770 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_residue()
879 u32 ctrla; in atc_prep_dma_interleaved() local
923 ctrla = FIELD_PREP(ATC_SRC_WIDTH, dwidth) | in atc_prep_dma_interleaved()
948 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
983 u32 ctrla; in atc_prep_dma_memcpy() local
1011 ctrla = FIELD_PREP(ATC_SRC_WIDTH, src_width) | in atc_prep_dma_memcpy()
1030 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
1057 u32 ctrla = FIELD_PREP(ATC_SRC_WIDTH, 2) | FIELD_PREP(ATC_DST_WIDTH, 2); in atdma_create_memset_lli() local
1077 lli->ctrla = ctrla | xfer_count; in atdma_create_memset_lli()
1258 u32 ctrla; in atc_prep_slave_sg() local
1282 ctrla = FIELD_PREP(ATC_SCSIZE, sconfig->src_maxburst) | in atc_prep_slave_sg()
1289 ctrla |= FIELD_PREP(ATC_DST_WIDTH, reg_width); in atc_prep_slave_sg()
1323 lli->ctrla = ctrla | in atc_prep_slave_sg()
1337 ctrla |= FIELD_PREP(ATC_SRC_WIDTH, reg_width); in atc_prep_slave_sg()
1372 lli->ctrla = ctrla | in atc_prep_slave_sg()
1473 lli->ctrla = FIELD_PREP(ATC_SCSIZE, sconfig->src_maxburst) | in atc_dma_cyclic_fill_desc()