Lines Matching refs:src_width
294 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left() local
302 return current_len - (btsize << src_width); in atc_calc_bytes_left()
822 unsigned int src_width; in atc_prep_dma_memcpy() local
844 src_width = dst_width = atc_get_xfer_width(src, dest, len); in atc_prep_dma_memcpy()
846 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy()
849 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy()
850 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy()
863 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy()
1232 unsigned int src_width; in atc_prep_dma_sg() local
1290 src_width = dst_width = atc_get_xfer_width(src, dst, len); in atc_prep_dma_sg()
1292 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_sg()
1299 xfer_count = len >> src_width; in atc_prep_dma_sg()
1302 len = ATC_BTSIZE_MAX << src_width; in atc_prep_dma_sg()