Lines Matching refs:sst_dsp
45 struct sst_dsp *sst;
61 struct sst_dsp *sst = (struct sst_dsp *)arg; in sst_dma_transfer_complete()
66 static int sst_dsp_dma_copy(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copy()
97 int sst_dsp_dma_copyto(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copyto()
106 int sst_dsp_dma_copyfrom(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copyfrom()
115 static void block_list_remove(struct sst_dsp *dsp, in block_list_remove()
143 static int block_list_prepare(struct sst_dsp *dsp, in block_list_prepare()
212 struct sst_dsp *dsp = (struct sst_dsp *)param; in dma_chan_filter()
217 int sst_dsp_dma_get_channel(struct sst_dsp *dsp, int chan_id) in sst_dsp_dma_get_channel()
252 void sst_dsp_dma_put_channel(struct sst_dsp *dsp) in sst_dsp_dma_put_channel()
264 int sst_dma_new(struct sst_dsp *sst) in sst_dma_new()
334 struct sst_fw *sst_fw_new(struct sst_dsp *dsp, in sst_fw_new()
400 struct sst_dsp *dsp = sst_fw->dsp; in sst_fw_reload()
416 struct sst_dsp *dsp = sst_fw->dsp; in sst_fw_unload()
453 struct sst_dsp *dsp = sst_fw->dsp; in sst_fw_free()
467 void sst_fw_free_all(struct sst_dsp *dsp) in sst_fw_free_all()
487 struct sst_dsp *dsp = sst_fw->dsp; in sst_module_new()
516 struct sst_dsp *dsp = sst_module->dsp; in sst_module_free()
529 struct sst_dsp *dsp = module->dsp; in sst_module_runtime_new()
551 struct sst_dsp *dsp = runtime->dsp; in sst_module_runtime_free()
561 static struct sst_mem_block *find_block(struct sst_dsp *dsp, in find_block()
575 static int block_alloc_contiguous(struct sst_dsp *dsp, in block_alloc_contiguous()
617 static int block_alloc(struct sst_dsp *dsp, struct sst_block_allocator *ba, in block_alloc()
669 int sst_alloc_blocks(struct sst_dsp *dsp, struct sst_block_allocator *ba, in sst_alloc_blocks()
696 int sst_free_blocks(struct sst_dsp *dsp, struct list_head *block_list) in sst_free_blocks()
706 static int block_alloc_fixed(struct sst_dsp *dsp, struct sst_block_allocator *ba, in block_alloc_fixed()
789 struct sst_dsp *dsp = module->dsp; in sst_module_alloc_blocks()
848 struct sst_dsp *dsp = module->dsp; in sst_module_free_blocks()
860 struct sst_dsp *dsp = runtime->dsp; in sst_module_runtime_alloc_blocks()
920 struct sst_dsp *dsp = runtime->dsp; in sst_module_runtime_free_blocks()
932 struct sst_dsp *dsp = runtime->dsp; in sst_module_runtime_save()
978 struct sst_dsp *dsp = runtime->dsp; in sst_module_runtime_restore()
1022 struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset, in sst_mem_block_register()
1049 void sst_mem_block_unregister_all(struct sst_dsp *dsp) in sst_mem_block_unregister_all()
1072 int sst_block_alloc_scratch(struct sst_dsp *dsp) in sst_block_alloc_scratch()
1143 void sst_block_free_scratch(struct sst_dsp *dsp) in sst_block_free_scratch()
1152 struct sst_module *sst_module_get_from_id(struct sst_dsp *dsp, u32 id) in sst_module_get_from_id()
1174 struct sst_dsp *dsp = module->dsp; in sst_module_runtime_get_from_id()
1191 u32 sst_dsp_get_offset(struct sst_dsp *dsp, u32 offset, in sst_dsp_get_offset()