Lines Matching refs:block_cfg
102 static void dw_dma_mask_address(struct dma_block_config *block_cfg, in dw_dma_mask_address() argument
105 lli_desc->sar = block_cfg->source_address; in dw_dma_mask_address()
106 lli_desc->dar = block_cfg->dest_address; in dw_dma_mask_address()
129 struct dma_block_config *block_cfg; in dw_dma_config() local
200 block_cfg = cfg->head_block; in dw_dma_config()
202 __ASSERT_NO_MSG(block_cfg != NULL); in dw_dma_config()
203 LOG_DBG("%s: copying block_cfg %p to lli_desc %p", dev->name, block_cfg, lli_desc); in dw_dma_config()
318 if (!block_cfg->dest_scatter_en) { in dw_dma_config()
346 dw_dma_mask_address(block_cfg, lli_desc, cfg->channel_direction); in dw_dma_config()
352 if (block_cfg->block_size > DW_CTLH_BLOCK_TS_MASK) { in dw_dma_config()
354 block_cfg->block_size); in dw_dma_config()
361 (block_cfg->block_size & DW_CTLH_BLOCK_TS_MASK); in dw_dma_config()
367 chan_data->ptr_data.buffer_bytes += block_cfg->block_size; in dw_dma_config()
377 block_cfg = block_cfg->next_block; in dw_dma_config()