/Linux-v6.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 …]
|
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# 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. 19 "#address-cells": [all …]
|
/Linux-v6.6/drivers/misc/ |
D | sram.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Generic on-chip SRAM allocation driver 19 #include <soc/at91/atmel-secumod.h> 21 #include "sram.h" 33 mutex_lock(&part->lock); in sram_read() 34 memcpy_fromio(buf, part->base + pos, count); in sram_read() 35 mutex_unlock(&part->lock); in sram_read() 48 mutex_lock(&part->lock); in sram_write() 49 memcpy_toio(part->base + pos, buf, count); in sram_write() 50 mutex_unlock(&part->lock); in sram_write() [all …]
|
D | sram-exec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SRAM protect-exec region helper functions 5 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <linux/sram.h> 17 #include "sram.h" 22 int sram_check_protect_exec(struct sram_dev *sram, struct sram_reserve *block, in sram_check_protect_exec() argument 25 unsigned long base = (unsigned long)part->base; in sram_check_protect_exec() 26 unsigned long end = base + block->size; in sram_check_protect_exec() 29 dev_err(sram->dev, in sram_check_protect_exec() 30 "SRAM pool marked with 'protect-exec' is not page aligned and will not be created.\n"); in sram_check_protect_exec() [all …]
|
/Linux-v6.6/arch/arm/mach-omap1/ |
D | sram-init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP SRAM detection and management 22 #include "sram.h" 26 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) 35 * Memory allocator for SRAM: calculates the new ceiling address 39 * to an 8-byte boundary. 45 available = omap_sram_ceil - (omap_sram_base + omap_sram_skip); in omap_sram_push_address() 48 pr_err("Not enough space in SRAM\n"); in omap_sram_push_address() 52 new_ceil -= size; in omap_sram_push_address() 61 void *sram; in omap_sram_push() local [all …]
|
/Linux-v6.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 …]
|
/Linux-v6.6/arch/arm/boot/dts/nxp/lpc/ |
D | lpc4350.dtsi | 9 * Released under the terms of 3-clause BSD License 19 compatible = "arm,cortex-m4"; 24 sram0: sram@10000000 { 25 compatible = "mmio-sram"; 26 reg = <0x10000000 0x20000>; /* 96 + 32 KiB local SRAM */ 29 sram1: sram@10080000 { 30 compatible = "mmio-sram"; 31 reg = <0x10080000 0x12000>; /* 64 + 8 KiB local SRAM */ 34 sram2: sram@20000000 { 35 compatible = "mmio-sram"; [all …]
|
D | lpc4357.dtsi | 9 * Released under the terms of 3-clause BSD License 19 compatible = "arm,cortex-m4"; 24 sram0: sram@10000000 { 25 compatible = "mmio-sram"; 26 reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */ 29 sram1: sram@10080000 { 30 compatible = "mmio-sram"; 31 reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */ 34 sram2: sram@20000000 { 35 compatible = "mmio-sram"; [all …]
|
/Linux-v6.6/arch/arm/mach-davinci/ |
D | sram.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mach/sram.h - DaVinci simple SRAM allocator 10 /* ARBITRARY: SRAM allocations are multiples of this 2^N size */ 14 * SRAM allocations return a CPU virtual address, or NULL on error. 15 * If a DMA address is requested and the SRAM supports DMA, its 18 * Errors include SRAM memory not being available, and requesting 19 * DMA mapped SRAM on systems which don't allow that.
|
/Linux-v6.6/drivers/mtd/devices/ |
D | ms02-nv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 16 * 0x000000 - 0x3fffff SRAM 17 * 0x400000 - 0x7fffff CSR 19 * Within the SRAM area the following ranges are forced by the system 22 * 0x000000 - 0x0003ff diagnostic area, destroyed upon a reboot 23 * 0x000400 - ENDofRAM storage area, available to operating systems 28 * ID value is found, the firmware considers the SRAM clean, i.e. 31 * for the start address of the user-available is 0x001000 which is 36 * operating system, a magic ID to distinguish a MS02-NV board from [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/crypto/ |
D | mv_cesa.txt | 4 - compatible: should be one of the following string 5 "marvell,orion-crypto" 6 "marvell,kirkwood-crypto" 7 "marvell,dove-crypto" 8 - reg: base physical address of the engine and length of memory mapped 9 region. Can also contain an entry for the SRAM attached to the CESA, 10 but this representation is deprecated and marvell,crypto-srams should 12 - reg-names: "regs". Can contain an "sram" entry, but this representation 13 is deprecated and marvell,crypto-srams should be used instead 14 - interrupts: interrupt number [all …]
|
D | marvell-cesa.txt | 4 - compatible: should be one of the following string 5 "marvell,orion-crypto" 6 "marvell,kirkwood-crypto" 7 "marvell,dove-crypto" 8 "marvell,armada-370-crypto" 9 "marvell,armada-xp-crypto" 10 "marvell,armada-375-crypto" 11 "marvell,armada-38x-crypto" 12 - reg: base physical address of the engine and length of memory mapped 13 region. Can also contain an entry for the SRAM attached to the CESA, [all …]
|
/Linux-v6.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 …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath9k/ |
D | ar9003_aic.c | 18 #include "hw-ops.h" 42 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; in ar9003_hw_is_aic_enabled() 46 * HW code and the driver-layer support ready. in ar9003_hw_is_aic_enabled() 50 if (mci_hw->config & ATH_MCI_CONFIG_DISABLE_AIC) in ar9003_hw_is_aic_enabled() 67 for (i = index - 1; i >= 0; i--) { in ar9003_aic_find_valid() 74 i = -1; in ar9003_aic_find_valid() 84 int16_t i = -1; in ar9003_aic_find_index() 87 for (i = ATH_AIC_MAX_AIC_LIN_TABLE - 1; i >= 0; i--) { in ar9003_aic_find_index() 94 i--; in ar9003_aic_find_index() 100 i = -1; in ar9003_aic_find_index() [all …]
|
/Linux-v6.6/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pm.c | 1 // SPDX-License-Identifier: GPL-2.0 12 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs, 24 static void __iomem *sram; variable 44 out_8(&gpiow->wkup_gpioe, in_8(&gpiow->wkup_gpioe) | (1 << pin)); in mpc52xx_set_wakeup_gpio() 46 out_8(&gpiow->wkup_ddr, in_8(&gpiow->wkup_ddr) & ~(1 << pin)); in mpc52xx_set_wakeup_gpio() 48 out_8(&gpiow->wkup_inten, in_8(&gpiow->wkup_inten) | (1 << pin)); in mpc52xx_set_wakeup_gpio() 50 tmp = in_be16(&gpiow->wkup_itype); in mpc52xx_set_wakeup_gpio() 53 out_be16(&gpiow->wkup_itype, tmp); in mpc52xx_set_wakeup_gpio() 55 out_8(&gpiow->wkup_maste, 1); in mpc52xx_set_wakeup_gpio() 64 { .compatible = "fsl,mpc5200-immr", }, in mpc52xx_pm_prepare() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/memory-controllers/ |
D | canaan,k210-sram.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/canaan,k210-sram.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Canaan K210 SRAM memory controller 10 The Canaan K210 SRAM memory controller is responsible for the system's 8 MiB 11 of SRAM. The controller is initialised by the bootloader, which configures 15 - Conor Dooley <conor@kernel.org> 20 - canaan,k210-sram 25 - description: sram0 clock [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/net/ |
D | marvell-orion-net.txt | 12 set of controller registers. Each port node describes port-specific properties. 16 only one port associated. Multiple ports are implemented as multiple single-port 23 - #address-cells: shall be 1. 24 - #size-cells: shall be 0. 25 - compatible: shall be one of "marvell,orion-eth", "marvell,kirkwood-eth". 26 - reg: address and length of the controller registers. 29 - clocks: phandle reference to the controller clock. 30 - marvell,tx-checksum-limit: max tx packet size for hardware checksum. 35 - compatible: shall be one of "marvell,orion-eth-port", 36 "marvell,kirkwood-eth-port". [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/remoteproc/ |
D | amlogic,meson-mx-ao-arc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 controller for always-on operations, typically used for managing 17 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 22 - enum: 23 - amlogic,meson8-ao-arc 24 - amlogic,meson8b-ao-arc 25 - const: amlogic,meson-mx-ao-arc [all …]
|
/Linux-v6.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 …]
|
/Linux-v6.6/drivers/fsi/ |
D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * A FSI master controller, using a simple GPIO bit-banging interface 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 82 /* Amount of SRAM required */ 111 void __iomem *sram; member 132 msg->msg <<= bits; in msg_push_bits() 133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits() 134 msg->bits += bits; in msg_push_bits() [all …]
|
/Linux-v6.6/drivers/crypto/ccree/ |
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 28 * cc_sram_alloc() - Allocate buffer from SRAM pool. 34 * Address offset in SRAM or NULL_SRAM_ADDR for failure. 39 * cc_set_sram_desc() - Create const descriptors sequence to 40 * set values in given array into SRAM. 44 * @dst: The target SRAM buffer to set into
|
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. 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() 36 * cc_sram_alloc() - Allocate buffer from SRAM pool. 42 * Address offset in SRAM or NULL_SRAM_ADDR for failure. [all …]
|
/Linux-v6.6/drivers/media/pci/cx25821/ |
D | cx25821-sram.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 /* #define RX_SRAM_START_SIZE = 0; // Start of reserved SRAM */ 17 /* #define RX_SRAM_POOL_START_SIZE = 0; // Start of usable RX SRAM for buffers */ 26 /* #define RX_SRAM_POOL_FREE_SIZE = 16; // Start of available RX SRAM */ 27 /* #define RX_SRAM_END_SIZE = 0; // End of RX SRAM */ 29 /* #define TX_SRAM_POOL_START_SIZE = 0; // Start of transmit pool SRAM */ 36 /* #define TX_SRAM_POOL_FREE_SIZE = 704; // Start of available TX SRAM */ 37 /* #define TX_SRAM_END_SIZE = 0; // End of TX SRAM */ 39 /* Receive SRAM */ 167 /* Free Receive SRAM 144 Bytes */ [all …]
|
/Linux-v6.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", 119 seq_puts(s, "Allwinner sunXi SRAM\n"); in sunxi_sram_show() 120 seq_puts(s, "--------------------\n\n"); in sunxi_sram_show() [all …]
|
/Linux-v6.6/drivers/media/common/b2c2/ |
D | flexcop-sram.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * flexcop-sram.c - functions for controlling the SRAM 17 switch (fc->rev) { in flexcop_sram_init() 26 return -EINVAL; in flexcop_sram_init() 35 v = fc->read_ibi_reg(fc, sram_dest_reg_714); in flexcop_sram_set_dest() 37 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) { in flexcop_sram_set_dest() 38 err("SRAM destination target to available on FlexCopII(b)\n"); in flexcop_sram_set_dest() 39 return -EINVAL; in flexcop_sram_set_dest() 41 deb_sram("sram dest: %x target: %x\n", dest, target); in flexcop_sram_set_dest() 52 fc->write_ibi_reg(fc,sram_dest_reg_714,v); in flexcop_sram_set_dest() [all …]
|