Home
last modified time | relevance | path

Searched refs:dma_block_cfg (Results 1 – 3 of 3) sorted by relevance

/sof-3.4.0/src/audio/
Ddai-zephyr.c446 struct dma_block_config *dma_block_cfg; in dai_playback_params() local
546 dma_block_cfg = rballoc(SOF_MEM_FLAG_COHERENT, in dai_playback_params()
549 if (!dma_block_cfg) { in dai_playback_params()
556 dma_cfg->head_block = dma_block_cfg; in dai_playback_params()
558 dma_block_cfg->dest_scatter_en = config->scatter; in dai_playback_params()
559 dma_block_cfg->block_size = config->elem_array.elems[i].size; in dai_playback_params()
560 dma_block_cfg->source_address = config->elem_array.elems[i].src; in dai_playback_params()
561 dma_block_cfg->dest_address = config->elem_array.elems[i].dest; in dai_playback_params()
562 prev = dma_block_cfg; in dai_playback_params()
563 prev->next_block = ++dma_block_cfg; in dai_playback_params()
[all …]
Dhost-zephyr.c745 struct dma_block_config dma_block_cfg; in host_zephyr_params() local
906 dma_cfg->head_block = &dma_block_cfg; in host_zephyr_params()
923 dma_block_cfg.block_size = buffer_bytes; in host_zephyr_params()
928 dma_block_cfg.source_address = buffer_addr; in host_zephyr_params()
932 dma_block_cfg.dest_address = buffer_addr; in host_zephyr_params()
/sof-3.4.0/src/library_manager/
Dlib_manager.c486 struct dma_block_config *dma_block_cfg; in lib_manager_load_data_from_host() local
495 dma_block_cfg = rballoc(SOF_MEM_FLAG_COHERENT, in lib_manager_load_data_from_host()
498 if (!dma_block_cfg) in lib_manager_load_data_from_host()
501 config.head_block = dma_block_cfg; in lib_manager_load_data_from_host()
502 dma_block_cfg->block_size = size; in lib_manager_load_data_from_host()
503 dma_block_cfg->dest_address = dma_ext->dmabp.addr; in lib_manager_load_data_from_host()
504 dma_block_cfg->flow_control_mode = 1; in lib_manager_load_data_from_host()
538 rfree(dma_block_cfg); in lib_manager_load_data_from_host()