Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 2098) sorted by relevance

12345678910>>...84

/Zephyr-Core-3.7.0/lib/heap/
Dheap_validate.c23 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds() argument
25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds()
26 VALIDATE(c < h->end_chunk); in in_bounds()
27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds()
31 static bool valid_chunk(struct z_heap *h, chunkid_t c) in valid_chunk() argument
33 VALIDATE(chunk_size(h, c) > 0); in valid_chunk()
34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk()
35 VALIDATE(in_bounds(h, c)); in valid_chunk()
36 VALIDATE(right_chunk(h, left_chunk(h, c)) == c); in valid_chunk()
37 VALIDATE(left_chunk(h, right_chunk(h, c)) == c); in valid_chunk()
[all …]
Dheap.c17 static inline void increase_allocated_bytes(struct z_heap *h, size_t num_bytes) in increase_allocated_bytes() argument
19 h->allocated_bytes += num_bytes; in increase_allocated_bytes()
20 h->max_allocated_bytes = MAX(h->max_allocated_bytes, h->allocated_bytes); in increase_allocated_bytes()
24 static void *chunk_mem(struct z_heap *h, chunkid_t c) in chunk_mem() argument
26 chunk_unit_t *buf = chunk_buf(h); in chunk_mem()
27 uint8_t *ret = ((uint8_t *)&buf[c]) + chunk_header_bytes(h); in chunk_mem()
29 CHECK(!(((uintptr_t)ret) & (big_heap(h) ? 7 : 3))); in chunk_mem()
34 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx() argument
36 struct z_heap_bucket *b = &h->buckets[bidx]; in free_list_remove_bidx()
38 CHECK(!chunk_used(h, c)); in free_list_remove_bidx()
[all …]
Dheap.h96 static inline bool big_heap(struct z_heap *h) in big_heap() argument
98 return big_heap_chunks(h->end_chunk); in big_heap()
101 static inline chunk_unit_t *chunk_buf(struct z_heap *h) in chunk_buf() argument
104 return (chunk_unit_t *)h; in chunk_buf()
107 static inline chunkid_t chunk_field(struct z_heap *h, chunkid_t c, in chunk_field() argument
110 chunk_unit_t *buf = chunk_buf(h); in chunk_field()
113 if (big_heap(h)) { in chunk_field()
120 static inline void chunk_set(struct z_heap *h, chunkid_t c, in chunk_set() argument
123 CHECK(c <= h->end_chunk); in chunk_set()
125 chunk_unit_t *buf = chunk_buf(h); in chunk_set()
[all …]
Dheap_info.c14 static void heap_print_info(struct z_heap *h, bool dump_chunks) in heap_print_info() argument
16 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info()
20 chunk_buf(h), h->end_chunk, nb_buckets); in heap_print_info()
26 chunkid_t first = h->buckets[i].next; in heap_print_info()
35 largest = MAX(largest, chunk_size(h, curr)); in heap_print_info()
36 curr = next_free_chunk(h, curr); in heap_print_info()
41 i, (1 << i) - 1 + min_chunk_size(h), count, in heap_print_info()
42 largest, chunksz_to_bytes(h, largest)); in heap_print_info()
48 for (chunkid_t c = 0; ; c = right_chunk(h, c)) { in heap_print_info()
51 chunk_used(h, c) ? '*' in heap_print_info()
[all …]
Dshared_multi_heap.c23 struct sys_heap *h; in smh_choice() local
37 h = &smh_data[attr].heap_pool[hdx]; in smh_choice()
39 if (h->heap == NULL) { in smh_choice()
43 block = sys_heap_aligned_alloc(h, align, size); in smh_choice()
55 struct sys_heap *h; in shared_multi_heap_add() local
70 h = &smh_data[attr].heap_pool[slot]; in shared_multi_heap_add()
72 sys_heap_init(h, (void *) region->addr, region->size); in shared_multi_heap_add()
73 sys_multi_heap_add_heap(&shared_multi_heap, h, user_data); in shared_multi_heap_add()
/Zephyr-Core-3.7.0/lib/hash/
Dhash_func32_murmur3.c23 uint32_t h = 0; in sys_hash32_murmur3() local
28 h ^= murmur_32_scramble(k); in sys_hash32_murmur3()
29 h = (h << 13) | (h >> 19); in sys_hash32_murmur3()
30 h = h * 5 + 0xe6546b64; in sys_hash32_murmur3()
38 h ^= murmur_32_scramble(k); in sys_hash32_murmur3()
40 h ^= len; in sys_hash32_murmur3()
41 h ^= h >> 16; in sys_hash32_murmur3()
42 h *= 0x85ebca6b; in sys_hash32_murmur3()
43 h ^= h >> 13; in sys_hash32_murmur3()
44 h *= 0xc2b2ae35; in sys_hash32_murmur3()
[all …]
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/
Dhmac.c45 static uint32_t do_hmac_test(TCHmacState_t h, uint32_t testnum, const uint8_t *data, in do_hmac_test() argument
52 (void)tc_hmac_init(h); in do_hmac_test()
53 (void)tc_hmac_update(h, data, datalen); in do_hmac_test()
54 (void)tc_hmac_final(digest, TC_SHA256_DIGEST_SIZE, h); in do_hmac_test()
85 struct tc_hmac_state_struct h; in ZTEST() local
87 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
88 (void)tc_hmac_set_key(&h, key, sizeof(key)); in ZTEST()
89 result = do_hmac_test(&h, 1, data, sizeof(data), in ZTEST()
118 struct tc_hmac_state_struct h; in ZTEST() local
120 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt5xx/f1/include/
D_soc_inthandlers.h11 #error core-isa.h interrupt level does not match dispatcher!
14 #error core-isa.h interrupt level does not match dispatcher!
17 #error core-isa.h interrupt level does not match dispatcher!
20 #error core-isa.h interrupt level does not match dispatcher!
23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/tests/lib/heap_align/src/
Dmain.c23 static void check_heap_align(struct sys_heap *h, in check_heap_align() argument
28 p = sys_heap_alloc(h, prefix); in check_heap_align()
31 q = sys_heap_aligned_alloc(h, align, size); in check_heap_align()
35 r = sys_heap_aligned_alloc(h, align, size); in check_heap_align()
42 s = sys_heap_alloc(h, (heap_end - (uint8_t *)r) - size - 8); in check_heap_align()
46 sys_heap_free(h, p); in check_heap_align()
47 sys_heap_free(h, q); in check_heap_align()
48 sys_heap_free(h, r); in check_heap_align()
49 sys_heap_free(h, s); in check_heap_align()
52 zassert_true(sys_heap_validate(h), "heap invalid"); in check_heap_align()
[all …]
/Zephyr-Core-3.7.0/soc/nxp/imx/imx8/adsp/
D_soc_inthandlers.h23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
41 #error core-isa.h interrupt level does not match dispatcher!
44 #error core-isa.h interrupt level does not match dispatcher!
47 #error core-isa.h interrupt level does not match dispatcher!
50 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/soc/nxp/imx/imx8m/adsp/
D_soc_inthandlers.h23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
41 #error core-isa.h interrupt level does not match dispatcher!
44 #error core-isa.h interrupt level does not match dispatcher!
47 #error core-isa.h interrupt level does not match dispatcher!
50 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/soc/nxp/imx/imx8x/adsp/
D_soc_inthandlers.h23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
41 #error core-isa.h interrupt level does not match dispatcher!
44 #error core-isa.h interrupt level does not match dispatcher!
47 #error core-isa.h interrupt level does not match dispatcher!
50 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/soc/espressif/common/include/
D_soc_inthandlers.h24 #error core-isa.h interrupt level does not match dispatcher!
27 #error core-isa.h interrupt level does not match dispatcher!
30 #error core-isa.h interrupt level does not match dispatcher!
33 #error core-isa.h interrupt level does not match dispatcher!
36 #error core-isa.h interrupt level does not match dispatcher!
39 #error core-isa.h interrupt level does not match dispatcher!
42 #error core-isa.h interrupt level does not match dispatcher!
45 #error core-isa.h interrupt level does not match dispatcher!
48 #error core-isa.h interrupt level does not match dispatcher!
51 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/soc/nxp/imx/imx8ulp/adsp/
D_soc_inthandlers.h23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
41 #error core-isa.h interrupt level does not match dispatcher!
44 #error core-isa.h interrupt level does not match dispatcher!
47 #error core-isa.h interrupt level does not match dispatcher!
50 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/soc/cdns/xtensa_sample_controller/include/
D_soc_inthandlers.h17 #error core-isa.h interrupt level does not match dispatcher!
20 #error core-isa.h interrupt level does not match dispatcher!
23 #error core-isa.h interrupt level does not match dispatcher!
26 #error core-isa.h interrupt level does not match dispatcher!
29 #error core-isa.h interrupt level does not match dispatcher!
32 #error core-isa.h interrupt level does not match dispatcher!
35 #error core-isa.h interrupt level does not match dispatcher!
38 #error core-isa.h interrupt level does not match dispatcher!
41 #error core-isa.h interrupt level does not match dispatcher!
44 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/dts/arm/nuvoton/npcx/
Dnpcx-espi-vws-map.dtsi7 #include <zephyr/dt-bindings/espi/npcx_espi.h>
16 * | 02h[S] | VWEVMS0 | Reserved | SLP_S5# | SLP_S4# | SLP_S3# |
17 * | 03h[S] | VWEVMS1 | Reserved | OOB_RST_WARN | PLTRST# | SUS_STAT# |
18 * | 07h[S] | VWEVMS2 | Reserved | Reserved | Reserved | HOS_RST_WARN|
19 * | 41h[P] | VWEVMS3 | SLP_A# | Reserved | SUS_PDNACK| SUS_WARN# |
20 * | 42h[P] | VWEVMS4 | Reserved | Reserved | SLP_WLAN# | SLP_LAN# |
24 * | 04h[S] | VWEVSM0 | PME# | WAKE# | Reserved | OOB_RST_ACK |
25 * | 05h[S] | VWEVSM1 | SLV_BOOT_STS | ERR_NONFATAL | ERR_FATAL | SLV_BT_DONE |
26 * | 06h[S] | VWEVSM2 | HOST_RST_ACK | Reserved | SMI# | SCI# |
27 * | 40h[P] | VWEVSM3 | Reserved | Reserved | Reserved | SUS_ACK# |
[all …]
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/cavs/
D_soc_inthandlers.h22 #error core-isa.h interrupt level does not match dispatcher!
25 #error core-isa.h interrupt level does not match dispatcher!
28 #error core-isa.h interrupt level does not match dispatcher!
31 #error core-isa.h interrupt level does not match dispatcher!
34 #error core-isa.h interrupt level does not match dispatcher!
37 #error core-isa.h interrupt level does not match dispatcher!
40 #error core-isa.h interrupt level does not match dispatcher!
43 #error core-isa.h interrupt level does not match dispatcher!
46 #error core-isa.h interrupt level does not match dispatcher!
49 #error core-isa.h interrupt level does not match dispatcher!
[all …]
/Zephyr-Core-3.7.0/arch/x86/zefi/
Dzefi.py45 h = seg.header
46 if h.p_type != "PT_LOAD":
49 assert h.p_memsz >= h.p_filesz
50 assert len(seg.data()) == h.p_filesz
52 if h.p_filesz > 0:
55 % (len(sd), h.p_vaddr, len(data_blob)))
56 data_segs.append((h.p_vaddr, len(sd), len(data_blob)))
59 if h.p_memsz > h.p_filesz:
60 bytesz = h.p_memsz - h.p_filesz
61 addr = h.p_vaddr + h.p_filesz
/Zephyr-Core-3.7.0/boards/enjoydigital/litex_vexriscv/doc/img/
Dsymbiflow.svg1h-14.6v-28c0-2.7-.7-4.9-2.1-6.4-1.4-1.5-3-2.3-4.9-2.3-1.9 0-3.5.8-4.9 2.3-1.4 1.5-2.1 3.6-2.1 6.4v…
/Zephyr-Core-3.7.0/dts/common/nordic/
Dnrf_common.dtsi7 #include <zephyr/dt-bindings/adc/adc.h>
8 #include <zephyr/dt-bindings/adc/nrf-adc.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
15 #include <freq.h>
/Zephyr-Core-3.7.0/samples/modules/chre/
DREADME.rst5 `chre_api/chre/nanoapp.h`_:
15 #. *Audio* - a framework allowing nanoapps to get audio events. See `pal/audio.h`_ for API details.
17 `pal/gnss.h`_ for API details.
19 data/bias events. See `pal/sensor.h`_ for API details.
21 and some basic memory allocation/deallocation. See `pal/system.h`_ for API details.
22 #. *WiFi* - a framework allowing nanoapps to interact with the on board WiFi. See `pal/wifi.h`_ for
25 current capabilities and info. See `pal/wwan.h`_ for API details.
52 #. Add an implementation of the `pal/sensor.h`_ and `pal/system.h`_ to Zephyr. These will be
63 …api/chre/nanoapp.h`: https://cs.android.com/android/platform/superproject/+/master:system/chre/chr…
64 .. _`pal/audio.h`: https://cs.android.com/android/platform/superproject/+/master:system/chre/pal/in…
[all …]
/Zephyr-Core-3.7.0/dts/arm/microchip/
Dmec172xnsz.dtsi9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
15 #include <freq.h>
16 #include <mem.h>
/Zephyr-Core-3.7.0/subsys/mem_mgmt/
Dmem_attr_heap.c41 struct ma_heap *h; in mah_choice() local
43 h = &mah_data.ma_heaps[hdx]; in mah_choice()
45 if (h->attr != attr) { in mah_choice()
49 block = sys_heap_aligned_alloc(&h->heap, align, size); in mah_choice()
87 struct sys_heap *h; in ma_heap_add() local
95 h = &mh->heap; in ma_heap_add()
99 sys_heap_init(h, (void *) region->dt_addr, region->dt_size); in ma_heap_add()
100 sys_multi_heap_add_heap(&mah_data.multi_heap, h, (void *) region); in ma_heap_add()
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/ace/
D_soc_inthandlers.h21 #error core-isa.h interrupt level does not match dispatcher!
24 #error core-isa.h interrupt level does not match dispatcher!
27 #error core-isa.h interrupt level does not match dispatcher!
30 #error core-isa.h interrupt level does not match dispatcher!
33 #error core-isa.h interrupt level does not match dispatcher!
36 #error core-isa.h interrupt level does not match dispatcher!
39 #error core-isa.h interrupt level does not match dispatcher!
42 #error core-isa.h interrupt level does not match dispatcher!
45 #error core-isa.h interrupt level does not match dispatcher!
/Zephyr-Core-3.7.0/tests/drivers/syscon/
Dlinker_arm64_reserved.ld6 #include <zephyr/linker/sections.h>
7 #include <zephyr/devicetree.h>
9 #include <zephyr/linker/linker-defs.h>
10 #include <zephyr/linker/linker-tool.h>

12345678910>>...84