Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 1772) sorted by relevance

12345678910>>...71

/Zephyr-latest/samples/bluetooth/broadcaster_multiple/
Dprj.conf10 # length > 191 bytes
11 # - 31 bytes will use 22 bytes for the default name in this sample plus 9 bytes
13 # - 191 bytes will use 22 bytes for the default name in this sample plus 169
14 # bytes for manufacturer data
15 # - 277 bytes will use 22 bytes for the default name in this sample plus 255
16 # bytes for manufacturer data
/Zephyr-latest/tests/bsim/bluetooth/host/adv/chain/
Dprj.conf13 # length > 191 bytes
14 # - 31 bytes will use 22 bytes for the default name in this sample plus 9 bytes
16 # - 191 bytes will use 22 bytes for the default name in this sample plus 169
17 # bytes for manufacturer data
18 # - 277 bytes will use 22 bytes for the default name in this sample plus 255
19 # bytes for manufacturer data
33 # The Zephyr Controller does not combine all the 1650 bytes before
34 # fragmenting into 8 HCI reports, if a PDU has 255 bytes,
/Zephyr-latest/tests/drivers/can/api/src/
Dutilities.c27 /* CAN 2.0B/CAN FD DLC, 0 to 8 data bytes */ in ZTEST()
29 zassert_equal(can_dlc_to_bytes(dlc), dlc, "wrong number of bytes for DLC %u", dlc); in ZTEST()
32 /* CAN FD DLC, 12 to 64 data bytes in steps */ in ZTEST()
33 zassert_equal(can_dlc_to_bytes(9), 12, "wrong number of bytes for DLC 9"); in ZTEST()
34 zassert_equal(can_dlc_to_bytes(10), 16, "wrong number of bytes for DLC 10"); in ZTEST()
35 zassert_equal(can_dlc_to_bytes(11), 20, "wrong number of bytes for DLC 11"); in ZTEST()
36 zassert_equal(can_dlc_to_bytes(12), 24, "wrong number of bytes for DLC 12"); in ZTEST()
37 zassert_equal(can_dlc_to_bytes(13), 32, "wrong number of bytes for DLC 13"); in ZTEST()
38 zassert_equal(can_dlc_to_bytes(14), 48, "wrong number of bytes for DLC 14"); in ZTEST()
39 zassert_equal(can_dlc_to_bytes(15), 64, "wrong number of bytes for DLC 15"); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/llext/src/
Driscv_edge_case_cb_type_trigger.S12 * Tests that jumping 256 bytes (the maximum) backwards
39 * we need a distance of 256 bytes between _do_jump and _backward_jump_target to trigger
41 * _backward_jump_target itself needs 4 bytes (two compressed instructions)
42 * so we need to insert 252 additional padding bytes
46 /* explicit compressed return - 2 bytes */
51 /* jump precisely 256 bytes, the maximum distance, backwards */
58 * note that maximum distance for jump forwards is 254 bytes,
62 /* explicit compressed return - 2 bytes */
72 * Tests that jumping 256 bytes (the maximum) forwards
85 * the return sled is 256 bytes long, covering the maximum backward jump
[all …]
/Zephyr-latest/soc/intel/intel_adsp/common/include/
Dsoc_util.h12 static ALWAYS_INLINE void bmemcpy(void *dest, void *src, size_t bytes) in bmemcpy() argument
17 sys_cache_data_invd_range(src, bytes); in bmemcpy()
18 for (size_t i = 0; i < (bytes >> 2); i++) { in bmemcpy()
22 sys_cache_data_flush_range(dest, bytes); in bmemcpy()
26 static ALWAYS_INLINE void bbzero(void *dest, size_t bytes) in bbzero() argument
30 for (size_t i = 0; i < (bytes >> 2); i++) { in bbzero()
34 sys_cache_data_flush_range(dest, bytes); in bbzero()
/Zephyr-latest/drivers/entropy/
DKconfig.smartbond22 Buffer length in bytes used to store entropy bytes generated by the
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
40 Buffer length in bytes used to store entropy bytes generated by the
48 Low water-mark threshold in bytes to trigger entropy generation for
49 ISR consumers. As soon as the number of available bytes in the
DKconfig.nrf539 Buffer length in bytes used to store entropy bytes generated by the
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
57 Buffer length in bytes used to store entropy bytes generated by the
65 Low water-mark threshold in bytes to trigger entropy generation for
66 ISR consumers. As soon as the number of available bytes in the
DKconfig.stm3225 Buffer length in bytes used to store entropy bytes generated by the
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
43 Buffer length in bytes used to store entropy bytes generated by the
51 Low water-mark threshold in bytes to trigger entropy generation for
52 ISR consumers. As soon as the number of available bytes in the
/Zephyr-latest/subsys/tracing/include/
Dtracing_buffer.h32 * @return Tracing buffer free space (in bytes).
39 * @return Tracing buffer capacity (in bytes).
48 * @param size Requested buffer size (in bytes).
56 * @brief Indicate number of bytes written to the allocated buffer.
58 * @param size Number of bytes written to the allocated buffer.
69 * @param size Data size (in bytes).
71 * @retval Number of bytes written to tracing buffer.
80 * @param size Requested buffer size (in bytes).
88 * @brief Indicate number of bytes read from claimed buffer.
90 * @param size Number of bytes read from claimed buffer.
[all …]
/Zephyr-latest/soc/microchip/mec/
DKconfig92 bool "SPI flash size 256K Bytes"
94 The SPI flash size is 256K Bytes.
97 bool "SPI flash size 512K Bytes"
99 The SPI flash size is 512K Bytes.
102 bool "SPI flash size 1M Bytes"
104 The SPI flash size is 1M Bytes.
107 bool "SPI flash size 2M Bytes"
109 The SPI flash size is 2M Bytes.
112 bool "SPI flash size 4M Bytes"
114 The SPI flash size is 4M Bytes.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dead.h25 /** 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.
50 * - Randomizer is added in the @ref BT_EAD_RANDOMIZER_SIZE first bytes;
51 * - Encrypted payload is added ( @p payload_size bytes);
[all …]
/Zephyr-latest/tests/unit/winstream/
Dmain.c29 uint32_t bytes = sys_winstream_read(ws, &seq, &c, 1); in ZTEST() local
31 zassert_true(bytes == 1, ""); in ZTEST()
36 bytes = sys_winstream_read(ws, &seq, &c, 1); in ZTEST()
37 zassert_true(bytes == 0, ""); in ZTEST()
52 bytes = sys_winstream_read(ws, &seq, readback, sizeof(readback)); in ZTEST()
54 zassert_true(bytes == 0, ""); in ZTEST()
59 bytes = sys_winstream_read(ws, &seq, readback, sizeof(readback)); in ZTEST()
61 zassert_true(bytes == 0, ""); in ZTEST()
68 bytes = sys_winstream_read(ws, &seq, readback, sizeof(readback)); in ZTEST()
69 zassert_true(bytes == ws->len / 2, ""); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/mem_slab/mslab_stats/src/
Dmain.c55 "Expected %zu free bytes, not %zu\n", in ZTEST()
58 "Expected 0 allocated bytes, not %zu\n", in ZTEST()
61 "Expected 0 max allocated bytes, not %zu\n", in ZTEST()
79 "Expected %zu free bytes, not %zu\n", in ZTEST()
82 "Expected %zu allocated bytes, not %zu\n", in ZTEST()
85 "Expected %zu max allocated bytes, not %zu\n", in ZTEST()
97 "Expected %zu free bytes, not %zu\n", in ZTEST()
100 "Expected %zu allocated bytes, not %zu\n", in ZTEST()
103 "Expected %zu max allocated bytes, not %zu\n", in ZTEST()
115 "Expected %zu free bytes, not %zu\n", in ZTEST()
[all …]
/Zephyr-latest/tests/lib/mem_blocks_stats/src/
Dmain.c59 "Expected %zu free bytes, not %zu\n", in ZTEST()
62 "Expected 0 allocated bytes, not %zu\n", in ZTEST()
65 "Expected 0 max allocated bytes, not %zu\n", in ZTEST()
77 "Expected %zu free bytes, not %zu\n", in ZTEST()
80 "Expected %zu allocated bytes, not %zu\n", in ZTEST()
83 "Expected %zu max allocated bytes, not %zu\n", in ZTEST()
95 "Expected %zu free bytes, not %zu\n", in ZTEST()
98 "Expected %zu allocated bytes, not %zu\n", in ZTEST()
101 "Expected %zu max allocated bytes, not %zu\n", in ZTEST()
113 "Expected %zu free bytes, not %zu\n", in ZTEST()
[all …]
/Zephyr-latest/drivers/ipm/
DKconfig.imx28 bool "4 bytes"
31 and a maximum size of 4 bytes each.
34 bool "8 bytes"
37 and a maximum size of 8 bytes each.
40 bool "16 bytes"
43 and a maximum size of 16 bytes.
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dsmp_shell.h32 * @brief Attempt to process received bytes as part of an SMP frame.
34 * Called to scan buffer from the beginning and consume all bytes that are
38 * @param bytes Buffer with bytes to process
39 * @param size Number of bytes to process
41 * @return number of bytes consumed by the SMP
43 size_t smp_shell_rx_bytes(struct smp_shell_data *data, const uint8_t *bytes,
/Zephyr-latest/include/zephyr/mem_mgmt/
Dmem_attr_heap.h38 * Allocates a block of memory of the specified size in bytes and with a
43 * @param bytes requested size of the allocation in bytes.
48 void *mem_attr_heap_alloc(uint32_t attr, size_t bytes);
53 * Allocates a block of memory of the specified size in bytes and with a
55 * power of two alignment in bytes.
58 * @param align power of two alignment for the returned pointer in bytes.
59 * @param bytes requested size of the allocation in bytes.
64 void *mem_attr_heap_aligned_alloc(uint32_t attr, size_t align, size_t bytes);
/Zephyr-latest/include/zephyr/fs/
Dnvs.h44 * - high 2 bytes correspond to the sector
45 * - low 2 bytes are the offset in the sector
107 * @param len Number of bytes to be written
109 * @return Number of bytes written. On success, it will be equal to the number of bytes requested
131 * @param len Number of bytes to be read
133 * @return Number of bytes read. On success, it will be equal to the number of bytes requested
134 * to be read. When the return value is larger than the number of bytes requested to read this
135 * indicates not all bytes were read, and more data is available. On error, returns negative
146 * @param len Number of bytes to be read
149 * @return Number of bytes read. On success, it will be equal to the number of bytes requested
[all …]
/Zephyr-latest/include/zephyr/sys/
Dwinstream.h26 uint32_t len; /* Length of data[] in bytes */
56 /** @brief Write bytes to a sys_winstream
58 * This function writes the specified number of bytes into the stream.
61 * bytes passed beyond what can be stored in the buffer will be
66 * @param data Pointer to bytes to be written
67 * @param len Number of bytes to write
72 /** @brief Read bytes from a sys_winstream
74 * This function will read bytes from a sys_winstream into a specified
77 * The number of bytes read into the buffer will be returned, but note
81 * return_value", an underflow occurred and bytes were dropped).
[all …]
Dsys_heap.h25 * 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
28 * on blocks, they can be split and merged (in units of 8 bytes)
50 /* Note: the init_mem/bytes fields are for the static initializer to
89 * Set the statistic measuring the maximum number of allocated bytes to the
90 * current number of allocated bytes.
103 * @param bytes Size of region pointed to by @a mem
105 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes);
121 * @param bytes Number of bytes requested
124 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes);
[all …]
Dheap_listener.h62 * @note The number of bytes allocated may not match exactly
69 * @param bytes Size of allocated memory
72 void *mem, size_t bytes);
81 * @note The number of bytes freed may not match exactly to
88 * @param bytes Size of freed memory
91 void *mem, size_t bytes);
146 * @param bytes Size of allocated memory
148 void heap_listener_notify_alloc(uintptr_t heap_id, void *mem, size_t bytes);
158 * @param bytes Size of freed memory
160 void heap_listener_notify_free(uintptr_t heap_id, void *mem, size_t bytes);
[all …]
/Zephyr-latest/tests/subsys/ipc/ipc_sessions/src/
Ddata_queue.c17 void data_queue_init(struct data_queue *q, void *mem, size_t bytes) in data_queue_init() argument
19 k_heap_init(&q->h, mem, bytes); in data_queue_init()
23 int data_queue_put(struct data_queue *q, const void *data, size_t bytes, k_timeout_t timeout) in data_queue_put() argument
28 bytes + sizeof(struct data_queue_format), in data_queue_put()
34 buffer->size = bytes; in data_queue_put()
35 memcpy(buffer->data, data, bytes); in data_queue_put()
/Zephyr-latest/dts/bindings/display/
Drenesas,smartbond-display.yaml26 - "prefetch-44-bytes"
27 - "prefetch-84-bytes"
28 - "prefetch-116-bytes"
29 - "prefetch-108-bytes"
31 Host controller will wait for at least the specified number of bytes before triggering
/Zephyr-latest/drivers/crypto/
DKconfig.it8xxx212 It requires 256 + 256 bytes in the RAM's first 4k-bytes to calculate
23 It requires 1024 + 256 bytes in the RAM's first 4k-bytes to calculate
/Zephyr-latest/soc/nuvoton/npcx/
DKconfig145 bool "SPI flash size 0.5M or 1M Bytes"
147 The SPI flash size is 0.5M or 1M Bytes.
150 bool "SPI flash size 2M Bytes"
152 The SPI flash size is 2M Bytes.
155 bool "SPI flash size 4M Bytes"
157 The SPI flash size is 4M Bytes.
160 bool "SPI flash size 8M Bytes"
162 The SPI flash size is 8M Bytes.
165 bool "SPI flash size 16M Bytes"
167 The SPI flash size is 16M Bytes.

12345678910>>...71