Searched refs:best_burst (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/dma/stm32/ |
H A D | stm32-dma.c | 347 u32 best_burst = max_burst; in stm32_dma_get_best_burst() local 349 if (best_burst == 1 || !stm32_dma_is_burst_possible(buf_len, threshold)) in stm32_dma_get_best_burst() 352 while ((buf_len < best_burst * width && best_burst > 1) || in stm32_dma_get_best_burst() 353 !stm32_dma_fifo_threshold_is_allowed(best_burst, threshold, in stm32_dma_get_best_burst() 355 if (best_burst > STM32_DMA_MIN_BURST) in stm32_dma_get_best_burst() 356 best_burst = best_burst >> 1; in stm32_dma_get_best_burst() 358 best_burst = 0; in stm32_dma_get_best_burst() 361 return best_burst; in stm32_dma_get_best_burst() 1249 u32 num_sgs, best_burst, threshold; in stm32_dma_prep_dma_memcpy() local 1266 best_burst = stm32_dma_get_best_burst(len, STM32_DMA_MAX_BURST, in stm32_dma_prep_dma_memcpy() [all …]
|
H A D | stm32-mdma.c | 396 u32 best_burst; in stm32_mdma_get_best_burst() local 398 best_burst = min((u32)1 << __ffs(tlen | buf_len), in stm32_mdma_get_best_burst() 401 return (best_burst > 0) ? best_burst : 1; in stm32_mdma_get_best_burst() 946 u32 best_burst, tlen; in stm32_mdma_prep_dma_memcpy() local 1020 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy() 1022 mdma_burst = ilog2(best_burst); in stm32_mdma_prep_dma_memcpy() 1033 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy() 1035 mdma_burst = ilog2(best_burst); in stm32_mdma_prep_dma_memcpy() 1074 best_burst = stm32_mdma_get_best_burst(len, tlen, in stm32_mdma_prep_dma_memcpy() 1077 mdma_burst = ilog2(best_burst); in stm32_mdma_prep_dma_memcpy() [all …]
|
/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 474 int best_burst; in cdsn2_isoc_burst_opt() local 484 best_burst = trb_size ? trb_size : 1; in cdsn2_isoc_burst_opt() 490 if (opt_burst < best_burst) { in cdsn2_isoc_burst_opt() 491 best_burst = opt_burst; in cdsn2_isoc_burst_opt()
|