Home
last modified time | relevance | path

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

/sound/soc/intel/catpt/
Dloader.c53 void catpt_sram_init(struct resource *sram, u32 start, u32 size) in catpt_sram_init() argument
55 sram->start = start; in catpt_sram_init()
56 sram->end = start + size - 1; in catpt_sram_init()
59 void catpt_sram_free(struct resource *sram) in catpt_sram_free() argument
63 for (res = sram->child; res;) { in catpt_sram_free()
293 struct resource *sram, *res; in catpt_load_block() local
302 sram = &cdev->iram; in catpt_load_block()
305 sram = &cdev->dram; in catpt_load_block()
309 dst_addr = sram->start + blk->ram_offset; in catpt_load_block()
311 res = __request_region(sram, dst_addr, blk->size, NULL, 0); in catpt_load_block()
[all …]
Dcore.h20 void catpt_sram_init(struct resource *sram, u32 start, u32 size);
21 void catpt_sram_free(struct resource *sram);
121 void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram,
Ddsp.c154 static void catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_set_srampge() argument
158 u32 off = sram->start; in catpt_dsp_set_srampge()
189 void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_update_srampge() argument
196 for (res = sram->child; res; res = res->sibling) { in catpt_dsp_update_srampge()
199 h = (res->end - sram->start) / CATPT_MEMBLOCK_SIZE; in catpt_dsp_update_srampge()
200 l = (res->start - sram->start) / CATPT_MEMBLOCK_SIZE; in catpt_dsp_update_srampge()
210 catpt_dsp_set_srampge(cdev, sram, mask, new); in catpt_dsp_update_srampge()
/sound/soc/intel/atom/sst/
Dsst.c473 fw_save->sram = kvzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); in intel_sst_suspend()
474 if (!fw_save->sram) { in intel_sst_suspend()
476 goto sram; in intel_sst_suspend()
487 memcpy32_fromio(fw_save->sram, ctx->mailbox, SST_MAILBOX_SIZE); in intel_sst_suspend()
494 kvfree(fw_save->sram); in intel_sst_suspend()
495 sram: in intel_sst_suspend()
523 memcpy32_toio(ctx->mailbox, fw_save->sram, SST_MAILBOX_SIZE); in intel_sst_resume()
526 kvfree(fw_save->sram); in intel_sst_resume()
Dsst.h319 void *sram; /* allocated via kvmalloc() */ member