/Linux-v4.19/drivers/misc/ |
D | sram.c | 68 static int sram_add_pool(struct sram_dev *sram, struct sram_reserve *block, in sram_add_pool() argument 73 part->pool = devm_gen_pool_create(sram->dev, ilog2(SRAM_GRANULARITY), in sram_add_pool() 81 dev_err(sram->dev, "failed to register subpool: %d\n", ret); in sram_add_pool() 88 static int sram_add_export(struct sram_dev *sram, struct sram_reserve *block, in sram_add_export() argument 92 part->battr.attr.name = devm_kasprintf(sram->dev, GFP_KERNEL, in sram_add_export() 103 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export() 106 static int sram_add_partition(struct sram_dev *sram, struct sram_reserve *block, in sram_add_partition() argument 110 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition() 113 part->base = sram->virt_base + block->start; in sram_add_partition() 116 ret = sram_add_pool(sram, block, start, part); in sram_add_partition() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/sram/ |
D | sunxi-sram.txt | 13 - "allwinner,sun4i-a10-sram-controller" (deprecated) 19 - "allwinner,sun50i-a64-sram-controller" (deprecated) 21 - reg : sram controller register offset + length 26 Each SRAM is described using the mmio-sram bindings documented in 27 Documentation/devicetree/bindings/sram/sram.txt 31 once again the representation described in the mmio-sram binding. 34 - allwinner,sun4i-a10-sram-a3-a4 35 - allwinner,sun4i-a10-sram-c1 36 - allwinner,sun4i-a10-sram-d 39 - allwinner,sun5i-a13-sram-a3-a4, allwinner,sun4i-a10-sram-a3-a4 [all …]
|
D | rockchip-smp-sram.txt | 4 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";
|
D | renesas,smp-sram.txt | 5 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";
|
D | sram.txt | 7 - 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 …]
|
D | rockchip-pmu-sram.txt | 4 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";
|
D | samsung-sram.txt | 8 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-v4.19/Documentation/devicetree/bindings/arm/amlogic/ |
D | smp-sram.txt | 4 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-v4.19/Documentation/devicetree/bindings/arm/sunxi/ |
D | smp-sram.txt | 4 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-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9003_aic.c | 279 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-v4.19/Documentation/devicetree/bindings/powerpc/fsl/ |
D | cache_sram.txt | 10 - 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-v4.19/arch/arm/boot/dts/ |
D | lpc4350.dtsi | 24 sram0: sram@10000000 { 25 compatible = "mmio-sram"; 29 sram1: sram@10080000 { 30 compatible = "mmio-sram"; 34 sram2: sram@20000000 { 35 compatible = "mmio-sram";
|
D | lpc4357.dtsi | 24 sram0: sram@10000000 { 25 compatible = "mmio-sram"; 29 sram1: sram@10080000 { 30 compatible = "mmio-sram"; 34 sram2: sram@20000000 { 35 compatible = "mmio-sram";
|
D | at91sam9g20.dtsi | 19 sram0: sram@2ff000 { 23 sram1: sram@2fc000 { 24 compatible = "mmio-sram";
|
D | sun5i.dtsi | 124 sram_a: sram@0 { 125 compatible = "mmio-sram"; 131 emac_sram: sram-section@8000 { 132 compatible = "allwinner,sun5i-a13-sram-a3-a4", 133 "allwinner,sun4i-a10-sram-a3-a4"; 139 sram_d: sram@10000 { 140 compatible = "mmio-sram"; 146 otg_sram: sram-section@0 { 147 compatible = "allwinner,sun5i-a13-sram-d", 148 "allwinner,sun4i-a10-sram-d"; [all …]
|
D | imx6qp.dtsi | 9 ocram2: sram@940000 { 10 compatible = "mmio-sram"; 15 ocram3: sram@960000 { 16 compatible = "mmio-sram";
|
/Linux-v4.19/arch/powerpc/boot/ |
D | treeboot-walnut.c | 25 void *devp, *sram; in walnut_flashsel_fixup() local 47 sram = finddevice("/plb/ebc/sram"); in walnut_flashsel_fixup() 48 if (!sram) in walnut_flashsel_fixup() 51 if (getprop(sram, "reg", reg_sram, sizeof(reg_sram)) != sizeof(reg_sram)) in walnut_flashsel_fixup() 60 setprop(sram, "reg", reg_sram, sizeof(reg_sram)); in walnut_flashsel_fixup()
|
/Linux-v4.19/arch/arm/plat-omap/ |
D | sram.c | 66 void *sram; in omap_sram_push() local 71 sram = omap_sram_push_address(size); in omap_sram_push() 72 if (!sram) in omap_sram_push() 75 base = (unsigned long)sram & PAGE_MASK; in omap_sram_push() 80 dst = fncpy(sram, funcp, size); in omap_sram_push()
|
/Linux-v4.19/drivers/memory/ |
D | Makefile | 25 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o 26 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o 28 AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a 32 drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pm.c | 10 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()
|
D | lite5200_pm.c | 10 extern void lite5200_low_power(void __iomem *sram, void __iomem *mbar); 19 static void __iomem *sram; variable 85 sram = mbar + 0x8000; in lite5200_pm_prepare() 109 _memcpy_fromio(saved_sram, sram, sram_size); in lite5200_save_regs() 115 _memcpy_toio(sram, saved_sram, sram_size); in lite5200_restore_regs() 217 lite5200_low_power(sram, mbar); in lite5200_pm_enter()
|
/Linux-v4.19/drivers/fsi/ |
D | fsi-master-ast-cf.c | 111 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-v4.19/Documentation/devicetree/bindings/arm/omap/ |
D | mpu.txt | 14 - 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-v4.19/Documentation/devicetree/bindings/clock/ |
D | hi6220-clock.txt | 28 - 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-v4.19/Documentation/devicetree/bindings/mailbox/ |
D | mailbox.txt | 41 sram: sram@50000000 { 42 compatible = "mmio-sram";
|