Lines Matching refs:reg_width
1093 unsigned int reg_width; in atc_prep_slave_sg() local
1115 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_slave_sg()
1116 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg()
1155 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_slave_sg()
1156 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg()
1187 | len >> reg_width; in atc_prep_slave_sg()
1223 atc_dma_cyclic_check_values(unsigned int reg_width, dma_addr_t buf_addr, in atc_dma_cyclic_check_values() argument
1226 if (period_len > (ATC_BTSIZE_MAX << reg_width)) in atc_dma_cyclic_check_values()
1228 if (unlikely(period_len & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values()
1230 if (unlikely(buf_addr & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values()
1245 unsigned int reg_width, size_t period_len, in atc_dma_cyclic_fill_desc() argument
1255 | ATC_DST_WIDTH(reg_width) in atc_dma_cyclic_fill_desc()
1256 | ATC_SRC_WIDTH(reg_width) in atc_dma_cyclic_fill_desc()
1257 | period_len >> reg_width; in atc_dma_cyclic_fill_desc()
1311 unsigned int reg_width; in atc_prep_dma_cyclic() local
1335 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_dma_cyclic()
1337 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_dma_cyclic()
1340 if (atc_dma_cyclic_check_values(reg_width, buf_addr, period_len)) in atc_prep_dma_cyclic()
1352 reg_width, period_len, direction)) in atc_prep_dma_cyclic()