Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/
Dsram.c89 static int sram_add_pool(struct sram_dev *sram, struct sram_reserve *block, in sram_add_pool() argument
94 part->pool = devm_gen_pool_create(sram->dev, ilog2(SRAM_GRANULARITY), in sram_add_pool()
102 dev_err(sram->dev, "failed to register subpool: %d\n", ret); in sram_add_pool()
109 static int sram_add_export(struct sram_dev *sram, struct sram_reserve *block, in sram_add_export() argument
113 part->battr.attr.name = devm_kasprintf(sram->dev, GFP_KERNEL, in sram_add_export()
124 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
127 static int sram_add_partition(struct sram_dev *sram, struct sram_reserve *block, in sram_add_partition() argument
131 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition()
134 part->base = sram->virt_base + block->start; in sram_add_partition()
137 ret = sram_add_pool(sram, block, start, part); in sram_add_partition()
[all …]
DMakefile53 obj-$(CONFIG_SRAM) += sram.o
/linux-4.4.14/Documentation/devicetree/bindings/arm/rockchip/
Dsmp-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 ../../misc/sram.txt
19 sram: sram@10080000 {
20 compatible = "mmio-sram";
26 smp-sram@10080000 {
27 compatible = "rockchip,rk3066-smp-sram";
Dpmu-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";
/linux-4.4.14/Documentation/devicetree/bindings/soc/sunxi/
Dsram.txt12 - compatible : "allwinner,sun4i-a10-sram-controller"
13 - reg : sram controller register offset + length
18 Each SRAM is described using the mmio-sram bindings documented in
19 Documentation/devicetree/bindings/misc/sram.txt
23 once again the representation described in the mmio-sram binding.
26 - allwinner,sun4i-a10-sram-a3-a4
27 - allwinner,sun4i-a10-sram-d
36 expressed through the allwinner,sram property, that will take a
45 sram-controller@01c00000 {
46 compatible = "allwinner,sun4i-a10-sram-controller";
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Dsram.txt7 - compatible : mmio-sram
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
45 sram: sram@5c000000 {
46 compatible = "mmio-sram";
53 smp-sram@100 {
54 compatible = "socvendor,smp-sram";
58 device-sram@1000 {
/linux-4.4.14/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-4.4.14/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";
Dat91sam9g20.dtsi19 sram0: sram@002ff000 {
23 sram1: sram@002fc000 {
24 compatible = "mmio-sram";
Dat91sam9xe.dtsi52 sram0: sram@002ff000 {
56 sram1: sram@00300000 {
57 compatible = "mmio-sram";
Dsun5i.dtsi321 sram-controller@01c00000 {
322 compatible = "allwinner,sun4i-a10-sram-controller";
328 sram_a: sram@00000000 {
329 compatible = "mmio-sram";
336 sram_d: sram@00010000 {
337 compatible = "mmio-sram";
343 otg_sram: sram-section@0000 {
344 compatible = "allwinner,sun4i-a10-sram-d";
447 allwinner,sram = <&otg_sram 1>;
Dbcm7445.dtsi149 reg-names = "aon-ctrl", "aon-sram";
301 sram@ffe00000 {
302 compatible = "brcm,boot-sram", "mmio-sram";
Dimx6dl.dtsi63 ocram: sram@00900000 {
64 compatible = "mmio-sram";
Dsun4i-a10.dtsi510 sram-controller@01c00000 {
511 compatible = "allwinner,sun4i-a10-sram-controller";
517 sram_a: sram@00000000 {
518 compatible = "mmio-sram";
524 emac_sram: sram-section@8000 {
525 compatible = "allwinner,sun4i-a10-sram-a3-a4";
531 sram_d: sram@00010000 {
532 compatible = "mmio-sram";
538 otg_sram: sram-section@0000 {
539 compatible = "allwinner,sun4i-a10-sram-d";
[all …]
Dorion5x.dtsi221 marvell,crypto-sram-size = <0x800>;
233 crypto_sram: sa-sram {
234 compatible = "mmio-sram";
Darmada-370.dtsi336 marvell,crypto-sram-size = <0x7e0>;
340 crypto_sram: sa-sram {
341 compatible = "mmio-sram";
343 reg-names = "sram";
356 idle-sram@0 {
Dnspire.dtsi27 sram: sram@A4000000 { label
Dkirkwood.dtsi37 MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000 /* crypto sram */
59 crypto_sram: sa-sram@0301 {
60 compatible = "mmio-sram";
260 marvell,crypto-sram-size = <0x800>;
Dsun5i-a10s.dtsi156 allwinner,sram = <&emac_sram 1>;
247 emac_sram: sram-section@8000 {
248 compatible = "allwinner,sun4i-a10-sram-a3-a4";
Dsun7i-a20.dtsi586 sram-controller@01c00000 {
587 compatible = "allwinner,sun4i-a10-sram-controller";
593 sram_a: sram@00000000 {
594 compatible = "mmio-sram";
600 emac_sram: sram-section@8000 {
601 compatible = "allwinner,sun4i-a10-sram-a3-a4";
607 sram_d: sram@00010000 {
608 compatible = "mmio-sram";
614 otg_sram: sram-section@0000 {
615 compatible = "allwinner,sun4i-a10-sram-d";
[all …]
Drk3188.dtsi96 sram: sram@10080000 { label
97 compatible = "mmio-sram";
103 smp-sram@0 {
104 compatible = "rockchip,rk3066-smp-sram";
Drk3066a.dtsi81 sram: sram@10080000 { label
82 compatible = "mmio-sram";
88 smp-sram@0 {
89 compatible = "rockchip,rk3066-smp-sram";
Dimx6q.dtsi81 ocram: sram@00900000 {
82 compatible = "mmio-sram";
Darmada-xp.dtsi253 marvell,crypto-sram-size = <0x800>;
278 compatible = "mmio-sram";
287 compatible = "mmio-sram";
Dimx27-phytec-phycore-som.dtsi340 sram: sram@1,0 { label
Dzynq-zc702.dts75 ocm: sram@fffc0000 {
76 compatible = "mmio-sram";
Dlpc4350-hitex-eval.dts385 ext_sram: sram@2,0 {
386 compatible = "mmio-sram";
Dat91sam9263.dtsi65 sram0: sram@00300000 {
66 compatible = "mmio-sram";
70 sram1: sram@00500000 {
71 compatible = "mmio-sram";
Ddove.dtsi272 marvell,crypto-sram-size = <0x800>;
772 crypto_sram: sa-sram@ffffe000 {
773 compatible = "mmio-sram";
Darmada-38x.dtsi525 marvell,crypto-sram-size = <0x800>;
605 compatible = "mmio-sram";
614 compatible = "mmio-sram";
Dat91sam9261.dtsi63 sram: sram@00300000 { label
64 compatible = "mmio-sram";
Darmada-375.dtsi528 marvell,crypto-sram-size = <0x800>;
639 compatible = "mmio-sram";
648 compatible = "mmio-sram";
Drk3288.dtsi606 compatible = "mmio-sram";
611 smp-sram@0 {
612 compatible = "rockchip,rk3066-smp-sram";
617 sram@ff720000 {
618 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
Dexynos5410.dtsi135 compatible = "mmio-sram";
Dimx25.dtsi529 iram: sram@78000000 {
530 compatible = "mmio-sram";
Dat91rm9200.dtsi69 sram: sram@00200000 { label
70 compatible = "mmio-sram";
Dat91sam9rl.dtsi73 sram: sram@00300000 { label
74 compatible = "mmio-sram";
Dimx1.dtsi262 compatible = "mmio-sram";
Dat91sam9n12.dtsi67 sram: sram@00300000 { label
68 compatible = "mmio-sram";
Dexynos4210.dtsi68 compatible = "mmio-sram";
Dsocfpga_arria10.dtsi597 ocram: sram@ffe00000 {
598 compatible = "mmio-sram";
Dat91sam9x5.dtsi75 sram: sram@00300000 { label
76 compatible = "mmio-sram";
Dimx53.dtsi783 ocram: sram@f8000000 {
784 compatible = "mmio-sram";
Dsocfpga.dtsi682 ocram: sram@ffff0000 {
683 compatible = "mmio-sram";
Dimx6ul.dtsi138 ocram: sram@00900000 {
139 compatible = "mmio-sram";
Dat91sam9g45.dtsi77 sram: sram@00300000 { label
78 compatible = "mmio-sram";
Dimx6sl.dtsi102 ocram: sram@00900000 {
103 compatible = "mmio-sram";
Dexynos4x12.dtsi36 compatible = "mmio-sram";
Dat91sam9260.dtsi72 sram0: sram@002ff000 {
73 compatible = "mmio-sram";
Dsama5d2.dtsi99 ns_sram: sram@00200000 {
100 compatible = "mmio-sram";
Dsama5d3.dtsi82 sram: sram@00300000 { label
83 compatible = "mmio-sram";
Domap4.dtsi94 sram = <&ocmcram>;
268 compatible = "mmio-sram";
Domap5.dtsi119 sram = <&ocmcram>;
283 compatible = "mmio-sram";
Dsama5d4.dtsi116 ns_sram: sram@00210000 {
117 compatible = "mmio-sram";
310 atmel,write-by-sram;
Dimx27.dtsi590 compatible = "mmio-sram";
Dimx51.dtsi122 compatible = "mmio-sram";
Dexynos3250.dtsi120 compatible = "mmio-sram";
Dexynos4415.dtsi87 compatible = "mmio-sram";
Dimx6sx.dtsi144 ocram: sram@00900000 {
145 compatible = "mmio-sram";
Dam33xx.dtsi778 compatible = "mmio-sram";
Dexynos5250.dtsi100 compatible = "mmio-sram";
Dam4372.dtsi1016 compatible = "mmio-sram";
Dexynos5420.dtsi142 compatible = "mmio-sram";
/linux-4.4.14/arch/powerpc/boot/
Dtreeboot-walnut.c25 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-4.4.14/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c9 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
21 static void __iomem *sram; variable
90 sram = mbar + 0x8000; /* Those will be handled by the */ in mpc52xx_pm_prepare()
129 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
132 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); in mpc52xx_pm_enter()
156 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter()
172 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
Dlite5200_pm.c9 extern void lite5200_low_power(void __iomem *sram, void __iomem *mbar);
18 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-4.4.14/Documentation/devicetree/bindings/clock/
Dhi6220-clock.txt27 - hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram;
28 the driver need use the sram to pass parameters for frequency change.
43 hisilicon,hi6220-clk-sram = <&sram>;
Dmt8173-cpu-dvfs.txt15 - sram-supply: Regulator for Vsram of CPU cluster. When present, the cpufreq driver
77 sram-supply = <&mt6397_vsramca7_reg>;
82 sram-supply = <&mt6397_vsramca7_reg>;
/linux-4.4.14/arch/avr32/mach-at32ap/
Dpm.c116 void *sram; in avr32_pm_enter() local
120 sram = avr32_pm_map_sram(); in avr32_pm_enter()
124 sysreg_write(EVBA, (unsigned long)sram); in avr32_pm_enter()
142 sram = avr32_pm_map_sram(); in avr32_pm_enter()
146 sysreg_write(EVBA, (unsigned long)sram); in avr32_pm_enter()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dar9003_aic.c391 aic_sram[i].sram.vga_dir_sign = in ar9003_aic_cal_post_process()
393 aic_sram[i].sram.vga_quad_sign= in ar9003_aic_cal_post_process()
403 aic_sram[i].sram.com_att_6db = in ar9003_aic_cal_post_process()
406 aic_sram[i].sram.valid = 1; in ar9003_aic_cal_post_process()
408 aic_sram[i].sram.rot_dir_att_db = in ar9003_aic_cal_post_process()
412 aic_sram[i].sram.rot_quad_att_db = in ar9003_aic_cal_post_process()
419 aic->aic_sram[i] = (SM(aic_sram[i].sram.vga_dir_sign, in ar9003_aic_cal_post_process()
421 SM(aic_sram[i].sram.vga_quad_sign, in ar9003_aic_cal_post_process()
423 SM(aic_sram[i].sram.com_att_6db, in ar9003_aic_cal_post_process()
425 SM(aic_sram[i].sram.valid, in ar9003_aic_cal_post_process()
[all …]
Dar9003_aic.h53 struct ath_aic_sram_info sram; member
/linux-4.4.14/Documentation/devicetree/bindings/arm/exynos/
Dsmp-sysram.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
23 compatible = "mmio-sram";
/linux-4.4.14/firmware/av7110/
DBoot.S63 ldr r3, sram
70 ldr pc, sram // jump to the copied code
107 sram: .word 0x9e000800 label
/linux-4.4.14/Documentation/devicetree/bindings/crypto/
Dmv_cesa.txt12 - reg-names: "regs". Can contain an "sram" entry, but this representation
20 - marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
31 marvell,crypto-sram-size = <0x600>;
Dmarvell-cesa.txt16 - reg-names: "regs". Can contain an "sram" entry, but this representation
29 - marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not
43 marvell,crypto-sram-size = <0x600>;
/linux-4.4.14/drivers/crypto/
Dmv_cesa.c88 void __iomem *sram; member
253 copy_src_to_buf(p, cpg->sram + SRAM_DATA_IN_START + p->crypt_len, in setup_data_in()
275 memcpy(cpg->sram + SRAM_DATA_IV, req->info, 16); in mv_process_current_q()
280 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_dec_key, in mv_process_current_q()
284 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_enc_key, in mv_process_current_q()
305 memcpy(cpg->sram + SRAM_CONFIG, &op, in mv_process_current_q()
324 memcpy(req->info, cpg->sram + SRAM_DATA_IV_BUF, 16); in mv_crypto_algo_completion()
343 memcpy(cpg->sram + SRAM_HMAC_IV_IN, in mv_process_hash_current()
386 memcpy(cpg->sram + SRAM_CONFIG, &op, sizeof(struct sec_accel_config)); in mv_process_hash_current()
451 memcpy(req->result, cpg->sram + SRAM_DIGEST_BUF, in mv_hash_algo_completion()
[all …]
/linux-4.4.14/arch/arm/mach-pxa/
Dpxa3xx.c58 static void __iomem *sram; variable
72 void (*fn)(unsigned int) = (void __force *)(sram + 0x8000); in pxa3xx_cpu_standby()
74 memcpy_toio(sram + 0x8000, pm_enter_standby_start, in pxa3xx_cpu_standby()
173 sram = ioremap(ISRAM_START, ISRAM_SIZE); in pxa3xx_init_pm()
174 if (!sram) { in pxa3xx_init_pm()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dixp4xx_qmgr.c197 if (__raw_readl(&qmgr_regs->sram[queue])) { in qmgr_request_queue()
211 if (addr + len > ARRAY_SIZE(qmgr_regs->sram)) { in qmgr_request_queue()
223 __raw_writel(cfg | (addr << 14), &qmgr_regs->sram[queue]); in qmgr_request_queue()
246 cfg = __raw_readl(&qmgr_regs->sram[queue]); in qmgr_release_queue()
273 __raw_writel(0, &qmgr_regs->sram[queue]); in qmgr_release_queue()
311 __raw_writel(0, &qmgr_regs->sram[i]); in qmgr_init()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Ddavinci-mcasp-audio.txt33 - sram-size-playback : size of sram to be allocated during playback
34 - sram-size-capture : size of sram to be allocated during capture
/linux-4.4.14/Documentation/devicetree/bindings/net/
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-4.4.14/sound/soc/intel/atom/sst/
Dsst.c472 fw_save->sram = kzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); in intel_sst_suspend()
473 if (!fw_save->sram) { in intel_sst_suspend()
475 goto sram; in intel_sst_suspend()
486 memcpy32_fromio(fw_save->sram, ctx->mailbox, SST_MAILBOX_SIZE); in intel_sst_suspend()
493 kfree(fw_save->sram); in intel_sst_suspend()
494 sram: in intel_sst_suspend()
522 memcpy32_toio(ctx->mailbox, fw_save->sram, SST_MAILBOX_SIZE); in intel_sst_resume()
525 kfree(fw_save->sram); in intel_sst_resume()
Dsst.h343 void *sram; member
/linux-4.4.14/arch/powerpc/boot/dts/
Dpcm030.dts80 sram@8000 {
81 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Dmotionpro.dts82 sram@8000 {
83 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Dlite5200b.dts103 sram@8000 {
104 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Dtqm5200.dts170 sram@8000 {
171 compatible = "fsl,mpc5200-sram";
Dmpc5200b.dtsi265 sram@8000 {
266 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Dcharon.dts178 sram@8000 {
179 compatible = "fsl,mpc5200-sram";
Dlite5200.dts269 sram@8000 {
270 compatible = "fsl,mpc5200-sram";
Dmpc5125twr.dts54 sram@30000000 {
55 compatible = "fsl,mpc5121-sram";
Dc2k.dts286 sram-ctrl@0380 {
287 compatible = "marvell,mv64360-sram-ctrl";
Debony.dts96 SRAM0: sram {
97 compatible = "ibm,sram-440gp";
Dpcm032.dts148 sram@2,0 {
Dtaishan.dts132 SRAM0: sram {
133 compatible = "ibm,sram-440gp";
Dmpc5121.dtsi60 sram@30000000 {
61 compatible = "fsl,mpc5121-sram";
Dwalnut.dts162 sram@0,0 {
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darm,scpi.txt63 - compatible : should be "arm,juno-sram-ns" for Non-secure SRAM on Juno
65 The rest of the properties should follow the generic mmio-sram description
97 sram: sram@50000000 {
98 compatible = "arm,juno-sram-ns", "mmio-sram";
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-base.dtsi59 sram: sram@2e000000 { label
60 compatible = "arm,juno-sram-ns", "mmio-sram";
/linux-4.4.14/drivers/crypto/marvell/
Dcesa.c327 engine->sram = gen_pool_dma_alloc(engine->pool, in mv_cesa_get_sram()
330 if (engine->sram) in mv_cesa_get_sram()
349 engine->sram = devm_ioremap_resource(cesa->dev, res); in mv_cesa_get_sram()
350 if (IS_ERR(engine->sram)) in mv_cesa_get_sram()
351 return PTR_ERR(engine->sram); in mv_cesa_get_sram()
367 gen_pool_free(engine->pool, (unsigned long)engine->sram, in mv_cesa_put_sram()
Dcipher.c93 engine->sram + CESA_SA_DATA_SRAM_OFFSET, in mv_cesa_ablkcipher_std_step()
101 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_ablkcipher_std_step()
104 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc)); in mv_cesa_ablkcipher_std_step()
121 engine->sram + CESA_SA_DATA_SRAM_OFFSET, in mv_cesa_ablkcipher_std_process()
149 engine->sram + CESA_SA_CRYPT_IV_SRAM_OFFSET, in mv_cesa_ablkcipher_process()
185 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_ablkcipher_std_prepare()
Dhash.c212 memcpy_toio(engine->sram + CESA_SA_DATA_SRAM_OFFSET, in mv_cesa_ahash_std_step()
225 engine->sram + in mv_cesa_ahash_std_step()
255 engine->sram + in mv_cesa_ahash_std_step()
260 engine->sram + len + in mv_cesa_ahash_std_step()
275 memcpy_toio(engine->sram, op, sizeof(*op)); in mv_cesa_ahash_std_step()
315 memcpy_toio(engine->sram, &creq->op_tmpl, sizeof(creq->op_tmpl)); in mv_cesa_ahash_std_prepare()
Dcesa.h438 void __iomem *sram; member
/linux-4.4.14/drivers/usb/host/
Dohci-tmio.c192 struct resource *sram = platform_get_resource(dev, IORESOURCE_MEM, 2); in ohci_hcd_tmio_drv_probe() local
230 if (!dma_declare_coherent_memory(&dev->dev, sram->start, in ohci_hcd_tmio_drv_probe()
231 sram->start, in ohci_hcd_tmio_drv_probe()
232 resource_size(sram), in ohci_hcd_tmio_drv_probe()
/linux-4.4.14/arch/mips/boot/dts/lantiq/
Ddanube.dtsi32 sram@1F000000 {
35 compatible = "lantiq,sram";
/linux-4.4.14/arch/arm/mach-omap1/
DMakefile6 obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
/linux-4.4.14/arch/x86/platform/ts5500/
Dts5500.c82 bool sram; member
140 sbc->sram = tmp & TS5500_SRAM; in ts5500_detect_config()
193 TS5500_ATTR_BOOL(sram);
/linux-4.4.14/arch/blackfin/mm/
DMakefile5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
/linux-4.4.14/arch/sh/boards/mach-sdk7786/
DMakefile4 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
/linux-4.4.14/Documentation/devicetree/bindings/arm/hisilicon/
Dhisilicon.txt141 Hisilicon's SoCs use sram for multiple purpose; on Hi6220 there have several
143 managing the common sram which can be shared by multiple modules.
147 sram: sram@fff80000 {
/linux-4.4.14/arch/arm/plat-omap/
DMakefile8 obj-y := sram.o dma.o counter_32k.o
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c221 u8 __iomem *sram; member
399 char __iomem *cmd_addr = mgp->sram + MXGEFW_ETH_CMD; in myri10ge_send_cmd()
548 submit = mgp->sram + MXGEFW_BOOT_DUMMY_RDMA; in myri10ge_dummy_rdma()
629 myri10ge_pio_copy(mgp->sram + MYRI10GE_FW_OFFSET + i, in myri10ge_load_hotplug_firmware()
633 readb(mgp->sram); in myri10ge_load_hotplug_firmware()
641 memcpy_fromio(fw_readback, mgp->sram + MYRI10GE_FW_OFFSET, fw->size); in myri10ge_load_hotplug_firmware()
668 hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); in myri10ge_adopt_running_firmware()
682 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes); in myri10ge_adopt_running_firmware()
794 submit = mgp->sram + MXGEFW_BOOT_HANDOFF; in myri10ge_load_firmware()
1115 (__iomem __be32 *) (mgp->sram + cmd.data0 + 8 * i); in myri10ge_reset()
[all …]
/linux-4.4.14/drivers/media/common/b2c2/
DMakefile2 b2c2-flexcop-objs += flexcop-sram.o flexcop-eeprom.o flexcop-misc.o
/linux-4.4.14/drivers/dma/bestcomm/
DMakefile5 bestcomm-core-objs := bestcomm.o sram.o
/linux-4.4.14/drivers/net/wireless/
Dray_cs.c394 local->sram = ioremap(link->resource[2]->start, in ray_config()
425 dev_dbg(&link->dev, "ray_config sram=%p\n", local->sram); in ray_config()
453 return dev->sram + CCS_BASE; in ccs_base()
465 return dev->sram + CCS_BASE; in rcs_base()
486 memcpy_fromio(&local->startup_res, local->sram + ECF_TO_HOST_BASE, in ray_init()
546 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b4, in dl_startup_params()
549 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b5, in dl_startup_params()
661 (unsigned int)readb(local->sram + in verify_dl_startup()
749 iounmap(local->sram); in ray_release()
911 ptx = local->sram + addr; in ray_hw_xmit()
[all …]
Dray_cs.h29 void __iomem *sram; /* pointer to beginning of shared RAM */ member
Dmwl8k.c188 void __iomem *sram; member
2554 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); in mwl8k_cmd_get_hw_spec_ap()
2557 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); in mwl8k_cmd_get_hw_spec_ap()
5842 priv->sram + priv->txq_offset[i]); in mwl8k_init_txqs()
6215 priv->sram = pci_iomap(pdev, 0, 0x10000); in mwl8k_probe()
6216 if (priv->sram == NULL) { in mwl8k_probe()
6273 if (priv->sram != NULL) in mwl8k_probe()
6274 pci_iounmap(pdev, priv->sram); in mwl8k_probe()
6328 pci_iounmap(pdev, priv->sram); in mwl8k_remove()
/linux-4.4.14/Documentation/devicetree/bindings/arm/omap/
Dmpu.txt14 - sram: Phandle to the ocmcram node
/linux-4.4.14/arch/arm/mach-mmp/
DMakefile11 obj-$(CONFIG_MMP_SRAM) += sram.o
/linux-4.4.14/arch/arm/mach-davinci/
DMakefile8 usb.o common.o sram.o aemif.o
/linux-4.4.14/Documentation/devicetree/bindings/mtd/
Datmel-nand.txt43 - atmel,write-by-sram: boolean to enable NFC write by sram.
Dmtd-physmap.txt84 sram@2,0 {
/linux-4.4.14/arch/powerpc/platforms/85xx/
DKconfig21 When selected, this option enables cache-sram support
23 cache-sram-size and cache-sram-offset kernel boot
/linux-4.4.14/arch/sh/mm/
DMakefile43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-platform-ts550048 What: /sys/devices/platform/ts5500/sram
/linux-4.4.14/arch/arm/mach-ixp4xx/include/mach/
Dqmgr.h57 u32 sram[2048]; /* 0x2000 - 0x3FFF - config and buffer */ member
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dbrcm,cygnus-pinmux.txt97 "sram": "sram_0_grp", "sram_1_grp"
/linux-4.4.14/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi217 ocram: sram@ffe00000 {
218 compatible = "mmio-sram";
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvpp2.c879 union mvpp2_prs_sram_entry sram; member
1026 mvpp2_write(priv, MVPP2_PRS_SRAM_DATA_REG(i), pe->sram.word[i]); in mvpp2_prs_hw_write()
1053 pe->sram.word[i] = mvpp2_read(priv, MVPP2_PRS_SRAM_DATA_REG(i)); in mvpp2_prs_hw_read()
1192 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] |= (val << (bit_num % 8)); in mvpp2_prs_sram_bits_set()
1199 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] &= ~(val << (bit_num % 8)); in mvpp2_prs_sram_bits_clear()
1226 return pe->sram.word[MVPP2_PRS_SRAM_RI_WORD]; in mvpp2_prs_sram_ri_get()
1258 bits = (pe->sram.byte[ai_off] >> ai_shift) | in mvpp2_prs_sram_ai_get()
1259 (pe->sram.byte[ai_en_off] << (8 - ai_shift)); in mvpp2_prs_sram_ai_get()
1292 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_SHIFT_OFFS)] = in mvpp2_prs_sram_shift_set()
1323 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_UDF_OFFS + in mvpp2_prs_sram_offset_set()
[all …]
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c688 fei->sram = devm_ioremap_resource(dev, res); in c8sectpfe_probe()
689 if (IS_ERR(fei->sram)) in c8sectpfe_probe()
690 return PTR_ERR(fei->sram); in c8sectpfe_probe()
727 memset_io(fei->sram, 0x0, fei->sram_size); in c8sectpfe_probe()
Dc8sectpfe-core.h95 void __iomem *sram; member
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dt1023si-post.dtsi187 soc-sram-error {
188 compatible = "fsl,soc-sram-error";
Dp5020si-post.dtsi268 soc-sram-error {
269 compatible = "fsl,soc-sram-error";
Dp2041si-post.dtsi244 soc-sram-error {
245 compatible = "fsl,soc-sram-error";
Dp3041si-post.dtsi271 soc-sram-error {
272 compatible = "fsl,soc-sram-error";
Db4si-post.dtsi320 soc-sram-error {
321 compatible = "fsl,soc-sram-error";
Dp5040si-post.dtsi223 soc-sram-error {
224 compatible = "fsl,soc-sram-error";
Dt1040si-post.dtsi366 soc-sram-error {
367 compatible = "fsl,soc-sram-error";
Dp4080si-post.dtsi271 soc-sram-error {
272 compatible = "fsl,soc-sram-error";
Dt2081si-post.dtsi460 soc-sram-error {
461 compatible = "fsl,soc-sram-error";
Dt4240si-post.dtsi882 soc-sram-error {
883 compatible = "fsl,soc-sram-error";
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dstih407-c8sectpfe.txt22 - c8sectpfe-ram: c8sectpfe internal sram
/linux-4.4.14/Documentation/devicetree/bindings/
Dmarvell.txt462 - compatible : "marvell,mv64360-sram-ctrl"
469 sram-ctrl@0380 {
470 compatible = "marvell,mv64360-sram-ctrl";
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c107 int sram; in iwl_dbgfs_sram_read() local
142 sram = priv->dbgfs_sram_offset & ~0x3; in iwl_dbgfs_sram_read()
145 val = iwl_trans_read_mem32(priv->trans, sram); in iwl_dbgfs_sram_read()
151 "%08X: ", sram + offset); in iwl_dbgfs_sram_read()
162 sram += 4; in iwl_dbgfs_sram_read()
164 val = iwl_trans_read_mem32(priv->trans, sram); in iwl_dbgfs_sram_read()
668 DEBUGFS_READ_WRITE_FILE_OPS(sram);
2373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttvp.h101 int sram; member
Dbttv-driver.c304 .sram = 0,
338 .sram = 1,
365 .sram = 0, /* like PAL, correct? */
391 .sram = -1,
417 .sram = -1,
443 .sram = -1,
469 .sram = -1,
499 .sram = -1,
881 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing()
/linux-4.4.14/arch/cris/arch-v10/
DREADME.mm126 R_MMU_KBASE_HI = ( ( base_f, 0x0 ) | // flash/sram/periph cached
127 ( base_e, 0x8 ) | // flash/sram/periph uncached
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib7000m.c151 sram = 0x0005; /* by default SRAM output is disabled */ in dib7000m_set_output_mode() local
173 sram |= 0x0c00; in dib7000m_set_output_mode()
194 ret |= dib7000m_write_word(state, 1805, sram); in dib7000m_set_output_mode()
Ddib8000.c404 u16 outreg, fifo_threshold, smo_mode, sram = 0x0205; /* by default SDRAM deintlv is enabled */ in dib8000_set_output_mode() local
427 sram &= 0xfdff; in dib8000_set_output_mode()
429 sram |= 0x0c00; in dib8000_set_output_mode()
457 dib8000_write_word(state, 1291, sram); in dib8000_set_output_mode()
/linux-4.4.14/drivers/net/ethernet/amd/
Dpcnet32.c1547 int fdx, mii, fset, dxsuflo, sram; in pcnet32_probe1() local
1584 fdx = mii = fset = dxsuflo = sram = 0; in pcnet32_probe1()
1617 sram = 1; in pcnet32_probe1()
1641 sram = 1; in pcnet32_probe1()
1676 if (sram) { in pcnet32_probe1()
/linux-4.4.14/drivers/mtd/nand/
Datmel_nand.c1970 void *sram = host->nfc->sram_bank0 + nfc_get_sram_off(host); in nfc_sram_write_page() local
1981 memcpy(sram, buf, len); in nfc_sram_write_page()
1983 memcpy(sram, buf, len); in nfc_sram_write_page()
1988 memcpy(sram + len, chip->oob_poi, mtd->oobsize); in nfc_sram_write_page()
/linux-4.4.14/arch/arm/mach-omap2/
DMakefile11 omap_device.o sram.o drm.o
/linux-4.4.14/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c681 CYGNUS_PIN_FUNCTION(sram),
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c1383 MVM_DEBUGFS_READ_WRITE_FILE_OPS(sram, 64);
1421 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Ddebug.c833 DEBUGFS_READ_WRITE_FILE_OPS(sram);
1369 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
/linux-4.4.14/drivers/dma/
DKconfig313 It needs sram driver under mach-mmp.
/linux-4.4.14/arch/blackfin/mach-bf609/
DKconfig24 Enable the L1 parity check in L1 sram. A fault event is raised
/linux-4.4.14/
DMAINTAINERS1472 F: Documentation/devicetree/bindings/sram/samsung-sram.txt