Home
last modified time | relevance | path

Searched full:iram (Results 1 – 25 of 99) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/arm/mach-lpc32xx/
Dpm.c47 * section of IRAM is used instead for this.
50 * Backup a small area of IRAM used for the suspend code
51 * Copy suspend code to IRAM
52 * Transfer control to code in IRAM
62 * Code execution returns from IRAM
63 * IRAM code are used for suspend is restored
87 /* Allocate some space for temporary IRAM storage */ in lpc32xx_pm_enter()
94 * Copy code to suspend system into IRAM. The suspend code in lpc32xx_pm_enter()
95 * needs to run from IRAM as DRAM may no longer be available in lpc32xx_pm_enter()
103 /* Transfer to suspend code in IRAM */ in lpc32xx_pm_enter()
[all …]
/kernel/linux/linux-5.10/sound/soc/sprd/
Dsprd-pcm-compress.c28 /* Stage 0 IRAM buffer size definition */
58 * For 2-stage DMA transfer, we can allocate 2 buffers: IRAM buffer (always
59 * power-on) and DDR buffer. The source channel will transfer data from IRAM
60 * buffer to the DSP fifo to decoding/encoding, once IRAM buffer is empty by
62 * DDR buffer to IRAM buffer.
64 * Since the DSP fifo is only 512B, IRAM buffer is allocated by 32K, and DDR
65 * buffer is larger to 2M. That means only the IRAM 32k data is transferred
66 * done, we can wake up the AP system to transfer data from DDR to IRAM, and
77 /* Stage 0 IRAM buffer */
82 /* DSP play information IRAM buffer */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dnvidia,tegra-vde.txt21 - iram : Must contain phandle to the mmio-sram device node that represents
22 IRAM region used by VDE.
55 iram = <&vde_pool>; /* IRAM region */
Dcoda.txt20 - iram : phandle pointing to the SRAM device node
30 iram = <&ocram>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dlpc-eth.txt11 - use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering
27 use-iram;
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-pre.c95 struct gen_pool *iram; member
290 pre->iram = of_gen_pool_get(dev->of_node, "fsl,iram", 0); in ipu_pre_probe()
291 if (!pre->iram) in ipu_pre_probe()
295 * Allocate IRAM buffer with maximum size. This could be made dynamic, in ipu_pre_probe()
296 * but as there is no other user of this IRAM region and we can fit all in ipu_pre_probe()
299 pre->buffer_virt = gen_pool_dma_alloc(pre->iram, IPU_PRE_MAX_WIDTH * in ipu_pre_probe()
329 gen_pool_free(pre->iram, (unsigned long)pre->buffer_virt, in ipu_pre_remove()
/kernel/linux/linux-5.10/arch/arm/mach-tegra/
Dsleep-tegra20.S116 * tegra20_tear_down_core in IRAM
147 /* START OF ROUTINES COPIED TO IRAM */
155 * reset vector for LP1 restore; copied into IRAM during suspend.
168 * IRAM when this code is executed; immediately switch to CLKM and
241 * copied into and executed from IRAM
294 * executes from IRAM with SDRAM in selfrefresh when target state is LP0 or LP1
319 * must be executed from IRAM
400 /* dummy symbol for end of IRAM */
Dpm.c260 * SDRAM. These codes not be copied to IRAM in this fuction. We need to
261 * copy these code to IRAM before LP0/LP1 suspend and restore the content
262 * of IRAM after resume.
321 /* copy the reset vector & SDRAM shutdown code into IRAM */ in tegra_suspend_enter_lp1()
332 /* restore IRAM */ in tegra_suspend_exit_lp1()
Dsleep-tegra30.S233 * tegra30_tear_down_core in IRAM
297 /* START OF ROUTINES COPIED TO IRAM */
305 * reset vector for LP1 restore; copied into IRAM during suspend.
318 * IRAM when this code is executed; immediately switch to CLKM and
599 * copied into and executed from IRAM
689 * executes from IRAM with SDRAM in selfrefresh when target state is LP0 or LP1
727 * must be executed from IRAM
848 /* dummy symbol for end of IRAM */
Dirammap.h11 /* The first 1K of IRAM is permanently reserved for the CPU reset handler */
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qp.dtsi28 fsl,iram = <&ocram2>;
37 fsl,iram = <&ocram2>;
46 fsl,iram = <&ocram3>;
55 fsl,iram = <&ocram3>;
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_exc.S38 .section .iram,"ax"
117 .section .iram,"ax"
139 .section .iram,"ax"
151 .section .iram,"ax"
157 .section .iram,"ax"
399 .section .iram,"ax"
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c82 /* Enable write access to IRAM */ in dce_dmcu_load_iram()
94 /* Disable write access to IRAM to allow dynamic sleep state */ in dce_dmcu_load_iram()
108 /* Enable write access to IRAM */ in dce_get_dmcu_psr_state()
119 /* Disable write access to IRAM after finished using IRAM in dce_get_dmcu_psr_state()
333 /* Enable write access to IRAM */ in dcn10_get_dmcu_version()
348 /* Disable write access to IRAM to allow dynamic sleep state */ in dcn10_get_dmcu_version()
483 /* Enable write access to IRAM */ in dcn10_dmcu_load_iram()
495 /* Disable write access to IRAM to allow dynamic sleep state */ in dcn10_dmcu_load_iram()
503 /* Set command to signal IRAM is loaded and to initialize IRAM */ in dcn10_dmcu_load_iram()
526 /* Enable write access to IRAM */ in dcn10_get_dmcu_psr_state()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst.c464 fw_save->iram = kvzalloc(ctx->iram_end - ctx->iram_base, GFP_KERNEL); in intel_sst_suspend()
465 if (!fw_save->iram) { in intel_sst_suspend()
467 goto iram; in intel_sst_suspend()
486 memcpy32_fromio(fw_save->iram, ctx->iram, ctx->iram_end - ctx->iram_base); in intel_sst_suspend()
499 kvfree(fw_save->iram); in intel_sst_suspend()
500 iram: in intel_sst_suspend()
522 memcpy32_toio(ctx->iram, fw_save->iram, ctx->iram_end - ctx->iram_base); in intel_sst_resume()
529 kvfree(fw_save->iram); in intel_sst_resume()
Dsst_pci.c81 /* IRAM */ in sst_platform_get_resources()
84 ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); in sst_platform_get_resources()
85 if (!ctx->iram) { in sst_platform_get_resources()
89 dev_dbg(ctx->dev, "IRAM Ptr %p\n", ctx->iram); in sst_platform_get_resources()
Dsst_acpi.c166 dev_info(ctx->dev, "IRAM base: %#x", ctx->iram_base); in sst_platform_get_resources()
167 ctx->iram = devm_ioremap(ctx->dev, ctx->iram_base, in sst_platform_get_resources()
169 if (!ctx->iram) { in sst_platform_get_resources()
170 dev_err(ctx->dev, "unable to map IRAM\n"); in sst_platform_get_resources()
Dsst.h317 void *iram; /* allocated via kvmalloc() */ member
331 * @iram : SST IRAM pointer
365 void __iomem *iram; member
/kernel/linux/linux-5.10/arch/arm/mach-zx/
Dplatsmp.c92 /* Map the first 4 KB IRAM for suspend usage */ in zx_smp_prepare_cpus()
108 /* Swap the base address mapping between IRAM and IROM */ in zx_boot_secondary()
118 /* Swap back the mapping of IRAM and IROM */ in zx_boot_secondary()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Ddsp.c369 catpt_dsp_set_srampge(cdev, &cdev->iram, cdev->spec->iram_mask, in lpt_dsp_power_down()
383 catpt_dsp_set_srampge(cdev, &cdev->iram, cdev->spec->iram_mask, 0); in lpt_dsp_power_up()
431 catpt_dsp_set_srampge(cdev, &cdev->iram, cdev->spec->iram_mask, in wpt_dsp_power_down()
466 catpt_dsp_set_srampge(cdev, &cdev->iram, cdev->spec->iram_mask, 0); in wpt_dsp_power_up()
515 dump_size += resource_size(&cdev->iram); in catpt_coredump()
551 hdr->size = resource_size(&cdev->iram); in catpt_coredump()
554 memcpy_fromio(pos, cdev->lpe_ba + cdev->iram.start, hdr->size); in catpt_coredump()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Dvde.c220 u32 *iram_tables = vde->iram; in tegra_vde_setup_iram_entry()
336 memset(vde->iram + 128, 0, macroblocks_nb / 2); in tegra_vde_setup_hw_context()
346 * The IRAM mapping is write-combine, ensure that CPU buffers have in tegra_vde_setup_hw_context()
1027 vde->iram_pool = of_gen_pool_get(dev->of_node, "iram", 0); in tegra_vde_probe()
1029 dev_err(dev, "Could not get IRAM pool\n"); in tegra_vde_probe()
1033 vde->iram = gen_pool_dma_alloc(vde->iram_pool, in tegra_vde_probe()
1036 if (!vde->iram) { in tegra_vde_probe()
1037 dev_err(dev, "Could not reserve IRAM\n"); in tegra_vde_probe()
1081 gen_pool_free(vde->iram_pool, (unsigned long)vde->iram, in tegra_vde_probe()
1108 gen_pool_free(vde->iram_pool, (unsigned long)vde->iram, in tegra_vde_remove()
/kernel/linux/linux-5.10/sound/core/
Dmemalloc.c59 * @size: number of bytes to allocate from the iram
61 * This function requires iram phandle provided via of_node
72 pool = of_gen_pool_get(dev->of_node, "iram", 0); in snd_malloc_dev_iram()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/imx/
Dfsl-imx-drm.txt74 - fsl,iram: phandle pointing to the mmio-sram device node, that should be
85 fsl,iram = <&ocram2>;
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-common.c3189 /* Get IRAM pool from device tree or platform data */ in coda_probe()
3190 pool = of_gen_pool_get(np, "iram", 0); in coda_probe()
3194 dev_err(&pdev->dev, "iram pool not available\n"); in coda_probe()
3231 dev->iram.size = dev->devtype->iram_size; in coda_probe()
3232 dev->iram.vaddr = gen_pool_dma_alloc(dev->iram_pool, dev->iram.size, in coda_probe()
3233 &dev->iram.paddr); in coda_probe()
3234 if (!dev->iram.vaddr) { in coda_probe()
3235 dev_warn(&pdev->dev, "unable to alloc iram\n"); in coda_probe()
3237 memset(dev->iram.vaddr, 0, dev->iram.size); in coda_probe()
3238 dev->iram.blob.data = dev->iram.vaddr; in coda_probe()
[all …]
Dcoda-bit.c774 static phys_addr_t coda_iram_alloc(struct coda_iram_info *iram, size_t size) in coda_iram_alloc() argument
779 if (size > iram->remaining) in coda_iram_alloc()
781 iram->remaining -= size; in coda_iram_alloc()
783 ret = iram->next_paddr; in coda_iram_alloc()
784 iram->next_paddr += size; in coda_iram_alloc()
801 iram_info->next_paddr = dev->iram.paddr; in coda_setup_iram()
802 iram_info->remaining = dev->iram.size; in coda_setup_iram()
804 if (!dev->iram.vaddr) in coda_setup_iram()
838 /* Prioritize in case IRAM is too small for everything */ in coda_setup_iram()
846 pr_err("IRAM is smaller than the search ram size\n"); in coda_setup_iram()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h50 u32 iram_size; /* size of iram */

1234