Home
last modified time | relevance | path

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

/sound/soc/intel/catpt/
Dloader.c159 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_store_memdumps()
219 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_restore_memdumps()
248 r1.start = cdev->dram.start + blk->ram_offset; in catpt_restore_fwimage()
264 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_restore_fwimage()
305 sram = &cdev->dram; in catpt_load_block()
632 catpt_dsp_update_srampge(cdev, &cdev->dram, cdev->spec->dram_mask); in catpt_boot_firmware()
650 __request_region(&cdev->dram, 0, 0x200, NULL, 0); in catpt_first_boot_firmware()
652 for (res = cdev->dram.child; res->sibling; res = res->sibling) in catpt_first_boot_firmware()
654 __request_region(&cdev->dram, res->end + 1, in catpt_first_boot_firmware()
655 cdev->dram.end - res->end, NULL, 0); in catpt_first_boot_firmware()
[all …]
Ddsp.c383 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, in catpt_dsp_power_down()
419 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, 0); in catpt_dsp_power_up()
468 dump_size = resource_size(&cdev->dram); in catpt_coredump()
515 hdr->size = resource_size(&cdev->dram); in catpt_coredump()
518 memcpy_fromio(pos, cdev->lpe_ba + cdev->dram.start, hdr->size); in catpt_coredump()
Ddevice.c231 catpt_sram_init(&cdev->dram, spec->host_dram_offset, in catpt_dev_init()
307 catpt_sram_free(&cdev->dram); in catpt_acpi_remove()
Dpcm.c279 res = catpt_request_region(&cdev->dram, template->persistent_size); in catpt_dai_startup()
285 catpt_dsp_update_srampge(cdev, &cdev->dram, cdev->spec->dram_mask); in catpt_dai_startup()
320 catpt_dsp_update_srampge(cdev, &cdev->dram, cdev->spec->dram_mask); in catpt_dai_shutdown()
1169 res = catpt_request_region(&cdev->dram, scratch_size); in catpt_arm_stream_templates()
Dcore.h90 struct resource dram; member
/sound/soc/kirkwood/
Dkirkwood-dma.c79 const struct mbus_dram_target_info *dram) in kirkwood_dma_conf_mbus_windows() argument
88 for (i = 0; i < dram->num_cs; i++) { in kirkwood_dma_conf_mbus_windows()
89 const struct mbus_dram_window *cs = &dram->cs[i]; in kirkwood_dma_conf_mbus_windows()
95 (dram->mbus_dram_target_id << 4) | 1, in kirkwood_dma_conf_mbus_windows()
182 const struct mbus_dram_target_info *dram = mv_mbus_dram_info(); in kirkwood_dma_hw_params() local
187 KIRKWOOD_PLAYBACK_WIN, addr, dram); in kirkwood_dma_hw_params()
190 KIRKWOOD_RECORD_WIN, addr, dram); in kirkwood_dma_hw_params()
/sound/soc/intel/atom/sst/
Dsst.c468 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
469 if (!fw_save->dram) { in intel_sst_suspend()
471 goto dram; in intel_sst_suspend()
486 memcpy32_fromio(fw_save->dram, ctx->dram, ctx->dram_end - ctx->dram_base); in intel_sst_suspend()
496 kvfree(fw_save->dram); in intel_sst_suspend()
497 dram: in intel_sst_suspend()
522 memcpy32_toio(ctx->dram, fw_save->dram, ctx->dram_end - ctx->dram_base); in intel_sst_resume()
527 kvfree(fw_save->dram); in intel_sst_resume()
Dsst_pci.c94 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources()
95 if (!ctx->dram) { in sst_platform_get_resources()
99 dev_dbg(ctx->dev, "DRAM Ptr %p\n", ctx->dram); in sst_platform_get_resources()
Dsst_acpi.c178 ctx->dram = devm_ioremap(ctx->dev, ctx->dram_base, in sst_platform_get_resources()
180 if (!ctx->dram) { in sst_platform_get_resources()
Dsst_loader.c198 ram_iomem = sst_drv_ctx->dram; in sst_parse_module_memcpy()
383 sst_dccm_config_write(ctx->dram, ctx->ddr_base); in sst_post_download_mrfld()
Dsst.h318 void *dram; /* allocated via kvmalloc() */ member
366 void __iomem *dram; member
/sound/mips/
Dhal2.h229 u32 dram; /* DRAM Access */ member
/sound/pci/
Dals300.c206 u8 general, mpu, dram; in snd_als300plus_interrupt() local
212 dram = inb(chip->port+ALS300P_DRAM_IRQ_STATUS); in snd_als300plus_interrupt()
215 if ((general == 0) && ((mpu & 0x80) == 0) && ((dram & 0x01) == 0)) in snd_als300plus_interrupt()