/Zephyr-latest/subsys/bluetooth/audio/ |
D | csip_crypto.h | 3 * Copyright (c) 2021-2022 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 22 * used in RSIs - Used by the Coordinated Set Identification service and 25 * @param sirk 16 byte LS byte first SIRK 26 * @param r 3 byte LS byte first random value 27 * @param out 3 byte LS byte first output buffer 44 * If the pairing was performed on LE, the 64 LSBs of K correspond to the 64 47 * Part H, Section 2.1 in [2]), and the 64 MSBs of K correspond to the 64 MSBs 49 * K = LTK_64-127 || IRK_0-63 51 * @param k 16-byte key. [all …]
|
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 56 "Invalid 16 bits byte order"); in ZTEST() 64 "Invalid 16 bits byte order"); in ZTEST() 72 sizeof(le16), "Invalid 16 bits byte order"); in ZTEST() 80 sizeof(be16), "Invalid 16 bits byte order"); in ZTEST() 88 "Invalid 24 bits byte order"); in ZTEST() 96 "Invalid 24 bits byte order"); in ZTEST() 104 sizeof(le24), "Invalid 24 bits byte order"); in ZTEST() 112 sizeof(be24), "Invalid 24 bits byte order"); in ZTEST() 120 "Invalid 32 bits byte order"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/usb/device/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 17 #define BULK_EP_MPS 64 108 zassert_equal(usb_dc_ep_mps(0x0), 64, in ZTEST() 110 zassert_equal(usb_dc_ep_mps(0x80), 64, in ZTEST() 122 uint8_t byte; in ZTEST() local 133 zassert_not_equal(usb_dc_ep_is_stalled(INVALID_EP, &byte), TC_PASS, in ZTEST() 159 zassert_not_equal(usb_dc_ep_write(INVALID_EP, &byte, sizeof(byte), in ZTEST() 164 zassert_not_equal(usb_dc_ep_read(INVALID_EP, &byte, sizeof(byte), in ZTEST() 167 zassert_not_equal(usb_dc_ep_read_wait(INVALID_EP, &byte, sizeof(byte), in ZTEST() 181 uint8_t byte; in ZTEST() local [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | sys_io.h | 6 * SPDX-License-Identifier: Apache-2.0 27 * @brief Output a byte to an I/O port 29 * This function writes a byte to the given port. 31 * @param data the byte to write 32 * @param port the port address where to write the byte 37 * @brief Input a byte from an I/O port 39 * This function reads a byte from the port. 41 * @param port the port address from where to read the byte 43 * @return the byte read 151 * @brief Write a byte to a memory mapped register [all …]
|
D | byteorder.h | 2 * @brief Byte order helpers. 6 * Copyright (c) 2015-2016, Intel Corporation. 8 * SPDX-License-Identifier: Apache-2.0 48 * @brief Convert 16-bit integer from little-endian to host endianness. 50 * @param val 16-bit integer in little-endian format. 52 * @return 16-bit integer in host endianness. 56 * @brief Convert 16-bit integer from host endianness to little-endian. 58 * @param val 16-bit integer in host endianness. 60 * @return 16-bit integer in little-endian format. 64 * @brief Convert 24-bit integer from little-endian to host endianness. [all …]
|
/Zephyr-latest/dts/bindings/retention/ |
D | zephyr,retention.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 64-byte area with 2-byte prefix and 1-byte checksum with 61 usable bytes 10 compatible = "zephyr,memory-region", "mmio-sram"; 11 reg = <0x2003FFC0 64>; 12 zephyr,memory-region = "RetainedMem"; 16 compatible = "zephyr,retained-ram"; 18 #address-cells = <1>; 19 #size-cells = <1>; 36 "#address-cells": 43 "#size-cells": [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | early_mem_funcs.S | 4 * SPDX-License-Identifier: Apache-2.0 25 /* is dst pointer 8-bytes aligned? */ 33 /* spread the byte value across whole 64 bits */ 44 2: /* at least one byte to set? */ 47 3: /* one byte at a time */ 58 /* are dst and src pointers 8-bytes aligned? */ 74 2: /* at least one byte to copy? */ 77 3: /* one byte at a time */
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 30 /* Various ARC platforms set CONFIG_SRAM_SIZE to 16-128M, but have a 31 * much lower limit of (32-64k) in their linker scripts. Pick a 45 * will increase 16 bytes on 64 bit CPU. 50 #define SOLO_FREE_HEADER_HEAP_SZ (64) 62 * byte of heap sounds about right to get exhaustive coverage without 95 ((size_t *)p)[sz / sizeof(size_t) - 1] = tok; in fill_block() 112 zassert_true(((size_t *)p)[sz / sizeof(size_t) - 1] == tok, ""); in check_fill() 128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc() 129 size_t hdr = addr - chunk; in testalloc() [all …]
|
/Zephyr-latest/dts/bindings/dma/ |
D | andestech,atcdmac300.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 include: dma-controller.yaml 17 chain-transfer: 20 "#dma-cells": 23 dma-cells: 24 - channel 25 - slot 26 - channel-config 33 3. channel-config: A 32bit mask specifying the DMA channel configuration 35 -bit 0-1 : Direction (see dma.h) [all …]
|
/Zephyr-latest/boards/adi/max32672fthr/ |
D | Kconfig.defconfig | 4 # SPDX-License-Identifier: Apache-2.0 14 default 64 29 default LV_COLOR_DEPTH_1 # 1 byte per pixel
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_it8xxx2_sha_v2.c | 4 * SPDX-License-Identifier: Apache-2.0 46 #define SHA_SHA256_BLOCK_LEN 64 56 * This struct is used by the hardware and must be stored in RAM first 4k-byte 57 * and aligned on a 256-byte boundary. 110 gctrl_regs->GCTRL_PMER3 |= IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation() 114 * HW 64 bytes data calculation ~= 4us; in it8xxx2_sha256_module_calculation() 120 gctrl_regs->GCTRL_WNCKR = IT8XXX2_GCTRL_WN65K; in it8xxx2_sha256_module_calculation() 130 gctrl_regs->GCTRL_PMER3 &= ~IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation() 131 gctrl_regs->GCTRL_PMER3; in it8xxx2_sha256_module_calculation() 138 return -ETIMEDOUT; in it8xxx2_sha256_module_calculation() [all …]
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/ |
D | da1469x_dk_pro_psram.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 sram-ext = &memc; 17 /* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */ 20 is-ram; 21 dev-size = <DT_SIZE_M(64)>; 22 dev-type = <0x5D>; 23 dev-id = <0x0D>; 24 dev-density = <0xE040>; 25 reset-delay-us = <50>; 26 read-cs-idle-min-ns = <18>; [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | Kconfig.it8xxx2 | 2 # SPDX-License-Identifier: Apache-2.0 21 the time between each byte to improve the I2C bus clock 23 The I2C controller supports two 32-bytes FIFOs, 47 reduce the time between each byte to improve the I2C bus 55 default 64
|
/Zephyr-latest/subsys/logging/backends/ |
D | Kconfig.spinel | 2 # SPDX-License-Identifier: Apache-2.0 10 This protocol is byte oriented and wraps given messages into serial frames. 17 int "Size of reserved up-buffer for logger output." 18 default 64 20 Specify reserved size of up-buffer used for logger output. 23 backend-str = spinel
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_attestation.c | 4 * SPDX-License-Identifier: Apache-2.0 61 case 64: in att_get_iat() 70 err = -EINVAL; in att_get_iat() 80 LOG_INF("att: Requesting IAT with %u byte challenge.", ch_sz); in att_get_iat() 83 ch_sz, /* Challenge size (32, 48 or 64). */ in att_get_iat() 99 /* 64-byte nonce/challenge, encrypted using the default public key; in att_test() 106 uint32_t nonce_sz = 64; in att_test()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 77 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in buf_destroy() 86 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in fixed_destroy() 95 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in var_destroy() 136 for (i = 0; i < bufs_pool.buf_count - 1; i++) { in ZTEST() 137 frag->frags = net_buf_alloc_len(&bufs_pool, 74, K_NO_WAIT); in ZTEST() 138 zassert_not_null(frag->frags, "Failed to get fragment"); in ZTEST() 139 frag = frag->frags; in ZTEST() 187 for (i = 0; i < bufs_pool.buf_count - 1; i++) { in ZTEST() [all …]
|
/Zephyr-latest/samples/subsys/usb/mass/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-mass 3 :relevant-api: usbd_api usbd_msc_device _usb_device_core_api file_system_api 25 The selection between a RAM-based or a FLASH-based disk and file system 26 can be chosen passing Kconfig configuration via the -D command-line switch. 28 RAM-disk Example without any file system 31 The default configurations selects RAM-based disk without any file system. 32 This example only needs additional 96KiB RAM for the RAM-disk and is intended 35 .. zephyr-app-commands:: 36 :zephyr-app: samples/subsys/usb/mass 38 :gen-args: -DEXTRA_DTC_OVERLAY_FILE="ramdisk.overlay" [all …]
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | sys_mem_blocks.rst | 14 This is useful for operations such as scatter-gather DMA transfers. 43 The buffer must be aligned to an N-byte boundary, where N is a power of 2 54 Each buffer associated with an allocator is an array of fixed-size blocks, 108 which has 4 blocks that are 64 bytes long, each of which is aligned 109 to a 4-byte boundary: 111 .. code-block:: c 113 SYS_MEM_BLOCKS_DEFINE(allocator, 64, 4, 4); 117 .. code-block:: c 119 SYS_MEM_BLOCKS_DEFINE_STATIC(static_allocator, 64, 4, 4); 121 A pre-defined buffer can also be provided to the allocator where [all …]
|
/Zephyr-latest/arch/arm64/core/cortex_r/ |
D | Kconfig | 6 # SPDX-License-Identifier: Apache-2.0 21 The ARMv8-R MPU architecture requires a power-of-two alignment 22 of MPU region base address and size(64 bytes aligned). 24 The ARMv8-R MPU requires the active MPU regions be non-overlapping. 25 As a result of this, the ARMv8-R MPU needs to fully partition the 29 of the ARMv8-R background memory map. The application developer may 33 SRAM area covered only by the default ARMv8-R memory map. This 41 of full partitioning the default behavior for the ARMv8-R MPU 46 default 64 if ARM_MPU 51 A minimum 4-byte alignment is enforced in ARM builds without
|
/Zephyr-latest/subsys/usb/device/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 16 module-str = usb device 39 default "USB-DEV" 87 default y if BT_BUF_ACL_RX_SIZE > 123 # 4 byte header 88 default y if BT_BUF_ACL_TX_SIZE > 123 # 4 byte header 89 default y if BT_BUF_EVT_RX_SIZE > 125 # 2 byte header 90 default y if BT_BUF_CMD_TX_SIZE > 124 # 3 byte header 94 range 64 512 if USB_DEVICE_NETWORK_RNDIS 126 bool "Set Self-powered characteristic" 129 Set Self-powered characteristic in bmAttributes to indicate [all …]
|
/Zephyr-latest/include/zephyr/llext/ |
D | elf.h | 5 * SPDX-License-Identifier: Apache-2.0 58 * 4 byte magic (.ELF) 59 * 1 byte class (Invalid, 32 bit, 64 bit) 60 * 1 byte endianness (Invalid, LSB, MSB) 61 * 1 byte version (1) 62 * 1 byte OS ABI (0 None, 1 HP-UX, 2 NetBSD, 3 Linux) 63 * 1 byte ABI (0) 69 * @brief ELF Header(32-bit) 103 * @brief ELF Header(64-bit) 149 * @brief Section Header(32-bit) [all …]
|
/Zephyr-latest/drivers/serial/ |
D | Kconfig.nrfx_uart_instance | 4 # SPDX-License-Identifier: Apache-2.0 23 depends on !$(dt_nodelabel_bool_prop,uart$(nrfx_uart_num),endtx-stoptx-supported) 52 bool "[DEPRECATED] Use hardware RX byte counting" 63 It is recommended to use hardware byte counting in such scenarios. 64 Hardware RX byte counting requires timer instance and one PPI channel. 67 reliable byte counting without additional HW resources (TIMER and (D)PPI). 88 def_bool $(dt_nodelabel_has_prop,uart$(nrfx_uart_num),memory-regions) 116 default 64 if UART_$(nrfx_uart_num)_INTERRUPT_DRIVEN
|
/Zephyr-latest/dts/bindings/flash_controller/ |
D | st,stm32-ospi-nor.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 mx25lm51245: ospi-nor-flash@70000000 { 10 compatible = "st,stm32-ospi-nor"; 11 reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits */ 12 data-mode = <OSPI_OPI_MODE>; /* access on 8 data lines */ 13 data-rate = <OSPI_DTR_TRANSFER>; /* access in DTR */ 14 ospi-max-frequency = <DT_FREQ_M(50)>; 18 compatible: "st,stm32-ospi-nor" 20 include: ["flash-controller.yaml", "jedec,jesd216.yaml"] 22 on-bus: ospi [all …]
|
/Zephyr-latest/samples/subsys/zbus/remote_mock/src/ |
D | mock_proxy.c | 3 * SPDX-License-Identifier: Apache-2.0 94 if (rx_buf->len <= 1) { in decode_sentence() 132 uint8_t byte; in mock_proxy_rx_thread() local 133 struct net_buf_simple *rx_buf = NET_BUF_SIMPLE(64); in mock_proxy_rx_thread() 138 while (uart_poll_in(uart_dev, &byte) < 0) { in mock_proxy_rx_thread() 142 if (byte == '*') { in mock_proxy_rx_thread() 145 net_buf_simple_add_u8(rx_buf, byte); in mock_proxy_rx_thread()
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/ |
D | mgmt_defines.h | 2 * Copyright (c) 2018-2021 mcumgr authors 3 * Copyright (c) 2022-2023 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 30 /** Opcodes; encoded in first byte of header. */ 32 /** Read op-code */ 35 /** Read response op-code */ 38 /** Write op-code */ 41 /** Write response op-code */ 46 * MCUmgr groups. The first 64 groups are reserved for system level mcumgr 47 * commands. Per-user commands are then defined after group 64. [all …]
|