Lines Matching refs:ctrla
275 * @ctrla: the value of CTRLA
277 static inline int atc_calc_bytes_left(int current_len, u32 ctrla)
279 u32 btsize = (ctrla & ATC_BTSIZE_MAX);
280 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla);
284 * (ctrla), the Buffer Transfer Size (btsize) bitfield refers to the
302 u32 ctrla, dscr;
372 ctrla = channel_readl(atchan, CTRLA);
382 * that both the dscr and ctrla values refers to the
392 * We need to update ctrla to match the current
397 ctrla = channel_readl(atchan, CTRLA);
404 return atc_calc_bytes_left(ret, ctrla);
418 ret = atc_calc_bytes_left(ret, ctrla);
421 ctrla = channel_readl(atchan, CTRLA);
422 ret = atc_calc_bytes_left(ret, ctrla);
670 u32 ctrla;
715 ctrla = ATC_SRC_WIDTH(dwidth) |
735 desc->lli.ctrla = ctrla | xfer_count;
773 u32 ctrla;
795 ctrla = ATC_SRC_WIDTH(src_width) |
808 desc->lli.ctrla = ctrla | xfer_count;
842 u32 ctrla = ATC_SRC_WIDTH(2) | ATC_DST_WIDTH(2);
864 desc->lli.ctrla = ctrla | xfer_count;
1034 u32 ctrla;
1053 ctrla = ATC_SCSIZE(sconfig->src_maxburst)
1060 ctrla |= ATC_DST_WIDTH(reg_width);
1088 desc->lli.ctrla = ctrla
1100 ctrla |= ATC_SRC_WIDTH(reg_width);
1129 desc->lli.ctrla = ctrla
1194 u32 ctrla;
1197 ctrla = ATC_SCSIZE(sconfig->src_maxburst)
1207 desc->lli.ctrla = ctrla;
1219 desc->lli.ctrla = ctrla;