Home
last modified time | relevance | path

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

12345678910

/Linux-v5.4/drivers/misc/
Dsram.c55 static int sram_add_pool(struct sram_dev *sram, struct sram_reserve *block, in sram_add_pool() argument
60 part->pool = devm_gen_pool_create(sram->dev, ilog2(SRAM_GRANULARITY), in sram_add_pool()
68 dev_err(sram->dev, "failed to register subpool: %d\n", ret); in sram_add_pool()
75 static int sram_add_export(struct sram_dev *sram, struct sram_reserve *block, in sram_add_export() argument
79 part->battr.attr.name = devm_kasprintf(sram->dev, GFP_KERNEL, in sram_add_export()
90 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
93 static int sram_add_partition(struct sram_dev *sram, struct sram_reserve *block, in sram_add_partition() argument
97 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition()
100 part->base = sram->virt_base + block->start; in sram_add_partition()
103 ret = sram_add_pool(sram, block, start, part); in sram_add_partition()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/sram/
Dsunxi-sram.txt13 - "allwinner,sun4i-a10-sram-controller" (deprecated)
19 - "allwinner,sun50i-a64-sram-controller" (deprecated)
24 - reg : sram controller register offset + length
29 Each SRAM is described using the mmio-sram bindings documented in
30 Documentation/devicetree/bindings/sram/sram.txt
34 once again the representation described in the mmio-sram binding.
37 - allwinner,sun4i-a10-sram-a3-a4
38 - allwinner,sun4i-a10-sram-c1
39 - allwinner,sun4i-a10-sram-d
42 - allwinner,sun5i-a13-sram-a3-a4, allwinner,sun4i-a10-sram-a3-a4
[all …]
Drockchip-smp-sram.txt4 Rockchip's smp-capable SoCs use the first part of the sram for the bringup
6 residing at the very beginning of the sram.
8 Therefore a reserved section sub-node has to be added to the mmio-sram
12 - compatible : should be "rockchip,rk3066-smp-sram"
14 The rest of the properties should follow the generic mmio-sram discription
15 found in Documentation/devicetree/bindings/sram/sram.txt
19 sram: sram@10080000 {
20 compatible = "mmio-sram";
26 smp-sram@10080000 {
27 compatible = "rockchip,rk3066-smp-sram";
Dmilbeaut-smp-sram.txt3 Milbeaut SoCs use a part of the sram for the bringup of the secondary cores.
5 of the sram.
6 Therefore the part needs to be added as the sub-node of mmio-sram.
9 - compatible : should be "socionext,milbeaut-smp-sram"
13 sram: sram@0 {
14 compatible = "mmio-sram";
20 smp-sram@f100 {
21 compatible = "socionext,milbeaut-smp-sram";
Drenesas,smp-sram.txt5 This memory is reserved by adding a child node to a "mmio-sram" node, cfr.
6 Documentation/devicetree/bindings/sram/sram.txt.
9 - compatible: Must be "renesas,smp-sram",
16 icram1: sram@e63c0000 {
17 compatible = "mmio-sram";
23 smp-sram@0 {
24 compatible = "renesas,smp-sram";
Dsram.txt7 - compatible : mmio-sram or atmel,sama5d2-securam
11 Reserving sram areas:
14 Each child of the sram node specifies a region of reserved memory. Each
22 Required properties in the sram node:
26 within the sram to bus addresses
28 Optional properties in the sram node:
58 sram: sram@5c000000 {
59 compatible = "mmio-sram";
66 smp-sram@100 {
67 compatible = "socvendor,smp-sram";
[all …]
Drockchip-pmu-sram.txt4 The sram of pmu is used to store the function of resume from maskrom(the 1st
5 level loader). This is a common use of the "pmu-sram" because it keeps power
9 - compatible : should be "rockchip,rk3288-pmu-sram"
13 sram@ff720000 {
14 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
Dsamsung-sram.txt8 Therefore reserved section sub-nodes have to be added to the mmio-sram
17 The rest of the properties should follow the generic mmio-sram discription
18 found in Documentation/devicetree/bindings/sram/sram.txt
23 compatible = "mmio-sram";
/Linux-v5.4/Documentation/devicetree/bindings/arm/amlogic/
Dsmp-sram.txt4 Amlogic's SMP-capable SoCs use part of the sram for the bringup of the cores.
8 Therefore a reserved section sub-node has to be added to the mmio-sram
13 "amlogic,meson8-smp-sram"
14 "amlogic,meson8b-smp-sram"
16 The rest of the properties should follow the generic mmio-sram discription
17 found in ../../misc/sram.txt
21 sram: sram@d9000000 {
22 compatible = "mmio-sram";
28 smp-sram@1ff80 {
29 compatible = "amlogic,meson8b-smp-sram";
/Linux-v5.4/Documentation/devicetree/bindings/arm/sunxi/
Dsmp-sram.txt4 Allwinner's A80 SoC uses part of the secure sram for hotplugging of the
9 Therefore a reserved section sub-node has to be added to the mmio-sram
13 ../../sram/sunxi-sram.txt. This SRAM is secure only and not mappable to
21 "allwinner,sun9i-a80-smp-sram"
23 The rest of the properties should follow the generic mmio-sram discription
24 found in ../../misc/sram.txt
28 sram_b: sram@20000 {
30 compatible = "mmio-sram";
36 smp-sram@1000 {
41 compatible = "allwinner,sun9i-a80-smp-sram";
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dar9003_aic.c279 struct ath_aic_sram_info sram; in ar9003_aic_cal_post_process() local
282 cal_sram_valid[i] = sram.valid = in ar9003_aic_cal_post_process()
284 sram.rot_quad_att_db = in ar9003_aic_cal_post_process()
286 sram.vga_quad_sign = in ar9003_aic_cal_post_process()
288 sram.rot_dir_att_db = in ar9003_aic_cal_post_process()
290 sram.vga_dir_sign = in ar9003_aic_cal_post_process()
292 sram.com_att_6db = in ar9003_aic_cal_post_process()
295 if (sram.valid) { in ar9003_aic_cal_post_process()
296 dir_path_gain_idx = sram.rot_dir_att_db + in ar9003_aic_cal_post_process()
297 com_att_db_table[sram.com_att_6db]; in ar9003_aic_cal_post_process()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/fsl/
Dcache_sram.txt10 - compatible : should be "fsl,p2020-cache-sram"
11 - fsl,cache-sram-ctlr-handle : points to the L2 controller
12 - reg : offset and length of the cache-sram.
16 cache-sram@fff00000 {
17 fsl,cache-sram-ctlr-handle = <&L2>;
19 compatible = "fsl,p2020-cache-sram";
/Linux-v5.4/arch/arm/boot/dts/
Dlpc4350.dtsi24 sram0: sram@10000000 {
25 compatible = "mmio-sram";
29 sram1: sram@10080000 {
30 compatible = "mmio-sram";
34 sram2: sram@20000000 {
35 compatible = "mmio-sram";
Dlpc4357.dtsi24 sram0: sram@10000000 {
25 compatible = "mmio-sram";
29 sram1: sram@10080000 {
30 compatible = "mmio-sram";
34 sram2: sram@20000000 {
35 compatible = "mmio-sram";
Dsuniv-f1c100s.dtsi41 sram-controller@1c00000 {
49 sram_d: sram@10000 {
50 compatible = "mmio-sram";
56 otg_sram: sram-section@0 {
57 compatible = "allwinner,suniv-f1c100s-sram-d",
58 "allwinner,sun4i-a10-sram-d";
Dat91sam9xe.dtsi15 sram0: sram@2ff000 {
19 sram1: sram@300000 {
20 compatible = "mmio-sram";
Dat91sam9g20.dtsi18 sram0: sram@2ff000 {
22 sram1: sram@2fc000 {
23 compatible = "mmio-sram";
/Linux-v5.4/arch/powerpc/boot/
Dtreeboot-walnut.c22 void *devp, *sram; in walnut_flashsel_fixup() local
44 sram = finddevice("/plb/ebc/sram"); in walnut_flashsel_fixup()
45 if (!sram) in walnut_flashsel_fixup()
48 if (getprop(sram, "reg", reg_sram, sizeof(reg_sram)) != sizeof(reg_sram)) in walnut_flashsel_fixup()
57 setprop(sram, "reg", reg_sram, sizeof(reg_sram)); in walnut_flashsel_fixup()
/Linux-v5.4/arch/arm/plat-omap/
Dsram.c63 void *sram; in omap_sram_push() local
68 sram = omap_sram_push_address(size); in omap_sram_push()
69 if (!sram) in omap_sram_push()
72 base = (unsigned long)sram & PAGE_MASK; in omap_sram_push()
77 dst = fncpy(sram, funcp, size); in omap_sram_push()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c10 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
22 static void __iomem *sram; variable
91 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
133 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
136 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); in mpc52xx_pm_enter()
160 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter()
176 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
/Linux-v5.4/drivers/memory/
DMakefile27 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
28 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
30 AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a
32 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
/Linux-v5.4/drivers/fsi/
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-v5.4/Documentation/devicetree/bindings/arm/omap/
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.txt
52 pm-sram = <&pm_sram_code
/Linux-v5.4/Documentation/devicetree/bindings/clock/
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-v5.4/Documentation/devicetree/bindings/media/
Dallegro.txt14 length of the memory mapped sram
15 - reg-names: must include "regs" and "sram"
26 reg-names = "regs", "sram";
37 reg-names = "regs", "sram";

12345678910