| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sram/ |
| D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sram/sram.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 15 Each child of the sram node specifies a region of reserved memory. Each 19 Following the generic-names recommended practice, node names should 25 pattern: "^sram(@.*)?" 30 - mmio-sram [all …]
|
| D | allwinner,sun4i-a10-system-control.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 4 $id: http://devicetree.org/schemas/sram/allwinner,sun4i-a10-system-control.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 System Control Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 The SRAM controller found on most Allwinner devices is represented 15 by a regular node for the SRAM controller itself, with sub-nodes 16 representing the SRAM handled by the SRAM controller. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sram/ |
| D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sram/sram.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 15 Each child of the sram node specifies a region of reserved memory. Each 19 Following the generic-names recommended practice, node names should 25 pattern: "^sram(@.*)?" 30 - mmio-sram [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/sunxi/ |
| D | sunxi_sram.c | 2 * Allwinner SoCs SRAM Controller Driver 6 * Author: Maxime Ripard <maxime.ripard@free-electrons.com> 62 .data = SUNXI_SRAM_DATA("A3-A4", 0x4, 0x4, 2, 76 SUNXI_SRAM_MAP(1, 1, "usb-otg")), 87 .compatible = "allwinner,sun4i-a10-sram-a3-a4", 91 .compatible = "allwinner,sun4i-a10-sram-c1", 95 .compatible = "allwinner,sun4i-a10-sram-d", 99 .compatible = "allwinner,sun50i-a64-sram-c", 105 static struct device *sram_dev; 119 seq_puts(s, "Allwinner sunXi SRAM\n"); in sunxi_sram_show() [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/ccree/ |
| D | cc_sram_mgr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ 8 * cc_sram_mgr_init() - Initializes SRAM pool. 9 * The pool starts right at the beginning of SRAM. 12 * @drvdata: Associated device driver context 20 struct device *dev = drvdata_to_dev(drvdata); in cc_sram_mgr_init() 22 if (drvdata->hw_rev < CC_HW_REV_712) { in cc_sram_mgr_init() 26 dev_err(dev, "Invalid SRAM offset 0x%x\n", start); in cc_sram_mgr_init() 27 return -EINVAL; in cc_sram_mgr_init() 31 drvdata->sram_free_offset = start; in cc_sram_mgr_init() [all …]
|
| D | cc_sram_mgr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ 13 #define NULL_SRAM_ADDR ((u32)-1) 16 * cc_sram_mgr_init() - Initializes SRAM pool. 17 * The first X bytes of SRAM are reserved for ROM usage, hence, pool 20 * @drvdata: Associated device driver context 28 * cc_sram_alloc() - Allocate buffer from SRAM pool. 30 * @drvdata: Associated device driver context 34 * Address offset in SRAM or NULL_SRAM_ADDR for failure. 39 * cc_set_sram_desc() - Create const descriptors sequence to [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/ccree/ |
| D | cc_sram_mgr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ 8 * cc_sram_mgr_init() - Initializes SRAM pool. 9 * The pool starts right at the beginning of SRAM. 12 * @drvdata: Associated device driver context 20 struct device *dev = drvdata_to_dev(drvdata); in cc_sram_mgr_init() 22 if (drvdata->hw_rev < CC_HW_REV_712) { in cc_sram_mgr_init() 26 dev_err(dev, "Invalid SRAM offset 0x%x\n", start); in cc_sram_mgr_init() 27 return -EINVAL; in cc_sram_mgr_init() 31 drvdata->sram_free_offset = start; in cc_sram_mgr_init() [all …]
|
| D | cc_sram_mgr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ 13 #define NULL_SRAM_ADDR ((u32)-1) 16 * cc_sram_mgr_init() - Initializes SRAM pool. 17 * The first X bytes of SRAM are reserved for ROM usage, hence, pool 20 * @drvdata: Associated device driver context 28 * cc_sram_alloc() - Allocate buffer from SRAM pool. 30 * @drvdata: Associated device driver context 34 * Address offset in SRAM or NULL_SRAM_ADDR for failure. 39 * cc_set_sram_desc() - Create const descriptors sequence to [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/sunxi/ |
| D | sunxi_sram.c | 2 * Allwinner SoCs SRAM Controller Driver 6 * Author: Maxime Ripard <maxime.ripard@free-electrons.com> 62 .data = SUNXI_SRAM_DATA("A3-A4", 0x4, 0x4, 2, 76 SUNXI_SRAM_MAP(1, 1, "usb-otg")), 87 .compatible = "allwinner,sun4i-a10-sram-a3-a4", 91 .compatible = "allwinner,sun4i-a10-sram-c1", 95 .compatible = "allwinner,sun4i-a10-sram-d", 99 .compatible = "allwinner,sun50i-a64-sram-c", 105 static struct device *sram_dev; 119 seq_puts(s, "Allwinner sunXi SRAM\n"); in sunxi_sram_show() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | cache_sram.txt | 1 * Freescale PQ3 and QorIQ based Cache SRAM 5 as SRAM. This cache SRAM representation in the device 6 tree should be done as under:- 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";
|
| /kernel/linux/linux-5.10/drivers/memory/ |
| D | ti-emif-pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI AM33XX SRAM EMIF Driver 5 * Copyright (C) 2016-2017 Texas Instruments Inc. 17 #include <linux/sram.h> 18 #include <linux/ti-emif-sram.h> 22 #define TI_EMIF_SRAM_SYMBOL_OFFSET(sym) ((unsigned long)(sym) - \ 43 return (emif_data->ti_emif_sram_virt + in sram_suspend_address() 50 return ((unsigned long)emif_data->ti_emif_sram_phys + in sram_resume_address() 56 gen_pool_free(emif_data->sram_pool_code, emif_data->ti_emif_sram_virt, in ti_emif_free_sram() 58 gen_pool_free(emif_data->sram_pool_data, in ti_emif_free_sram() [all …]
|
| /kernel/linux/linux-6.6/drivers/memory/ |
| D | ti-emif-pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI AM33XX SRAM EMIF Driver 5 * Copyright (C) 2016-2017 Texas Instruments Inc. 17 #include <linux/sram.h> 18 #include <linux/ti-emif-sram.h> 22 #define TI_EMIF_SRAM_SYMBOL_OFFSET(sym) ((unsigned long)(sym) - \ 43 return (emif_data->ti_emif_sram_virt + in sram_suspend_address() 50 return ((unsigned long)emif_data->ti_emif_sram_phys + in sram_resume_address() 56 gen_pool_free(emif_data->sram_pool_code, emif_data->ti_emif_sram_virt, in ti_emif_free_sram() 58 gen_pool_free(emif_data->sram_pool_data, in ti_emif_free_sram() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 for DRAM (SDR, DDR), ROM, SRAM and others. The drivers features 42 Used to configure the EBI (external bus interface) when the device- 68 bool "Baikal-T1 CM2 L2-RAM Cache Control Block" 72 Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU 73 resides Coherency Manager v2 with embedded 1MB L2-cache. It's 75 tags and way-select latencies of RAM access. This driver provides a 76 dt properties-based and sysfs interface for it. 85 is intended to provide a glue-less interface to a variety of 99 functions of the driver includes re-configuring AC timing [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/arm/stm32/ |
| D | stm32-dma-mdma-chaining.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 STM32 DMA-MDMA chaining 9 ------------ 11 This document describes the STM32 DMA-MDMA chaining feature. But before going 29 the system SRAM) for different peripheral. It can access external RAMs but 44 ---------- 46 STM32 DMA-MDMA chaining feature relies on the strengths of STM32 DMA and 50 (when DMA data counter - DMA_SxNDTR - reaches 0), the memory pointers 56 With STM32 MDMA linked-list mode, a single request initiates the data array 57 (collection of nodes) to be transferred until the linked-list pointer for the [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| D | sram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * OMAP SRAM detection and management 9 * Copyright (C) 2009-2012 Texas Instruments 10 * Added OMAP4/5 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 29 #include "sram.h" 48 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) 57 * Memory allocator for SRAM: calculates the new ceiling address 61 * to an 8-byte boundary. 67 available = omap_sram_ceil - (omap_sram_base + omap_sram_skip); in omap_sram_push_address() 70 pr_err("Not enough space in SRAM\n"); in omap_sram_push_address() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | allwinner,sun4i-a10-emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: ethernet-controller.yaml# 13 - Chen-Yu Tsai <wens@csie.org> 14 - Maxime Ripard <mripard@kernel.org> 18 const: allwinner,sun4i-a10-emac 29 allwinner,sram: 30 description: Phandle to the device SRAM [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | sram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * OMAP SRAM detection and management 9 * Copyright (C) 2009-2012 Texas Instruments 10 * Added OMAP4/5 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 28 #include "sram.h" 47 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) 55 * SRAM varies. The default accessible size for all device types is 2k. A GP 56 * device allows ARM11 but not other initiators for full size. This 64 writel_relaxed(0xFF, OMAP24XX_VA_REQINFOPERM0); /* all q-vects */ in is_sram_locked() 65 writel_relaxed(0xCFDE, OMAP24XX_VA_READPERM0); /* all i-read */ in is_sram_locked() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/firmware/ |
| D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpmp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 32 - .../clock/clock-bindings.txt 33 - <dt-bindings/clock/tegra186-clock.h> [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-rockchip/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 struct device *dev = get_cpu_device(cpu); in rockchip_get_core_reset() 55 /* The cpu device is only available after the initial core bringup */ in rockchip_get_core_reset() 57 np = dev->of_node; in rockchip_get_core_reset() 92 ret = -1; in pmu_set_power_domain() 121 pr_err("%s: sram or pmu missing for cpu boot\n", __func__); in rockchip_boot_secondary() 122 return -ENXIO; in rockchip_boot_secondary() 128 return -ENXIO; in rockchip_boot_secondary() 146 * (e.g: cpu frequency, bootrom frequency, sram frequency, ...) in rockchip_boot_secondary() 159 * rockchip_smp_prepare_sram - populate necessary sram block [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-rockchip/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 struct device *dev = get_cpu_device(cpu); in rockchip_get_core_reset() 55 /* The cpu device is only available after the initial core bringup */ in rockchip_get_core_reset() 57 np = dev->of_node; in rockchip_get_core_reset() 92 ret = -1; in pmu_set_power_domain() 121 pr_err("%s: sram or pmu missing for cpu boot\n", __func__); in rockchip_boot_secondary() 122 return -ENXIO; in rockchip_boot_secondary() 128 return -ENXIO; in rockchip_boot_secondary() 146 * (e.g: cpu frequency, bootrom frequency, sram frequency, ...) in rockchip_boot_secondary() 159 * rockchip_smp_prepare_sram - populate necessary sram block [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | arm,scmi.txt | 2 ---------------------------------------------------------- 11 the device tree. 17 - compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports 18 - mboxes: List of phandle and mailbox channel specifiers. It should contain 22 - shmem : List of phandle pointing to the shared memory(SHM) area as per 24 - #address-cells : should be '1' if the device has sub-nodes, maps to 25 protocol identifier for a given sub-node. 26 - #size-cells : should be '0' as 'reg' property doesn't have any size 28 - arm,smc-id : SMC id required when using smc or hvc transports 32 - mbox-names: shall be "tx" or "rx" depending on mboxes entries. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | allwinner,sun4i-a10-emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 EMAC Ethernet Controller Device Tree Bindings 10 - $ref: "ethernet-controller.yaml#" 13 - Chen-Yu Tsai <wens@csie.org> 14 - Maxime Ripard <mripard@kernel.org> 18 const: allwinner,sun4i-a10-emac 29 allwinner,sram: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ti/ |
| D | emif.txt | 3 EMIF - External Memory Interface - is an SDRAM controller used in 11 - compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev> 14 "ti,emif-am3352" 15 "ti,emif-am4372" 16 "ti,emif-dra7xx" 17 "ti,emif-keystone" 19 - phy-type : <u32> indicating the DDR phy type. Following are the 24 - device-handle : phandle to a "lpddr2" node representing the memory part 26 - ti,hwmods : For TI hwmods processing and omap device creation 29 - interrupts : interrupt used by the controller [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ti/ |
| D | emif.txt | 3 EMIF - External Memory Interface - is an SDRAM controller used in 11 - compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev> 14 "ti,emif-am3352" 15 "ti,emif-am4372" 16 "ti,emif-dra7xx" 17 "ti,emif-keystone" 19 - phy-type : <u32> indicating the DDR phy type. Following are the 24 - device-handle : phandle to a "lpddr2" node representing the memory part 26 - ti,hwmods : For TI hwmods processing and omap device creation 29 - interrupts : interrupt used by the controller [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| D | allwinner,sun4i-a10-video-engine.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 - allwinner,sun4i-a10-video-engine 17 - allwinner,sun5i-a13-video-engine 18 - allwinner,sun7i-a20-video-engine 19 - allwinner,sun8i-a33-video-engine [all …]
|