Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/drivers/misc/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A Du-boot-spl.lds15 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,
30 } >.sram
35 } >.sram
40 } >.sram
45 } >.sram
50 } >.sram
55 } >.sram
63 } >.sram
67 } >.sram
72 } >.sram
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A 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 …]
/OK3568_Linux_fs/u-boot/board/samsung/common/
H A Dexynos-uboot-spl.lds12 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE, \
27 } >.sram
30 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
33 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
38 } >.sram
41 .machine_param : { *(.machine_param) } >.sram
49 } >.sram
58 } >.sram
/OK3568_Linux_fs/u-boot/board/Barix/ipam390/
H A Du-boot-spl-ipam390.lds11 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
28 } >.sram
31 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
34 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
41 } >.sram
50 } >.sram
57 } >.sram
/OK3568_Linux_fs/u-boot/board/davinci/da8xxevm/
H A Du-boot-spl-da850evm.lds11 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
28 } >.sram
31 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
34 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
37 .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } >.sram
44 } >.sram
53 } >.sram
/OK3568_Linux_fs/u-boot/spl/
H A Du-boot-spl.lds
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/arm926ejs/
H A Du-boot-spl.lds8 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE, \
24 } >.sram
27 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
30 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
33 .u_boot_list : { KEEP(*(SORT(.u_boot_list*))) } > .sram
41 } >.sram
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/fsl/
H A 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";
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/armv7/
H A Du-boot-spl.lds15 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE, \
31 } >.sram
34 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
37 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
40 .u_boot_list : { KEEP(*(SORT(.u_boot_list*))) } > .sram
48 } >.sram
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Du-boot-spl.lds16 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
30 } > .sram
33 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
36 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
41 } > .sram
54 } > .sram
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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";
H A 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";
/OK3568_Linux_fs/docs/cn/Common/NPU/rknpu2/
H A DRK3588_NPU_SRAM_usage.md25 syssram: sram@ff001000 {
26 compatible = "mmio-sram";
47 /* 增加RKNPU sram的引用 */
48 rockchip,sram = <&rknpu_sram>;
61 * **export RKNN_INTERNAL_MEM_TYPE=sram**
63 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
68 * **export RKNN_WEIGHT_MEM_TYPE=sram**
71 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
75 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
77 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
[all …]
/OK3568_Linux_fs/external/rknpu2/doc/
H A DRK3588_NPU_SRAM_usage.md25 syssram: sram@ff001000 {
26 compatible = "mmio-sram";
47 /* 增加RKNPU sram的引用 */
48 rockchip,sram = <&rknpu_sram>;
61 * **export RKNN_INTERNAL_MEM_TYPE=sram**
63 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
68 * **export RKNN_WEIGHT_MEM_TYPE=sram**
71 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
75 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
77 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
[all …]
/OK3568_Linux_fs/docs/en/Common/NPU/rknpu2/
H A DRK3588_NPU_SRAM_usage.md25 syssram: sram@ff001000 {
26 compatible = "mmio-sram";
47 /* 增加RKNPU sram的引用 */
48 rockchip,sram = <&rknpu_sram>;
61 * **export RKNN_INTERNAL_MEM_TYPE=sram**
63 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
68 * **export RKNN_WEIGHT_MEM_TYPE=sram**
71 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
75 * **export RKNN_INTERNAL_MEM_TYPE=sram#256**
77 * **export RKNN_WEIGHT_MEM_TYPE=sram#128**
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/
H A Du-boot-spl.lds12 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
28 } >.sram
31 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
34 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
39 } >.sram
/OK3568_Linux_fs/u-boot/arch/arm/mach-zynq/
H A Du-boot-spl.lds11 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
28 } > .sram
33 } > .sram
38 } > .sram
43 } > .sram
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/sunxi/
H A Du-boot-spl.lds17 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
33 } > .sram
36 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
39 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
44 } > .sram
/OK3568_Linux_fs/kernel/arch/arm/plat-omap/
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/52xx/
H A 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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/memory/
H A DMakefile30 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
31 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
33 AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a
35 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm1136/
H A Du-boot-spl.lds12 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
28 } >.sram
31 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
34 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram

12345678910>>...15