Home
last modified time | relevance | path

Searched +full:size +full:- +full:in +full:- +full:bytes (Results 1 – 25 of 1017) sorted by relevance

12345678910>>...41

/Zephyr-latest/subsys/tracing/include/
Dtracing_buffer.h4 * SPDX-License-Identifier: Apache-2.0
30 * @brief Get free space in the tracing buffer.
32 * @return Tracing buffer free space (in bytes).
37 * @brief Get tracing buffer capacity (max size).
39 * @return Tracing buffer capacity (in bytes).
44 * @brief Try to allocate buffer in the tracing buffer.
48 * @param size Requested buffer size (in bytes).
50 * @return Size of allocated buffer which can be smaller than
53 uint32_t tracing_buffer_put_claim(uint8_t **data, uint32_t size);
56 * @brief Indicate number of bytes written to the allocated buffer.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dead.h2 * SPDX-License-Identifier: Apache-2.0
25 /** Randomizer size in bytes */
27 /** Key size in bytes */
29 /** Initialisation Vector size in bytes */
31 /** MIC size in bytes */
34 /** Get the size (in bytes) of the encrypted advertising data for a given
35 * payload size in bytes.
40 /** Get the size (in bytes) of the decrypted payload for a given payload size in
41 * bytes.
44 ((encrypted_payload_size) - (BT_EAD_RANDOMIZER_SIZE + BT_EAD_MIC_SIZE))
[all …]
/Zephyr-latest/drivers/entropy/
DKconfig.smartbond4 # SPDX-License-Identifier: Apache-2.0
18 int "Thread-mode random number pool size"
22 Buffer length in bytes used to store entropy bytes generated by the
24 Please note, that size of the pool must be a power of 2.
27 int "Thread-mode random number pool low-water threshold"
30 Low water-mark threshold in bytes to trigger entropy generation for
31 thread mode consumers. As soon as the number of available bytes in the
36 int "ISR-mode random number pool size"
40 Buffer length in bytes used to store entropy bytes generated by the
42 Please note, that size of the pool must be a power of 2.
[all …]
DKconfig.nrf55 # SPDX-License-Identifier: Apache-2.0
23 random 8-bit value to the host when read.
35 int "Thread-mode random number pool size"
39 Buffer length in bytes used to store entropy bytes generated by the
41 Please note, that size of the pool must be a power of 2.
44 int "Thread-mode random number pool low-water threshold"
47 Low water-mark threshold in bytes to trigger entropy generation for
48 thread mode consumers. As soon as the number of available bytes in the
53 int "ISR-mode random number pool size"
57 Buffer length in bytes used to store entropy bytes generated by the
[all …]
DKconfig.stm324 # SPDX-License-Identifier: Apache-2.0
15 a entropy 32-bit value to the host when read. It is available for
21 int "Thread-mode random number pool size"
25 Buffer length in bytes used to store entropy bytes generated by the
27 Please note, that size of the pool must be a power of 2.
30 int "Thread-mode random number pool low-water threshold"
33 Low water-mark threshold in bytes to trigger entropy generation for
34 thread mode consumers. As soon as the number of available bytes in the
39 int "ISR-mode random number pool size"
43 Buffer length in bytes used to store entropy bytes generated by the
[all …]
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h4 * SPDX-License-Identifier: Apache-2.0
25 "Size too big"
50 uint32_t size; member
57 * Any value other than 0 makes sense only in validation testing context.
61 buf->put_head = buf->put_tail = buf->put_base = value; in ring_buf_internal_reset()
62 buf->get_head = buf->get_tail = buf->get_base = value; in ring_buf_internal_reset()
68 * This macro establishes a ring buffer of an arbitrary size.
77 * @param size8 Size of ring buffer (in bytes).
85 .size = size8 \
92 * an array of 32-bit words (from zero to 1020 bytes in length), coupled
[all …]
Dmulti_heap.h2 * SPDX-License-Identifier: Apache-2.0
13 * @defgroup multi_heap_wrapper Multi-Heap Wrapper
19 * @brief Multi-heap allocator
23 * unified API. They can be discontiguous, and in many cases will be
29 * in backend, which is then provided to a user-specified "choice"
30 * function whose job it is to select a heap based on information in
36 * @brief Multi-heap choice function
38 * This is a user-provided functions whose responsibility is selecting
43 * allocation, and may choose to pad the user-provided values as
50 * @param mheap Multi-heap structure.
[all …]
Dsys_heap.h4 * SPDX-License-Identifier: Apache-2.0
22 * power-of-two buckets.
24 * Excellent space efficiency. Chunks can be split arbitrarily in 8
25 * byte units. Overhead is only four bytes per allocated chunk (eight
26 * bytes for heaps >256kb or on 64 bit systems), plus a log2-sized
27 * array of 2-word bucket headers. No coarse alignment restrictions
28 * on blocks, they can be split and merged (in units of 8 bytes)
32 * a macro-generated, carefully aligned static array. Allocate and
38 * to the smallest block guaranteed to fit. Split memory remaining in
44 * that has a compile-time-configurable upper bound, setting this to
[all …]
/Zephyr-latest/include/zephyr/mem_mgmt/
Dmem_attr_heap.h4 * SPDX-License-Identifier: Apache-2.0
30 * @retval -EALREADY if the pool was already initialized.
31 * @retval -ENOMEM too many regions already allocated.
36 * @brief Allocate memory with a specified attribute and size.
38 * Allocates a block of memory of the specified size in bytes and with a
43 * @param bytes requested size of the allocation in bytes.
46 * @retval NULL if no memory is available with that attribute and size.
48 void *mem_attr_heap_alloc(uint32_t attr, size_t bytes);
51 * @brief Allocate aligned memory with a specified attribute, size and alignment.
53 * Allocates a block of memory of the specified size in bytes and with a
[all …]
/Zephyr-latest/soc/microchip/mec/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
15 size of the firmware image. Enable this to invoke the mec_spi_gen tool
18 Boot-ROM. Use the full Microchip SPI image generator program for
19 authentication and all other Boot-ROM loader features. Refer to the MCHP
65 bool "SPI flash operates full-duplex with frequency (< 25 MHz)"
68 bool "SPI flash operates full-duplex with fast reading mode"
86 prompt "Flash size"
89 This sets the SPI flash size.
92 bool "SPI flash size 256K Bytes"
94 The SPI flash size is 256K Bytes.
[all …]
/Zephyr-latest/soc/nuvoton/npcx/
DKconfig1 # Nuvoton Cortex-M4 Embedded Controller
4 # SPDX-License-Identifier: Apache-2.0
18 bool "Build npcx binary in BIN format"
21 Build a "raw" binary zephyr/zephyr.npcx.bin in the build directory.
25 bool "Build npcx binary in HEX format"
28 Build an HEX binary zephyr/zephyr.npcx.hex in the build directory.
137 prompt "Flash size"
142 This sets the SPI flash size.
145 bool "SPI flash size 0.5M or 1M Bytes"
147 The SPI flash size is 0.5M or 1M Bytes.
[all …]
/Zephyr-latest/dts/bindings/mtd/
Datmel,sam-flash.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel SAM flash area varies in write-block-size, memory area,
8 and the layout of erase-blocks.
12 |--------------------|
13 | 8 Kbytes | erase block size = 2048
14 |--------------------|
15 | 8 Kbytes | erase block size = 2048
16 |--------------------|
17 | 48 Kbytes | erase block size = 4096
18 |--------------------|
[all …]
Datmel,at45.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [spi-device.yaml]
11 jedec-id:
12 type: uint8-array
14 description: JEDEC ID as manufacturer ID (1 byte) and device ID (2 bytes).
16 size:
19 description: Flash capacity in bits.
21 sector-size:
24 description: Flash sector size in bytes.
26 sector-0a-pages:
[all …]
/Zephyr-latest/drivers/flash/
DKconfig.cadence_qspi_nor2 # SPDX-License-Identifier: Apache-2.0
12 Enable Cadence QSPI-NOR support.
23 hex "Cadence Quad SPI subsector size"
26 Set the Cadence Quad SPI subsector size.
29 int "Access QSPI address memory size in bytes"
32 Set the address memory size in bytes when
36 int "Set QSPI to read / write how many bytes per device"
39 Set the size for a QSPI to read / write per device.
42 int "Set QSPI to read / write how many bytes per block"
45 Set the size for a QSPI to read / write per block.
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst5 Zephyr Memory Storage is a new key-value storage system that is designed to work with all types
6 of non-volatile storage technologies. It supports classical on-chip NOR flash as well as new
12 ZMS divides the memory space into sectors (minimum 2), and each sector is filled with key-value
15 The key-value pair is divided into two parts:
17 - The key part is written in an ATE (Allocation Table Entry) called "ID-ATE" which is stored
19 - The value part is defined as "DATA" and is stored raw starting from the top of the sector
21 Additionally, for each sector we store at the last positions Header-ATEs which are ATEs that
35 A sector is organized in this form (example with 3 sectors):
37 .. list-table::
39 :header-rows: 1
[all …]
/Zephyr-latest/subsys/fs/ext2/
Dext2_bitmap.h4 * SPDX-License-Identifier: Apache-2.0
15 * NOTICE: Assumed size of the bitmap is 256 B (1024 bits).
23 * @param index Index in bitmap
24 * @param size Size of bitmap in bytes
27 * @retval -EINVAL when index is too big;
29 int ext2_bitmap_set(uint8_t *bm, uint32_t index, uint32_t size);
35 * @param index Index in bitmap
36 * @param size Size of bitmap in bytes
39 * @retval -EINVAL when index is too big;
41 int ext2_bitmap_unset(uint8_t *bm, uint32_t index, uint32_t size);
[all …]
/Zephyr-latest/arch/arm/core/cortex_a_r/
DKconfig1 # ARM Cortex-A and Cortex-R platform configuration options
7 # SPDX-License-Identifier: Apache-2.0
14 # exposed if one selects a different ARM Cortex Family (Cortex-M).
21 This option signifies the use of a Cortex-A9 CPU.
31 int "Undefined Instruction and Abort stack size (in bytes)"
34 This option specifies the size of the stack used by the undefined
38 int "FIQ stack size (in bytes)"
41 This option specifies the size of the stack used by the FIQ handler.
44 int "SVC stack size (in bytes)"
47 This option specifies the size of the stack used by the SVC handler.
[all …]
/Zephyr-latest/soc/espressif/common/include/
Desp_heap_runtime.h4 * SPDX-License-Identifier: Apache-2.0
10 * @param size Amount of memory requested (in bytes).
14 void *esp_heap_runtime_malloc(size_t size);
19 * @param n Number of elements in the requested array
20 * @param size Size of each array element (in bytes).
24 void *esp_heap_runtime_calloc(size_t n, size_t size);
30 * @param bytes Desired size of block to allocate
34 void *esp_heap_runtime_realloc(void *ptr, size_t bytes);
/Zephyr-latest/drivers/modem/
DKconfig.cellular2 # SPDX-License-Identifier: Apache-2.0
25 cellular modems to establish a point-to-point
38 int "Periodic script interval in milliseconds"
42 int "The UART receive and transmit buffer sizes in bytes."
46 int "The maximum CMUX frame size in bytes."
50 This value affects the size of buffers used to receive and transmit CMUX frames.
53 int "The size of the buffers used for the chat scripts in bytes."
57 int "The size of the buffers used for each user pipe in bytes."
67 int "Time modem takes to change baudrate, in milliseconds"
/Zephyr-latest/dts/bindings/fs/
Dzephyr,fstab,littlefs.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Description of pre-defined file systems.
9 include: "zephyr,fstab-common.yaml"
12 # num-files and num-dirs are not filesystem-specific.
14 read-size:
18 The size of file system read operations, in bytes.
25 prog-size:
29 The size of file system program (write) operations, in bytes.
36 cache-size:
40 The size of block caches, in bytes.
[all …]
/Zephyr-latest/include/zephyr/drivers/uart/
Dserial_test.h4 * SPDX-License-Identifier: Apache-2.0
28 * @param size Data size (in bytes).
30 * @retval Number of bytes written.
32 int serial_vnd_queue_in_data(const struct device *dev, const unsigned char *data, uint32_t size);
35 * @brief Returns size of unread written data.
39 * @return Output data size (in bytes).
57 * @param size Data size (in bytes).
59 * @retval Number of bytes written to the output buffer.
61 uint32_t serial_vnd_read_out_data(const struct device *dev, unsigned char *data, uint32_t size);
77 * @param size Data size (in bytes).
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.mpl1 # Bluetooth Audio - Media player configuration options
6 # SPDX-License-Identifier: Apache-2.0
14 mock-up with no actual media being played.
31 Sets the maximum number of bytes (including the null termination) of
45 Sets the maximum number of bytes (including the null termination) of
53 Sets the maximum number of bytes (including the null termination) of
54 the title of any track in the media player.
61 Sets the maximum number of bytes (including the null termination)
62 of the name of any track segment in the media player.
69 Sets the maximum number of bytes (including the null termination) of
[all …]
/Zephyr-latest/dts/bindings/usb/
Drenesas,smartbond-usbd.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,smartbond-usbd"
8 include: usb-ep.yaml
11 dma-min-transfer-size:
14 Minimum transfer size required to engage DMA.
16 ep-out-buf-size:
20 Buffer size for OUT end points 0-3.
22 fifo-read-threshold:
25 RX FIFO is 64 bytes. When endpoint size is greater then 64,
28 It is possible to stay in interrupt reading whole packet at once,
[all …]
/Zephyr-latest/doc/kernel/data_structures/
Dring_buffers.rst6 A :dfn:`ring buffer` is a circular buffer, whose contents are stored in
7 first-in-first-out order.
11 abstraction to manage copies of such data in and out of a shared
16 * **Byte mode**: raw bytes can be enqueued and dequeued.
18 * **Data item mode**: Multiple 32-bit word data items with metadata
19 can be enqueued and dequeued from the ring buffer in
20 chunks of up to 1020 bytes. Each data item also has two
21 associated metadata values: a type identifier and a 16-bit
22 integer value, both of which are application-specific.
27 "bytes" API, one initialized with a word count must use the "items"
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = ec-host-commands
21 int "Stack size for the EC host command handler thread"
25 int "Buffer size in bytes for TX buffer shared by all EC host commands"
32 Buffer size in bytes for TX buffer defined by the host command handler.
33 Some backend layers can define their own buffer, so the size can be zero to
34 avoid duplicating buffers. If multiple backends are used, the size has to be
38 int "Buffer size in bytes for RX buffer shared by all EC host commands"
45 Buffer size in bytes for TX buffer defined by the host command handler.
46 Some backend layers can define their own buffer, so the size can be zero to
[all …]

12345678910>>...41