/Zephyr-latest/drivers/flash/ |
D | Kconfig.simulator | 4 # SPDX-License-Identifier: Apache-2.0 22 Disable this option only if you want to simulate 26 bool "Program-erase device" 30 Explicit erase (non-erase-on-write) Flash, which is device that requires erase 31 to erase-value prior to write as it only allows to change bits from erase-value 45 …If selected, writing to a non-erased program unit will succeed, otherwise, it will return an error. 46 Keep in mind that write operations can only change value of a bit from erase-value to the 50 but only change from erase-value to opposite will be registered. 63 int "Minimum write time (µS)" 89 Only up to this number of beginning pages will be tracked
|
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 23 Device does not do erase-on-write (erase-on-program, auto-erase 24 on write) and requires explicit erase procedure to be programmed 26 some other value, as program can only change bits from erased-value 29 been separated from write, EEPROM has erase-on-write, giving 30 it advantage of higher write speeds at a cost of larger erase block. 31 Note that explicit-erase capability does not warrants that 32 write without erase is not allowed, taking the above restrictions, 33 it only states that write of a random information will require 41 paths in code that only serve such devices, and could be [all …]
|
D | flash_stm32l4x.c | 6 * SPDX-License-Identifier: Apache-2.0 38 if (regs->ACR & FLASH_ACR_DCEN) { in flush_cache() 39 regs->ACR &= ~FLASH_ACR_DCEN; in flush_cache() 41 * This bit can be written only when the data cache is disabled in flush_cache() 43 regs->ACR |= FLASH_ACR_DCRST; in flush_cache() 44 regs->ACR &= ~FLASH_ACR_DCRST; in flush_cache() 45 regs->ACR |= FLASH_ACR_DCEN; in flush_cache() 48 if (regs->ACR & FLASH_ACR_ICEN) { in flush_cache() 49 regs->ACR &= ~FLASH_ACR_ICEN; in flush_cache() 51 * This bit can be written only when the instruction cache in flush_cache() [all …]
|
D | Kconfig.at45 | 2 # SPDX-License-Identifier: Apache-2.0 19 The driver is only capable of using "power of 2" binary page sizes 26 bool "Use Read-Modify-Write command in flash_write()" 29 Use the Read-Modify-Write command (opcode 0x58) instead of the default 30 Main Memory Program without Built-In Erase (opcode 0x02). This allows
|
/Zephyr-latest/include/zephyr/arch/arm/mpu/ |
D | arm_mpu_v8.h | 5 * SPDX-License-Identifier: Apache-2.0 10 /* Convenience macros to represent the ARMv8-M-specific 12 * cache-ability attribution. 44 /* Privileged Read Write, Unprivileged No Access */ 47 /* Privileged Read Write, Unprivileged Read Only */ 50 /* Privileged Read Write, Unprivileged Read Write */ 53 /* Privileged Read Write, Unprivileged Read Write */ 56 /* Privileged Read Only, Unprivileged No Access */ 59 /* Privileged Read Only, Unprivileged Read Only */ 62 /* Privileged Read Only, Unprivileged Read Only */ [all …]
|
D | arm_mpu_v7m.h | 5 * SPDX-License-Identifier: Apache-2.0 12 /* Convenience macros to represent the ARMv7-M-specific 14 * cache-ability attribution. 23 /* Privileged Read Write, Unprivileged No Access */ 26 /* Privileged Read Write, Unprivileged Read Only */ 29 /* Privileged Read Write, Unprivileged Read Write */ 32 /* Privileged Read Write, Unprivileged Read Write */ 35 /* Privileged Read Only, Unprivileged No Access */ 38 /* Privileged Read Only, Unprivileged Read Only */ 41 /* Privileged Read Only, Unprivileged Read Only */ [all …]
|
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
D | loapic.h | 1 /* loapic.h - public LOAPIC APIs */ 6 * SPDX-License-Identifier: Apache-2.0 27 #define LOAPIC_ISR 0x100 /* In-service Reg */ 42 #define LOAPIC_SELF_IPI 0x3f0 /* Self IPI Reg, only support in X2APIC mode */ 70 * @brief Read 64-bit value from the local APIC in x2APIC mode. 81 * @brief Read 32-bit value from the local APIC in xAPIC (MMIO) mode. 95 * Returns a 32-bit value read from the local APIC, using the access 97 * that 64-bit reads are only allowed in x2APIC mode and can only be 112 * @brief Write 64-bit value to the local APIC in x2APIC mode. 114 * @param reg the LOAPIC register number to write (one of LOAPIC_*) [all …]
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | mpu.h | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <xtensa/config/core-isa.h> 37 /** Kernel mode execution only. */ 40 /** User mode execution only. */ 43 /** Kernel mode read only. */ 49 /** Kernel mode read and write. */ 52 /** Kernel mode read, write and execution. */ 55 /** Kernel and user modes write only. */ 58 /** Kernel mode read, write. User mode read, write and execution. */ 61 /** Kernel mode read and write. User mode read only. */ [all …]
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | zephyr,mipi-dbi-spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 MIPI-DBI Mode C compatible SPI controller. This driver emulates MIPI DBI 7 compatible: "zephyr,mipi-dbi-spi" 9 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"] 12 spi-dev: 19 dc-gpios: 20 type: phandle-array 25 reset-gpios: 26 type: phandle-array 30 xfr-min-bits: [all …]
|
D | nxp,lcdic.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 NXP LCDIC Controller. This controller implements 8080 and SPI mode MIPI-DBI 9 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"] 21 nxp,swap-bytes: 27 reset-gpios: 28 type: phandle-array 34 nxp,write-inactive-cycles: 38 Set minimum count of write inactive cycles, as a multiple of the module 40 WRX signal. Default is IP reset value. Only valid in 8080 mode. 42 nxp,write-active-cycles: [all …]
|
/Zephyr-latest/subsys/logging/ |
D | Kconfig.filtering | 2 # SPDX-License-Identifier: Apache-2.0 22 - 0 OFF, do not write by default 23 - 1 ERROR, default to only write LOG_LEVEL_ERR 24 - 2 WARNING, default to write LOG_LEVEL_WRN 25 - 3 INFO, default to write LOG_LEVEL_INFO 26 - 4 DEBUG, default to write LOG_LEVEL_DBG 39 - 0 OFF, do not override 40 - 1 ERROR, override to write LOG_LEVEL_ERR 41 - 2 WARNING, override to write LOG_LEVEL_WRN 42 - 3 INFO, override to write LOG_LEVEL_INFO [all …]
|
/Zephyr-latest/doc/services/storage/nvs/ |
D | nvs.rst | 3 Non-Volatile Storage (NVS) 6 Elements, represented as id-data pairs, are stored in flash using a 7 FIFO-managed circular buffer. The flash area is divided into sectors. Elements 10 sector it is checked that identifier - data pairs exist in the sectors in use, 11 if not the id-data pair is copied. 13 The id is a 16-bit unsigned number. NVS ensures that for each used id there is 14 at least one id-data pair stored in flash at all time. 23 only calculated over the metadata and only ensures that a write has been 25 CRC-32. Use the :kconfig:option:`CONFIG_NVS_DATA_CRC` configuration item to enable 28 .. note:: The data CRC is checked only when the whole data of the element is read. [all …]
|
/Zephyr-latest/include/zephyr/linker/ |
D | iterable_sections.h | 4 * SPDX-License-Identifier: Apache-2.0 38 * @brief Define a read-only iterable section output. 42 * of equally-sized data structures. For use with STRUCT_SECTION_ITERABLE(). 45 * This macro should be used for read-only data. 58 * @brief Define a read-only iterable section output, sorted numerically. 62 * up to 2 numeric digits are handled (0-99). 73 * @brief Define a garbage collectable read-only iterable section output. 77 * of equally-sized data structures. For use with STRUCT_SECTION_ITERABLE(). 80 * This macro should be used for read-only data. 91 * @brief Define a read-write iterable section output. [all …]
|
/Zephyr-latest/scripts/ci/coverage/ |
D | coverage_analysis.py | 1 # SPDX-License-Identifier: Apache-2.0 300 outfile.write(json_object) 305 return -1 306 return len(path) - len(sep[-1]) - len(str) 350 worksheet.write(row,col,"Components",header_format) 351 worksheet.write(row,col+1,"TestSuites",header_format) 352 worksheet.write(row,col+2,"Runnable",header_format) 353 worksheet.write(row,col+3,"Build only",header_format) 354 worksheet.write(row,col+4,"Simulators only",header_format) 355 worksheet.write(row,col+5,"Hardware only",header_format) [all …]
|
/Zephyr-latest/subsys/net/ |
D | Kconfig.template.log_config.default.net | 6 # SPDX-License-Identifier: Apache-2.0 9 prompt "$(module-str)" 10 default $(module)_$(module-def) 11 depends on $(module-dep) 15 # $(module-help) 20 Do not write to log. 25 Only write to log when NET_ERR or LOG_ERR is used. 30 Write to log with NET_WARN or LOG_WRN in addition to previous level. 35 Write to log with NET_INFO or LOG_INF in addition to previous levels. 40 Write to log with NET_DBG or LOG_DBG in addition to previous levels. [all …]
|
D | Kconfig.template.log_config.net | 5 # SPDX-License-Identifier: Apache-2.0 8 prompt "$(module-str)" 10 depends on $(module-dep) 14 # $(module-help) 19 Do not write to log. 24 Only write to log when NET_ERR or LOG_ERR is used. 29 Write to log with NET_WARN or LOG_WRN in addition to previous level. 34 Write to log with NET_INFO or LOG_INF in addition to previous levels. 39 Write to log with NET_DBG or LOG_DBG in addition to previous levels. 50 default 0 if $(module)_LOG_LEVEL_OFF || !$(module-dep)
|
/Zephyr-latest/include/zephyr/arch/arm64/cortex_r/ |
D | arm_mpu.h | 4 * Copyright (c) 2021-2023 Arm Limited (or its affiliates). All rights reserved. 6 * SPDX-License-Identifier: Apache-2.0 12 * Convenience macros to represent the ARMv8-R64-specific configuration 13 * for memory access permission and cache-ability attribution. 35 /* PRBAR_ELx: Attribute flag for not-allowing execution (eXecute Never) */ 39 /* Privileged Read Write, Unprivileged No Access */ 42 /* Privileged Read Write, Unprivileged Read Write */ 45 /* Privileged Read Only, Unprivileged No Access */ 48 /* Privileged Read Only, Unprivileged Read Only */ 52 /* PRBAR_ELx: Attribute flags for share-ability */ [all …]
|
/Zephyr-latest/dts/bindings/reserved-memory/ |
D | nordic,owned-memory.yaml | 2 # SPDX-License-Identifier: Apache-2.0 13 reserved-memory { 15 compatible = "nordic,owned-memory"; 36 compatible: "nordic,owned-memory" 38 include: [base.yaml, "zephyr,memory-common.yaml"] 47 Array of (owner-id, permission-flags) pairs, where: 49 - Owner ID represents the domain that will have access to this memory. 53 - Permissions are encoded as a 32-bit bitfield, using the flags found in 54 include/zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h, 64 owner-id: [all …]
|
/Zephyr-latest/include/zephyr/drivers/flash/ |
D | stm32_flash_api_extensions.h | 4 * SPDX-License-Identifier: Apache-2.0 14 * STM32 sector write protection control. 23 * Input can be NULL if we only want to get protected sectors. 58 * STM32 option bytes write. 60 * Write the option bytes content, in takes the new value, out is 61 * unused. Note that the new value only takes effect after the device
|
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/ |
D | write_shared_memory.sh | 2 # Write a fixed-size string message on the ivshmem shared memory 3 # Usage write_shared_memory.sh [-s size in bytes] [-l location] [-m message] [-v] 7 # SPDX-License-Identifier: Apache-2.0 17 echo "Usage: $0 [-s size in bytes] [-l location] [-m message] [-v]" 30 if [ "$WM_MSG_LEN" -gt "$WM_SIZE" ]; then 31 # make sure we only read and write up to WM_SIZE 41 # make sure we only read $1 if it is defined (no unset) 42 PARAMS="${1:-0}" 45 -s) 49 -l) [all …]
|
/Zephyr-latest/dts/bindings/misc/ |
D | nxp,rdc-policy.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 for example, be configured as A-core only or M-core only. This property uses some 11 macros defined in 'include/zephyr/dt-bindings/rdc/imx_rdc.h' to configure current 13 For example to allow both A53 and M7 Core to have read/write permission to current
|
/Zephyr-latest/doc/kernel/usermode/ |
D | overview.rst | 15 Example use-cases of Zephyr's user mode features: 17 - The kernel can protect against many unintentional programming errors which 20 - The kernel can sandbox complex data parsers such as interpreters, network 21 protocols, and filesystems such that malicious third-party code or data 24 - The kernel can support the notion of multiple logical "applications", each 31 For threads running in a non-privileged CPU state (hereafter referred to as 34 - We prevent access to memory not specifically granted, or incorrect access to 35 memory that has an incompatible policy, such as attempting to write to a 36 read-only area. 38 - Access to thread stack buffers will be controlled with a policy which [all …]
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | writer.py | 3 # SPDX-License-Identifier: Apache-2.0 14 r'^cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^' 15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*" 16 …r'|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}… 21 # Replace "_" by "-" since it's not allowed in spdx ID 22 return name.replace("_", "-") 24 # Output tag-value SPDX 2.3 content for the given Relationship object. 29 …f.write(f"Relationship: {_normalize_spdx_name(rln.refA)} {rln.rlnType} {_normalize_spdx_name(rln.r… 31 # Output tag-value SPDX 2.3 content for the given File object. 38 f.write(f"""FileName: ./{bf.relpath} [all …]
|
/Zephyr-latest/soc/microchip/mec/mec172x/reg/ |
D | mec172x_i2c_smb.h | 4 * SPDX-License-Identifier: Apache-2.0 34 * Write to Control 36 * Size 8-bit 47 /* Status Read-only */ 69 * Data register, 8-bit 82 /* 32-bit definitions */ 97 #define MCHP_I2C_SMB_MSTR_CMD_B1_START0 BIT((8 - 8)) 98 #define MCHP_I2C_SMB_MSTR_CMD_B1_STARTN BIT((9 - 8)) 99 #define MCHP_I2C_SMB_MSTR_CMD_B1_STOP BIT((10 - 8)) 100 #define MCHP_I2C_SMB_MSTR_CMD_B1_PEC_TERM BIT((11 - 8)) [all …]
|
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/ |
D | sbs_gauge.h | 4 * SPDX-License-Identifier: Apache-2.0 52 * gauge. For the case where it's a singular value that must only be written to the fuel gauge only 53 * once, retransmitting the duplicate write has no significant negative consequences. 56 * at compile-time would require labyrinthine amount of macro-batics. 68 /* Array SMBus word values to write to cut off the battery */ 70 /* Register to write cutoff payload */
|