Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/arch/arm/mach-lpc32xx/
H A 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 …]
/OK3568_Linux_fs/kernel/sound/soc/sprd/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm/mach-tegra/
H A 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 */
H A 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()
H A 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 */
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A 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 */
H A Dcoda.txt20 - iram : phandle pointing to the SRAM device node
30 iram = <&ocram>;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/
H A Dtegra.h56 /* Address at which WB code runs, it must not overlap Bootrom's IRAM usage */
60 #define NVBOOTINFOTABLE_BOOTTYPE 0xC /* Boot type in BIT in IRAM */
61 #define NVBOOTINFOTABLE_BCTSIZE 0x38 /* BCT size in BIT in IRAM */
62 #define NVBOOTINFOTABLE_BCTPTR 0x3C /* BCT pointer in BIT in IRAM */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dlpc-eth.txt11 - use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering
27 use-iram;
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399-evb-ind-lpddr4-android.dts15 iram: sram@ff8d0000 { label
77 iram = <&iram>;
78 rockchip,force-iram;
H A Drk3399-evb-rev3-android-lp4.dts17 iram: sram@ff8d0000 { label
24 iram = <&iram>;
25 rockchip,force-iram;
H A Drk3399-evb-ind-lpddr4-linux.dts15 iram: sram@ff8d0000 { label
91 iram = <&iram>;
92 rockchip,force-iram;
H A Drk3399-evb-ind-lpddr4-android-avb.dts18 iram: sram@ff8d0000 { label
80 iram = <&iram>;
81 rockchip,force-iram;
/OK3568_Linux_fs/kernel/sound/soc/intel/atom/sst/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx6qp.dtsi34 fsl,iram = <&ocram2>;
43 fsl,iram = <&ocram2>;
52 fsl,iram = <&ocram3>;
61 fsl,iram = <&ocram3>;
/OK3568_Linux_fs/u-boot/drivers/qe/
H A Dqe.c181 * Upload microcode to IRAM for those SOCs which do not have ROM in QE. in qe_init()
185 /* enable the microcode in IRAM */ in qe_init()
186 out_be32(&qe_immr->iram.iready,QE_IRAM_READY); in qe_init()
227 out_be32(&qe_immr->iram.iready, QE_IRAM_READY); in u_qe_init()
241 out_be32(&qe_immrr->iram.iready, QE_IRAM_READY); in u_qe_resume()
358 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode()
362 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
680 out_be32(&qe_immrr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in u_qe_firmware_resume()
684 out_be32(&qe_immrr->iram.idata, be32_to_cpu(code[i])); in u_qe_firmware_resume()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra114/
H A Dtegra.h20 #define NVBOOTINFOTABLE_BCTSIZE 0x48 /* BCT size in BIT in IRAM */
21 #define NVBOOTINFOTABLE_BCTPTR 0x4C /* BCT pointer in BIT in IRAM */
/OK3568_Linux_fs/kernel/sound/soc/intel/catpt/
H A 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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra124/
H A Dtegra.h22 #define NVBOOTINFOTABLE_BCTSIZE 0x48 /* BCT size in BIT in IRAM */
23 #define NVBOOTINFOTABLE_BCTPTR 0x4C /* BCT pointer in BIT in IRAM */
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra210/
H A Dtegra.h24 #define NVBOOTINFOTABLE_BCTSIZE 0x48 /* BCT size in BIT in IRAM */
25 #define NVBOOTINFOTABLE_BCTPTR 0x4C /* BCT pointer in BIT in IRAM */
/OK3568_Linux_fs/kernel/arch/arm/mach-zx/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-vde/
H A 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()

1234567