/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 34 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/ |
D | ieee802154_6lo_fragment.c | 124 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/ |
D | dma_nxp_sdma.c | 37 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/ |
D | main.c | 83 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/ |
D | protected_storage.h | 172 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()
|
D | storage_common.h | 40 size_t capacity; member
|
/Zephyr-latest/subsys/usb/device/class/ |
D | msc.c | 428 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/ |
D | Kconfig | 13 time to full/empty and remaining capacity in mAh.
|
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/ |
D | ps.h | 32 psa_status_t secure_storage_ps_create(psa_storage_uid_t uid, size_t capacity,
|
/Zephyr-latest/drivers/sensor/maxim/max17055/ |
D | Kconfig | 14 capacity in mA.
|
/Zephyr-latest/drivers/console/ |
D | uart_mcumgr.c | 71 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/ |
D | REAME.md | 66 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/ |
D | main.c | 44 printk("- Capacity: 0x%2x\n", uid1_info.capacity); in main()
|
/Zephyr-latest/tests/drivers/build_all/fuel_gauge/ |
D | app.overlay | 61 ocv-capacity-table-0 = <0>;
|
/Zephyr-latest/drivers/flash/ |
D | Kconfig.at45 | 16 JEDEC ID, chip capacity, block and page size etc. configured
|
/Zephyr-latest/tests/subsys/logging/log_api/src/ |
D | main.c | 656 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/ |
D | README.rst | 20 provides best performance for batteries with 100mAhr to 6Ahr capacity.
|
/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/ |
D | main.c | 44 zassert_equal(info.capacity, i); in ZTEST()
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | adc.dtsi | 45 ocv-capacity-table-0 = <BATTERY_OCV_CURVE_LITHIUM_ION_POLYMER_DEFAULT>;
|
/Zephyr-latest/boards/innblue/innblue22/ |
D | innblue22_common.dtsi | 118 design-capacity = <1800>;
|
/Zephyr-latest/tests/lib/ringbuffer/src/ |
D | main.c | 656 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/ |
D | README.rst | 52 an estimate of remaining capacity. The correct curve depends on the
|
/Zephyr-latest/drivers/can/ |
D | can_mcp251xfd.c | 778 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/ |
D | implementation.c | 199 p_info->capacity = p_info->size; in secure_storage_its_get_info()
|
/Zephyr-latest/samples/tfm_integration/tfm_psa_test/ |
D | README.rst | 100 TEST: 417 | DESCRIPTION: Storage assest capacity modification check
|