Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/misc/
H A Dsram.c57 static int sram_add_pool(struct sram_dev *sram, struct sram_reserve *block, in sram_add_pool() argument
62 part->pool = devm_gen_pool_create(sram->dev, ilog2(SRAM_GRANULARITY), in sram_add_pool()
70 dev_err(sram->dev, "failed to register subpool: %d\n", ret); in sram_add_pool()
77 static int sram_add_export(struct sram_dev *sram, struct sram_reserve *block, in sram_add_export() argument
81 part->battr.attr.name = devm_kasprintf(sram->dev, GFP_KERNEL, in sram_add_export()
92 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
95 static int sram_add_partition(struct sram_dev *sram, struct sram_reserve *block, in sram_add_partition() argument
99 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition()
103 if (sram->config && sram->config->map_only_reserved) { in sram_add_partition()
106 if (sram->no_memory_wc) in sram_add_partition()
[all …]
/linux/drivers/fsi/
H A Dfsi-master-ast-cf.c111 void __iomem *sram; member
315 iowrite32be(op, master->sram + CMD_STAT_REG); in do_copro_command()
328 stat = ioread8(master->sram + CMD_STAT_REG); in do_copro_command()
366 iowrite32be((cmd->msg >> 32), master->sram + CMD_DATA); in send_request()
367 iowrite32be((cmd->msg & 0xffffffff), master->sram + CMD_DATA + 4); in send_request()
380 uint8_t rtag = ioread8(master->sram + STAT_RTAG) & 0xf; in read_copro_response()
381 uint8_t rcrc = ioread8(master->sram + STAT_RCRC) & 0xf; in read_copro_response()
392 rdata = ioread32be(master->sram + RSP_DATA); in read_copro_response()
448 ioread32be(master->sram + CMD_STAT_REG), in dump_ucode_trace()
449 ioread8(master->sram + STAT_RTAG), in dump_ucode_trace()
[all …]
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c12 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
24 static void __iomem *sram; variable
93 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
135 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
138 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); in mpc52xx_pm_enter()
162 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter()
178 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
H A Dlite5200_pm.c12 extern void lite5200_low_power(void __iomem *sram, void __iomem *mbar);
21 static void __iomem *sram; variable
84 sram = mbar + 0x8000; in lite5200_pm_prepare()
108 _memcpy_fromio(saved_sram, sram, sram_size); in lite5200_save_regs()
114 _memcpy_toio(sram, saved_sram, sram_size); in lite5200_restore_regs()
216 lite5200_low_power(sram, mbar); in lite5200_pm_enter()
/linux/arch/arm64/boot/dts/arm/
H A Djuno-scmi.dtsi200 &sram {
201 /delete-node/ scp-sram@0;
202 /delete-node/ scp-sram@200;
204 cpu_scp_lpri0: scp-sram@0 {
209 cpu_scp_lpri1: scp-sram@80 {
214 cpu_scp_hpri0: scp-sram@100 {
219 cpu_scp_hpri1: scp-sram@180 {
/linux/arch/arm/mach-omap1/
H A Dsram-init.c61 void *sram; in omap_sram_push() local
66 sram = omap_sram_push_address(size); in omap_sram_push()
67 if (!sram) in omap_sram_push()
70 base = (unsigned long)sram & PAGE_MASK; in omap_sram_push()
75 dst = fncpy(sram, funcp, size); in omap_sram_push()
/linux/Documentation/devicetree/bindings/arm/omap/
H A Dmpu.txt14 - sram: Phandle to the ocmcram node
17 - pm-sram: Phandles to ocmcram nodes to be used for power management.
20 data region for code. See Documentation/devicetree/bindings/sram/sram.yaml
52 pm-sram = <&pm_sram_code
/linux/drivers/firmware/tegra/
H A Dbpmp-tegra186.c24 void __iomem *sram; member
127 iosys_map_set_vaddr_iomem(&rx, priv->rx.sram + offset); in tegra186_bpmp_channel_init()
128 iosys_map_set_vaddr_iomem(&tx, priv->tx.sram + offset); in tegra186_bpmp_channel_init()
187 gen_pool_free(priv->tx.pool, (unsigned long)priv->tx.sram, 4096); in tegra186_bpmp_teardown_channels()
188 gen_pool_free(priv->rx.pool, (unsigned long)priv->rx.sram, 4096); in tegra186_bpmp_teardown_channels()
242 priv->tx.sram = (void __iomem *)gen_pool_dma_alloc(priv->tx.pool, 4096, in tegra186_bpmp_sram_init()
244 if (!priv->tx.sram) { in tegra186_bpmp_sram_init()
256 priv->rx.sram = (void __iomem *)gen_pool_dma_alloc(priv->rx.pool, 4096, in tegra186_bpmp_sram_init()
258 if (!priv->rx.sram) { in tegra186_bpmp_sram_init()
267 gen_pool_free(priv->tx.pool, (unsigned long)priv->tx.sram, 4096); in tegra186_bpmp_sram_init()
/linux/Documentation/devicetree/bindings/clock/
H A Dhi6220-clock.txt28 - hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram;
29 the driver need use the sram to pass parameters for frequency change.
44 hisilicon,hi6220-clk-sram = <&sram>;
/linux/drivers/remoteproc/
H A Dxlnx_r5_remoteproc.c147 struct zynqmp_sram_bank *sram; member
541 struct zynqmp_sram_bank *sram; in add_sram_carveouts() local
547 sram = &r5_core->sram[i]; in add_sram_carveouts()
549 dma_addr = (dma_addr_t)sram->sram_res.start; in add_sram_carveouts()
551 len = resource_size(&sram->sram_res); in add_sram_carveouts()
552 da = sram->da; in add_sram_carveouts()
559 sram->sram_res.name); in add_sram_carveouts()
562 sram->sram_res.name, da, len); in add_sram_carveouts()
570 sram->sram_res.name, dma_addr, da, len); in add_sram_carveouts()
967 struct zynqmp_sram_bank *sram; in zynqmp_r5_get_sram_banks() local
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9xe.dtsi15 sram0: sram@2ff000 {
19 sram1: sram@300000 {
20 compatible = "mmio-sram";
H A Dat91sam9g20.dtsi18 sram0: sram@2ff000 {
22 sram1: sram@2fc000 {
23 compatible = "mmio-sram";
/linux/drivers/memory/
H A DMakefile31 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
34 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
36 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
/linux/arch/arm/mach-omap2/
H A Dsram.c83 void *sram; in omap_sram_push() local
88 sram = omap_sram_push_address(size); in omap_sram_push()
89 if (!sram) in omap_sram_push()
92 base = (unsigned long)sram & PAGE_MASK; in omap_sram_push()
97 dst = fncpy(sram, funcp, size); in omap_sram_push()
/linux/sound/soc/intel/catpt/
H A 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_add in catpt_load_block()
[all...]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i.dtsi140 sram_a: sram@0 {
141 compatible = "mmio-sram";
147 emac_sram: sram-section@8000 {
148 compatible = "allwinner,sun5i-a13-sram-a3-a4",
149 "allwinner,sun4i-a10-sram-a3-a4";
155 sram_d: sram@10000 {
156 compatible = "mmio-sram";
162 otg_sram: sram-section@0 {
163 compatible = "allwinner,sun5i-a13-sram-d",
164 "allwinner,sun4i-a10-sram-d";
[all …]
/linux/arch/arm/boot/dts/socionext/
H A Dmilbeaut-m10v.dtsi93 sram@0 {
94 compatible = "mmio-sram";
99 smp-sram@f100 {
100 compatible = "socionext,milbeaut-smp-sram";
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qp.dtsi9 ocram2: sram@940000 {
10 compatible = "mmio-sram";
18 ocram3: sram@960000 {
19 compatible = "mmio-sram";
/linux/arch/arm/mach-pxa/
H A Dpxa3xx.c64 static void __iomem *sram; variable
77 void (*fn)(unsigned int) = (void __force *)(sram + 0x8000); in pxa3xx_cpu_standby()
79 memcpy_toio(sram + 0x8000, pm_enter_standby_start, in pxa3xx_cpu_standby()
186 sram = ioremap(ISRAM_START, ISRAM_SIZE); in pxa3xx_init_pm()
187 if (!sram) { in pxa3xx_init_pm()
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h5.dtsi85 sram_c1: sram@18000 {
86 compatible = "mmio-sram";
92 ve_sram: sram-section@0 {
93 compatible = "allwinner,sun50i-h5-sram-c1",
94 "allwinner,sun4i-a10-sram-c1";
108 allwinner,sram = <&ve_sram 1>;
/linux/Documentation/devicetree/bindings/memory-controllers/ti/
H A Demif.txt32 - sram : Phandles for generic sram driver nodes,
35 data region for code. See Documentation/devicetree/bindings/sram/sram.yaml
76 sram = <&pm_sram_code
/linux/Documentation/devicetree/bindings/mailbox/
H A Dmailbox.txt41 sram: sram@50000000 {
42 compatible = "mmio-sram";
/linux/arch/powerpc/boot/dts/
H A Dpcm030.dts76 sram@8000 {
77 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
/linux/Documentation/devicetree/bindings/net/
H A Dmarvell-orion-net.txt43 - marvell,tx-sram-addr: address of transmit descriptor buffer located in SRAM.
44 - marvell,tx-sram-size: size of transmit descriptor buffer located in SRAM.
46 - marvell,rx-sram-addr: address of receive descriptor buffer located in SRAM.
47 - marvell,rx-sram-size: size of receive descriptor buffer located in SRAM.
/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi26 sram: sram@a4000000 { label
27 compatible = "mmio-sram";
33 sram@0 {

1234567891011