Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/tests/lib/spsc_pbuf/src/
Dmain.c34 size_t capacity = (use_cache(flags) ? in test_spsc_pbuf_flags() local
42 zassert_equal(spsc_pbuf_capacity(ib), capacity); in test_spsc_pbuf_flags()
68 int repeat = capacity / (sizeof(message) + sizeof(uint32_t)); in test_spsc_pbuf_flags()
184 uint32_t capacity = spsc_pbuf_capacity(pb); in ZTEST() local
192 PACKET_WRITE(pb, SPSC_PBUF_MAX_LEN, 0, 0, capacity - sizeof(uint32_t)); in ZTEST()
194 len1 = capacity - 8 - 2 * sizeof(uint32_t); in ZTEST()
198 len2 = capacity - TLEN(len1) - HDR_LEN; in ZTEST()
216 uint32_t capacity = spsc_pbuf_capacity(pb); in ZTEST() local
220 len1 = capacity - 10 - sizeof(uint16_t); in ZTEST()
236 uint32_t capacity = spsc_pbuf_capacity(pb); in ZTEST() local
[all …]
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.c124 uint8_t capacity = frag->size - frag->len; in calc_payload_capacity() local
126 return (capacity & 0xF8); in calc_payload_capacity()
130 uint8_t capacity) in copy_data() argument
133 uint8_t move = MIN(remainder, capacity); in copy_data()
183 uint8_t capacity; in ieee802154_6lo_fragment() local
187 capacity = calc_payload_capacity(frame_buf); in ieee802154_6lo_fragment()
188 ctx->processed += capacity; in ieee802154_6lo_fragment()
195 capacity -= ctx->hdr_diff; in ieee802154_6lo_fragment()
198 capacity += 1U; in ieee802154_6lo_fragment()
202 while (capacity && ctx->buf) { in ieee802154_6lo_fragment()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_nxp_sdma.c37 uint32_t capacity; /* total transfer capacity for this channel */ member
62 chan_data->stat.pending_length = chan_data->capacity; in dma_nxp_sdma_init_stat()
68 chan_data->stat.free = chan_data->capacity; in dma_nxp_sdma_init_stat()
83 chan_data->stat.read_position %= chan_data->capacity; in dma_nxp_sdma_consume()
89 chan_data->stat.free = chan_data->capacity - in dma_nxp_sdma_consume()
92 chan_data->stat.pending_length = chan_data->capacity - chan_data->stat.free; in dma_nxp_sdma_consume()
103 chan_data->stat.write_position %= chan_data->capacity; in dma_nxp_sdma_produce()
109 chan_data->stat.pending_length = chan_data->capacity - in dma_nxp_sdma_produce()
112 chan_data->stat.free = chan_data->capacity - chan_data->stat.pending_length; in dma_nxp_sdma_produce()
192 xfer_size = chan_data->capacity / chan_data->bd_count; in dma_nxp_sdma_callback()
[all …]
/Zephyr-latest/samples/psa/its/src/
Dmain.c83 if (p_info.capacity != SAMPLE_DATA_SIZE in read_info()
87 p_info.capacity, p_info.size, p_info.flags); in read_info()
/Zephyr-latest/subsys/secure_storage/include/psa/
Dprotected_storage.h172 psa_status_t psa_ps_create(psa_storage_uid_t uid, size_t capacity, in psa_ps_create() argument
176 return secure_storage_ps_create(uid, capacity, create_flags); in psa_ps_create()
Dstorage_common.h40 size_t capacity; member
/Zephyr-latest/subsys/usb/device/class/
Dmsc.c428 uint8_t capacity[] = { 0x00, 0x00, 0x00, 0x08, in readFormatCapacity() local
440 return write(capacity, sizeof(capacity)); in readFormatCapacity()
445 static uint8_t capacity[8]; in readCapacity() local
447 sys_put_be32(block_count - 1, &capacity[0]); in readCapacity()
448 sys_put_be32(BLOCK_SIZE, &capacity[4]); in readCapacity()
450 return write(capacity, sizeof(capacity)); in readCapacity()
/Zephyr-latest/drivers/sensor/maxim/max17262/
DKconfig13 time to full/empty and remaining capacity in mAh.
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/
Dps.h32 psa_status_t secure_storage_ps_create(psa_storage_uid_t uid, size_t capacity,
/Zephyr-latest/drivers/sensor/maxim/max17055/
DKconfig14 capacity in mA.
/Zephyr-latest/drivers/console/
Duart_mcumgr.c71 static int uart_mcumgr_read_chunk(void *buf, int capacity) in uart_mcumgr_read_chunk() argument
77 return uart_fifo_read(uart_mcumgr_dev, buf, capacity); in uart_mcumgr_read_chunk()
/Zephyr-latest/tests/subsys/logging/log_blocking/
DREAME.md66 cause the core log buffer to approach 100% capacity. Since the output log rate
67 is still only matched with the input log rate, the core log buffer capacity
76 the core log buffer will approach 100% capacity and, eventually, stall the
84 capacity. Once the core log buffer is full, the log processing thread is
/Zephyr-latest/samples/tfm_integration/psa_protected_storage/src/
Dmain.c44 printk("- Capacity: 0x%2x\n", uid1_info.capacity); in main()
/Zephyr-latest/tests/drivers/build_all/fuel_gauge/
Dapp.overlay61 ocv-capacity-table-0 = <0>;
/Zephyr-latest/drivers/flash/
DKconfig.at4516 JEDEC ID, chip capacity, block and page size etc. configured
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmain.c656 uint32_t capacity = get_short_msg_capacity(); in ZTEST() local
658 log_n_messages(capacity, 0); in ZTEST()
661 log_n_messages(capacity + 1, 1); in ZTEST()
662 log_n_messages(capacity + 2, 2); in ZTEST()
/Zephyr-latest/samples/sensor/max17262/
DREADME.rst20 provides best performance for batteries with 100mAhr to 6Ahr capacity.
/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/
Dmain.c44 zassert_equal(info.capacity, i); in ZTEST()
/Zephyr-latest/tests/drivers/build_all/sensor/
Dadc.dtsi45 ocv-capacity-table-0 = <BATTERY_OCV_CURVE_LITHIUM_ION_POLYMER_DEFAULT>;
/Zephyr-latest/boards/innblue/innblue22/
Dinnblue22_common.dtsi118 design-capacity = <1800>;
/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c656 uint32_t capacity; in ZTEST() local
660 capacity = ring_buf_capacity_get(&ringbuf_raw); in ZTEST()
661 zassert_equal(RINGBUFFER_SIZE, capacity, in ZTEST()
/Zephyr-latest/samples/boards/nordic/battery/
DREADME.rst52 an estimate of remaining capacity. The correct curve depends on the
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c778 fifo_head_index = fifo->capacity - 1; in mcp251xfd_handle_fifo_read()
785 fetch_total = fifo->capacity - 1 - fifo_tail_index + 1; in mcp251xfd_handle_fifo_read()
804 len = fifo->capacity - 1 - fifo_tail_index + 1; in mcp251xfd_handle_fifo_read()
823 fifo_tail_index = (fifo_tail_index + len) % fifo->capacity; in mcp251xfd_handle_fifo_read()
1760 .capacity = MCP251XFD_RX_FIFO_ITEMS, \
1765 .capacity = MCP251XFD_TEF_FIFO_ITEMS, \
/Zephyr-latest/subsys/secure_storage/src/its/
Dimplementation.c199 p_info->capacity = p_info->size; in secure_storage_its_get_info()
/Zephyr-latest/samples/tfm_integration/tfm_psa_test/
DREADME.rst100 TEST: 417 | DESCRIPTION: Storage assest capacity modification check

12