Lines Matching refs:max_width
378 enum dma_slave_buswidth max_width = DMA_SLAVE_BUSWIDTH_8_BYTES; in stm32_mdma_get_max_width() local
380 for (max_width = DMA_SLAVE_BUSWIDTH_8_BYTES; in stm32_mdma_get_max_width()
381 max_width > DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_mdma_get_max_width()
382 max_width >>= 1) { in stm32_mdma_get_max_width()
387 if ((((buf_len | addr) & (max_width - 1)) == 0) && in stm32_mdma_get_max_width()
388 tlen >= max_width) in stm32_mdma_get_max_width()
392 return max_width; in stm32_mdma_get_max_width()
946 enum dma_slave_buswidth max_width; in stm32_mdma_prep_dma_memcpy() local
1020 max_width = stm32_mdma_get_max_width(src, len, tlen); in stm32_mdma_prep_dma_memcpy()
1021 src_bus_width = stm32_mdma_get_width(chan, max_width); in stm32_mdma_prep_dma_memcpy()
1023 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1025 max_width); in stm32_mdma_prep_dma_memcpy()
1033 max_width = stm32_mdma_get_max_width(dest, len, tlen); in stm32_mdma_prep_dma_memcpy()
1034 dst_bus_width = stm32_mdma_get_width(chan, max_width); in stm32_mdma_prep_dma_memcpy()
1036 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1038 max_width); in stm32_mdma_prep_dma_memcpy()
1074 max_width = stm32_mdma_get_max_width(src, len, tlen); in stm32_mdma_prep_dma_memcpy()
1075 src_bus_width = stm32_mdma_get_width(chan, max_width); in stm32_mdma_prep_dma_memcpy()
1077 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1080 max_width); in stm32_mdma_prep_dma_memcpy()
1088 max_width = stm32_mdma_get_max_width(dest, len, tlen); in stm32_mdma_prep_dma_memcpy()
1089 dst_bus_width = stm32_mdma_get_width(chan, max_width); in stm32_mdma_prep_dma_memcpy()
1091 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1094 max_width); in stm32_mdma_prep_dma_memcpy()