Lines Matching refs:burst_size
84 unsigned int (*adma_get_burst_config)(unsigned int burst_size);
537 static unsigned int tegra210_adma_get_burst_config(unsigned int burst_size) in tegra210_adma_get_burst_config() argument
539 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra210_adma_get_burst_config()
540 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra210_adma_get_burst_config()
542 return fls(burst_size) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra210_adma_get_burst_config()
545 static unsigned int tegra186_adma_get_burst_config(unsigned int burst_size) in tegra186_adma_get_burst_config() argument
547 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra186_adma_get_burst_config()
548 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra186_adma_get_burst_config()
550 return (burst_size - 1) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra186_adma_get_burst_config()
560 unsigned int burst_size, adma_dir, fifo_size_shift; in tegra_adma_set_xfer_params() local
569 burst_size = tdc->sconfig.dst_maxburst; in tegra_adma_set_xfer_params()
580 burst_size = tdc->sconfig.src_maxburst; in tegra_adma_set_xfer_params()
596 ch_regs->config |= cdata->adma_get_burst_config(burst_size); in tegra_adma_set_xfer_params()