Home
last modified time | relevance | path

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

/arch/metag/kernel/
Dtraps.c144 static void dspram_save(struct meta_ext_context *dsp_ctx, in dspram_save() argument
162 if (dsp_ctx->ram[i] == NULL) { in dspram_save()
163 dsp_ctx->ram[i] = kmalloc(sz, GFP_KERNEL); in dspram_save()
165 if (dsp_ctx->ram[i] == NULL) in dspram_save()
168 if (ram_sz[i] > dsp_ctx->ram_sz[i]) { in dspram_save()
169 kfree(dsp_ctx->ram[i]); in dspram_save()
171 dsp_ctx->ram[i] = kmalloc(sz, in dspram_save()
174 if (dsp_ctx->ram[i] == NULL) in dspram_save()
180 __TBIDspramSaveA(ram_sz[i], dsp_ctx->ram[i]); in dspram_save()
182 __TBIDspramSaveB(ram_sz[i], dsp_ctx->ram[i]); in dspram_save()
[all …]