Lines Matching refs:period_len
842 size_t buf_len, size_t period_len, in stm32_mdma_prep_dma_cyclic() argument
866 if (!buf_len || !period_len || period_len > STM32_MDMA_MAX_BLOCK_LEN) { in stm32_mdma_prep_dma_cyclic()
871 if (buf_len % period_len) { in stm32_mdma_prep_dma_cyclic()
876 count = buf_len / period_len; in stm32_mdma_prep_dma_cyclic()
886 &ctbr, src_addr, period_len); in stm32_mdma_prep_dma_cyclic()
892 &ctbr, dst_addr, period_len); in stm32_mdma_prep_dma_cyclic()
908 src_addr = buf_addr + i * period_len; in stm32_mdma_prep_dma_cyclic()
911 dst_addr += period_len; in stm32_mdma_prep_dma_cyclic()
915 src_addr += period_len; in stm32_mdma_prep_dma_cyclic()
916 dst_addr = buf_addr + i * period_len; in stm32_mdma_prep_dma_cyclic()
920 dst_addr, period_len, ctcr, ctbr, in stm32_mdma_prep_dma_cyclic()