Searched refs:cfgr (Results 1 – 1 of 1) sorted by relevance
100 uint32_t cfgr = 0; in dma_wch_config() local126 cfgr |= DMA_CFGR1_MEM2MEM; in dma_wch_config()137 cfgr |= DMA_CFGR1_DIR; in dma_wch_config()146 cfgr |= dma_cfg->channel_priority * DMA_CFGR1_PL_0; in dma_wch_config()149 cfgr |= dma_width_index(dma_cfg->source_data_size / BITS_PER_BYTE) * in dma_wch_config()151 cfgr |= dma_width_index(dma_cfg->dest_data_size / BITS_PER_BYTE) * in dma_wch_config()154 cfgr |= (dma_cfg->head_block->dest_addr_adj == DMA_ADDR_ADJ_INCREMENT) in dma_wch_config()157 cfgr |= (dma_cfg->head_block->source_addr_adj == DMA_ADDR_ADJ_INCREMENT) in dma_wch_config()161 cfgr |= dma_width_index(dma_cfg->source_data_size / BITS_PER_BYTE) * in dma_wch_config()163 cfgr |= dma_width_index(dma_cfg->dest_data_size / BITS_PER_BYTE) * in dma_wch_config()[all …]