Lines Matching refs:ctrla
202 u32 ctrla; member
410 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
613 static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla) in atc_calc_bytes_left() argument
615 u32 btsize = FIELD_GET(ATC_BTSIZE, ctrla); in atc_calc_bytes_left()
616 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); in atc_calc_bytes_left()
672 u32 len, ctrla, dscr; in atc_get_llis_residue() local
678 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
701 ctrla = channel_readl(atchan, CTRLA); in atc_get_llis_residue()
708 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
723 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_llis_residue()
742 u32 len, ctrla; in atc_get_residue() local
759 ctrla = channel_readl(atchan, CTRLA); in atc_get_residue()
760 *residue = atc_calc_bytes_left(len, ctrla); in atc_get_residue()
869 u32 ctrla; in atc_prep_dma_interleaved() local
913 ctrla = FIELD_PREP(ATC_SRC_WIDTH, dwidth) | in atc_prep_dma_interleaved()
938 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
973 u32 ctrla; in atc_prep_dma_memcpy() local
1001 ctrla = FIELD_PREP(ATC_SRC_WIDTH, src_width) | in atc_prep_dma_memcpy()
1020 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
1047 u32 ctrla = FIELD_PREP(ATC_SRC_WIDTH, 2) | FIELD_PREP(ATC_DST_WIDTH, 2); in atdma_create_memset_lli() local
1067 lli->ctrla = ctrla | xfer_count; in atdma_create_memset_lli()
1248 u32 ctrla; in atc_prep_slave_sg() local
1272 ctrla = FIELD_PREP(ATC_SCSIZE, sconfig->src_maxburst) | in atc_prep_slave_sg()
1279 ctrla |= FIELD_PREP(ATC_DST_WIDTH, reg_width); in atc_prep_slave_sg()
1313 lli->ctrla = ctrla | in atc_prep_slave_sg()
1327 ctrla |= FIELD_PREP(ATC_SRC_WIDTH, reg_width); in atc_prep_slave_sg()
1362 lli->ctrla = ctrla | in atc_prep_slave_sg()
1463 lli->ctrla = FIELD_PREP(ATC_SCSIZE, sconfig->src_maxburst) | in atc_dma_cyclic_fill_desc()