| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sram/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/sunxi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/memory/ |
| H A 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 …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 for DRAM (SDR, DDR), ROM, SRAM and others. The drivers features 34 bool "Atmel (Multi-port DDR-)SDRAM Controller" 39 This driver is for Atmel SDRAM Controller or Atmel Multi-port 40 DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs. 42 LP-DDR memories. 53 Used to configure the EBI (external bus interface) when the device- 70 bool "Baikal-T1 CM2 L2-RAM Cache Control Block" 74 Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU 75 resides Coherency Manager v2 with embedded 1MB L2-cache. It's [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccree/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | ds4510.c | 4 * SPDX-License-Identifier: GPL-2.0 8 * Driver for DS4510, a CPU supervisor with integrated EEPROM, SRAM, 9 * and 4 programmable non-volatile GPIO pins. 39 wrlen = DS4510_EEPROM_PAGE_SIZE - in ds4510_mem_write() 44 return -1; in ds4510_mem_write() 47 * This delay isn't needed for SRAM writes but shouldn't delay in ds4510_mem_write() 51 count -= wrlen; in ds4510_mem_write() 69 * nv = 0 - Writes to SEEPROM registers behave like EEPROM 70 * nv = 1 - Writes to SEEPROM registers behave like SRAM 77 return -1; in ds4510_see_write() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A 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";
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H A D | ti_k3_r5_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2017-2020 Texas Instruments Incorporated - https://www.ti.com/ 6 * Suman Anna <s-anna@ti.com> 9 #include <linux/dma-mapping.h> 18 #include <linux/omap-mailbox.h> 32 /* R5 TI-SCI Processor Configuration Flags */ 42 /* R5 TI-SCI Processor Control Flags */ 45 /* R5 TI-SCI Processor Status Flags */ 52 * struct k3_r5_mem - internal memory structure 55 * @dev_addr: Device address from remoteproc view [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-rockchip/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/ |
| H A D | atmel-nand.txt | 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" 17 "microchip,sam9x60-nand-controller" 18 - ranges: empty ranges property to forward EBI ranges definitions. 19 - #address-cells: should be set to 2. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | prph.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 105 * in special SRAM that does not power down when the embedded control 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 109 * internally loads the short bootstrap program from the special SRAM into the 110 * embedded processor's instruction SRAM, and starts the processor so it runs 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This [all …]
|
| H A D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 69 * whenever platform supplies power to device, even when device is in 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 80 * NOTE: Device does need to be awake in order to read this memory 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved 101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/ti/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/remoteproc/ |
| H A D | ti,k3-dsp-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems 14 that are used to offload some of the processor-intensive tasks or algorithms, 17 These processor sub-systems usually contain additional sub-modules like 23 Each DSP Core sub-system is represented as a single DT node. Each node has a 25 host processor (Arm CorePac) to perform the device management of the remote [all …]
|
| H A D | ti,k3-r5f-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-r5f-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more dual-core Arm Cortex R5F 20 Each Dual-Core R5F sub-system is represented as a single DTS node 24 the device management of the remote processor and to communicate with the 33 - ti,am654-r5fss 34 - ti,j721e-r5fss [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H A D | nicstar.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Header file for the nicstar device driver. 29 controlled by the device driver. Must 44 have 32K x 32bit SRAM, in which case 48 128K x 32bit SRAM will limit the maximum 56 #define NUM_HB 8 /* Pre-allocated huge buffers */ 99 * BUG_SM and BUG_LG are both used by the driver and the device. 107 #define NS_MAX_IOVECS (2 + (65568 - NS_SMBUFSIZE) / \ 108 (NS_LGBUFSIZE - (NS_LGBUFSIZE % 48))) 111 #define NS_SMBUFSIZE_USABLE (NS_SMBUFSIZE - NS_SMBUFSIZE % 48) [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/spear/ |
| H A D | u-boot-spl.lds | 7 * January 2004 - Changed to support H4 device 8 * Copyright (c) 2004-2008 Texas Instruments 13 * SPDX-License-Identifier: GPL-2.0+ 16 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\ 19 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 30 } > .sram 33 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram 36 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram 41 } > .sram 54 } > .sram
|
| /OK3568_Linux_fs/kernel/drivers/fsi/ |
| H A D | fsi-occ.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <linux/device.h> 7 #include <linux/fsi-sbefifo.h> 15 #include <linux/fsi-occ.h> 41 struct device *dev; 42 struct device *sbefifo; 74 struct miscdevice *mdev = file->private_data; in occ_open() 78 return -ENOMEM; in occ_open() 80 client->buffer = (u8 *)__get_free_page(GFP_KERNEL); in occ_open() 81 if (!client->buffer) { in occ_open() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/firmware/ |
| H A D | nvidia,tegra186-bpmp.txt | 11 - compatible 14 - "nvidia,tegra186-bpmp" 15 - mboxes : The phandle of mailbox controller and the mailbox specifier. 16 - shmem : List of the phandle of the TX and RX shared memory area that 18 - #clock-cells : Should be 1. 19 - #power-domain-cells : Should be 1. 20 - #reset-cells : Should be 1. 26 - .../mailbox/mailbox.txt 27 - .../mailbox/nvidia,tegra186-hsp.txt 33 - .../clock/clock-bindings.txt [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/firmware/ |
| H A D | nvidia,tegra186-bpmp.txt | 11 - name : Should be bpmp 12 - compatible 15 - "nvidia,tegra186-bpmp" 16 - mboxes : The phandle of mailbox controller and the mailbox specifier. 17 - shmem : List of the phandle of the TX and RX shared memory area that 19 - #clock-cells : Should be 1. 20 - #power-domain-cells : Should be 1. 21 - #reset-cells : Should be 1. 27 - .../mailbox/mailbox.txt 28 - .../mailbox/nvidia,tegra186-hsp.txt [all …]
|