Lines Matching refs:period_len
1168 size_t period_len) in atc_dma_cyclic_check_values() argument
1170 if (period_len > (ATC_BTSIZE_MAX << reg_width)) in atc_dma_cyclic_check_values()
1172 if (unlikely(period_len & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values()
1189 unsigned int reg_width, size_t period_len, in atc_dma_cyclic_fill_desc() argument
1201 | period_len >> reg_width; in atc_dma_cyclic_fill_desc()
1205 desc->lli.saddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc()
1213 desc->len = period_len; in atc_dma_cyclic_fill_desc()
1218 desc->lli.daddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc()
1225 desc->len = period_len; in atc_dma_cyclic_fill_desc()
1246 size_t period_len, enum dma_transfer_direction direction, in atc_prep_dma_cyclic() argument
1256 unsigned int periods = buf_len / period_len; in atc_prep_dma_cyclic()
1262 periods, buf_len, period_len); in atc_prep_dma_cyclic()
1264 if (unlikely(!atslave || !buf_len || !period_len)) { in atc_prep_dma_cyclic()
1284 if (atc_dma_cyclic_check_values(reg_width, buf_addr, period_len)) in atc_prep_dma_cyclic()
1296 reg_width, period_len, direction)) in atc_prep_dma_cyclic()