Home
last modified time | relevance | path

Searched full:capacity (Results 1 – 25 of 113) sorted by relevance

12345

/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()
199 /* Request exceeding capacity*/ in ZTEST()
216 uint32_t capacity = spsc_pbuf_capacity(pb); in ZTEST() local
220 len1 = capacity - 10 - sizeof(uint16_t); in ZTEST()
[all …]
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.h54 /* Remaining capacity as a %age */
58 /* Full charge capacity in 5/Rsense uA */
60 /* Remaining capacity in 5/Rsense uA */
68 /* Design capacity in 5/Rsense uA */
76 /* The design capacity (aka label capacity) of the cell in mAh */
DKconfig14 capacity in mA.
/Zephyr-latest/drivers/sensor/maxim/max17262/
Dmax17262.h57 /* Remaining capacity as a %age */
61 /* Full charge capacity in mAh */
63 /* Remaining capacity in mAh */
71 /* Battery capacity in mAh */
73 /* Spent capacity in mAh */
87 /* Battery capacity in mAh */
DKconfig13 time to full/empty and remaining capacity in mAh.
/Zephyr-latest/samples/sensor/bq274xx/
DREADME.rst18 - Full Charge Capacity in mAh
19 - Remaining Charge Capacity in mAh
20 - Nominal Available Capacity in mAh
21 - Full Available Capacity in mAh
/Zephyr-latest/dts/bindings/sensor/
Dmaxim,max17055.yaml14 design-capacity:
17 description: The design capacity (aka label capacity) of the cell in mAh
Dti,bq274xx.yaml19 design-capacity:
22 description: Battery Design Capacity in mAh
36 gauge typically reports 0% capacity. In mV.
Dmaxim,max17262.yaml32 description: Battery Capacity in mAh (default 3000)
/Zephyr-latest/dts/bindings/battery/
Dbattery.yaml25 ocv-capacity-table-0:
29 up battery capacity according to current OCV value. The OCV unit is
37 description: battery design capacity
/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/sensor/bq274xx/src/
Dmain.c155 printk("Failed to fetch Full Charge Capacity\n"); in do_main()
163 printk("Unable to get full charge capacity\n"); in do_main()
167 printk("Full charge capacity: %d.%06dAh\n", in do_main()
173 printk("Unable to fetch Remaining Charge Capacity\n"); in do_main()
181 printk("Unable to get remaining charge capacity\n"); in do_main()
185 printk("Remaining charge capacity: %d.%06dAh\n", in do_main()
/Zephyr-latest/subsys/secure_storage/include/psa/
Dprotected_storage.h150 * Upon success, the capacity of the storage for `uid` will be `capacity`, and the size will be 0.
156 * @param capacity The capacity, in bytes, to allocate.
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()
188 * it up to the capacity of the entry specified in @ref psa_ps_create(), but cannot create gaps.
194 * + `data_length` can be at most the capacity of the entry.
Dstorage_common.h39 /** The allocated capacity of the storage associated with an entry. */
40 size_t capacity; member
/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/psa/its/src/
Dmain.c83 if (p_info.capacity != SAMPLE_DATA_SIZE in read_info()
86 LOG_ERR("Entry metadata unexpected. (capacity:%zu size:%zu flags:0x%x)", in read_info()
87 p_info.capacity, p_info.size, p_info.flags); in read_info()
/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/sensor/sbs_gauge/
Dsbs_gauge.c175 LOG_ERR("Failed to read full charge capacity"); in sbs_gauge_sample_fetch()
184 LOG_ERR("Failed to read remaining charge capacity"); in sbs_gauge_sample_fetch()
193 LOG_ERR("Failed to read nominal available capacity"); in sbs_gauge_sample_fetch()
202 LOG_ERR("Failed to read full available capacity"); in sbs_gauge_sample_fetch()
/Zephyr-latest/dts/bindings/fuel-gauge/
Dzephyr,fuel-gauge-composite.yaml32 ocv-capacity-table-0:
/Zephyr-latest/include/zephyr/drivers/
Dfuel_gauge.h53 /** Full Charge Capacity in uAh (might change in some implementations to determine wear) */
57 /** Remaining capacity in uAh */
65 /** Absolute state of charge (percent, 0-100) - expressed as % of design capacity */
67 /** Relative state of charge (percent, 0-100) - expressed as % of full charge capacity */
81 /** Design Capacity (mAh or 10mWh) */
93 /** Remaining Capacity Alarm (mAh or 10mWh) */
/Zephyr-latest/samples/tfm_integration/psa_protected_storage/src/
Dmain.c44 printk("- Capacity: 0x%2x\n", uid1_info.capacity); in main()
/Zephyr-latest/samples/tfm_integration/psa_protected_storage/
Dsample.yaml24 - "- Capacity: 0x[0-9a-f]*"
/Zephyr-latest/subsys/tracing/include/
Dtracing_buffer.h37 * @brief Get tracing buffer capacity (max size).
39 * @return Tracing buffer capacity (in bytes).
/Zephyr-latest/drivers/flash/
DKconfig.at4516 JEDEC ID, chip capacity, block and page size etc. configured
/Zephyr-latest/drivers/sdhc/
DKconfig5 bool "Secure Digital High Capacity (SDHC) drivers"

12345