Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 243) sorted by relevance

12345678910

/Zephyr-latest/lib/hash/
Dhash_func32_murmur3.c10 static inline uint32_t murmur_32_scramble(uint32_t k) in murmur_32_scramble() argument
12 k *= 0xcc9e2d51; in murmur_32_scramble()
13 k = (k << 15) | (k >> 17); in murmur_32_scramble()
14 k *= 0x1b873593; in murmur_32_scramble()
16 return k; in murmur_32_scramble()
21 uint32_t k; in sys_hash32_murmur3() local
27 k = *(const uint32_t *)str; in sys_hash32_murmur3()
28 h ^= murmur_32_scramble(k); in sys_hash32_murmur3()
33 for (k = 0; n != 0; --n, ++str) { in sys_hash32_murmur3()
34 k <<= 8; in sys_hash32_murmur3()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dconfig_parser.py158 for k, v in self.common.items():
159 if k == "extra_args":
161 extracted_common, d[k] = extract_fields_from_arg_list(
166 d[k] = copy.copy(v)
168 for k, v in self.scenarios[name].items():
169 if k == "extra_args":
174 if k in d:
175 if k == "filter":
176 d[k] = f"({d[k]}) and ({v})"
177 elif k not in ("extra_conf_files", "extra_overlay_confs",
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/util/include/mgmt/mcumgr/util/
Dzcbor_bulk.h35 #define ZCBOR_MAP_DECODE_KEY_DECODER(k, dec, vp) \ argument
38 .value = k, \
39 .len = sizeof(k) - 1, \
62 #define ZCBOR_MAP_DECODE_KEY_VAL(k, dec, vp) \ argument
63 ZCBOR_MAP_DECODE_KEY_DECODER(STRINGIFY(k), dec, vp)
/Zephyr-latest/samples/boards/espressif/flash_encryption/src/
Dmain.c36 for (int k = 0; k < 32; k++) { in main() local
37 buffer[k] = k; in main()
/Zephyr-latest/samples/boards/espressif/flash_memory_mapped/src/
Dmain.c44 for (int k = 0; k < 32; k++) { in main() local
45 buffer[k] = k; in main()
/Zephyr-latest/boards/toradex/colibri_imx7d/
Dcolibri_imx7d-pinctrl.dtsi15 bias-pull-up-value = "100k";
27 bias-pull-up-value = "100k";
39 bias-pull-up-value = "100k";
51 bias-pull-up-value = "100k";
63 bias-pull-up-value = "100k";
74 bias-pull-up-value = "100k";
85 bias-pull-up-value = "100k";
96 bias-pull-up-value = "100k";
107 bias-pull-up-value = "100k";
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dqsort.c18 #define parent(k) (((k) - 1) >> 1) argument
24 #define left(k) (((k) << 1) + 1) argument
30 #define right(k) (left(k) + 1) argument
32 #define A(k) ((uint8_t *)base + size * (k)) argument
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_parse_pct/src/
Dmain.c96 for (uint16_t k = 0; k < ARRAY_SIZE(test_vector); k++) { in ZTEST() local
97 iq = bt_le_cs_parse_pct(test_vector[k].input); in ZTEST()
99 zassert_equal(iq.i, test_vector[k].output.i, in ZTEST()
100 "Failed for k = %u, expected %d, not %d", k, test_vector[k].output.i, in ZTEST()
102 zassert_equal(iq.q, test_vector[k].output.q, in ZTEST()
103 "Failed for k = %u, expected %d, not %d", k, test_vector[k].output.q, in ZTEST()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/san/ubsan/src/
Dmain.c23 int k = INT_MAX; in ZTEST() local
25 k += 256; in ZTEST()
26 printf("num is: %d\n", k); in ZTEST()
/Zephyr-latest/boards/technexion/pico_pi/
Dpico_pi-pinctrl.dtsi17 bias-pull-up-value = "100k";
29 bias-pull-up-value = "100k";
41 bias-pull-up-value = "100k";
53 bias-pull-up-value = "100k";
66 bias-pull-up-value = "100k";
79 bias-pull-up-value = "100k";
92 bias-pull-up-value = "100k";
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation.py36 for k in range(denominator):
38 k][j] = (data[molecule * i + k][j] * (denominator - k) +
39 data[molecule * i + k + 1][j] * k) / denominator
/Zephyr-latest/boards/element14/warp7/
Dwarp7-pinctrl.dtsi17 bias-pull-up-value = "100k";
29 bias-pull-up-value = "100k";
41 bias-pull-up-value = "100k";
54 bias-pull-up-value = "100k";
67 bias-pull-up-value = "100k";
80 bias-pull-up-value = "100k";
/Zephyr-latest/lib/crc/
Dcrc4_sw.c13 size_t i, j, k; in crc4() local
19 for (k = 0; k < 4; k++) { in crc4()
/Zephyr-latest/include/zephyr/
Dspinlock.h185 k_spinlock_key_t k; in k_spin_lock() local
191 k.key = arch_irq_lock(); in k_spin_lock()
213 return k; in k_spin_lock()
230 static ALWAYS_INLINE int k_spin_trylock(struct k_spinlock *l, k_spinlock_key_t *k) in k_spin_trylock() argument
268 k->key = key; in k_spin_trylock()
375 static ALWAYS_INLINE void z_spin_onexit(__maybe_unused k_spinlock_key_t *k) in z_spin_onexit() argument
377 __ASSERT(k->key, "K_SPINLOCK exited with goto, break or return, " in z_spin_onexit()
/Zephyr-latest/subsys/net/lib/trickle/
Dtrickle.c29 return trickle->k == NET_TRICKLE_INFINITE_REDUNDANCY; in is_suppression_disabled()
35 (trickle->c < trickle->k); in is_tx_allowed()
112 is_tx_allowed(trickle), trickle->c, trickle->k); in interval_timeout()
162 uint8_t k) in net_trickle_create() argument
164 if (!(trickle && Imax > 0 && k > 0 && !CHECK_IMIN(Imin))) { in net_trickle_create()
173 trickle->k = k; in net_trickle_create()
180 trickle->Imin, trickle->Imax, trickle->k, in net_trickle_create()
/Zephyr-latest/scripts/west_commands/runners/
Duf2.py64 k, _, val = line.partition(':')
65 return k.strip(), val.strip()
67 return {k: v for k, v in (split_uf2_info(line) for line in lines) if k and v}
/Zephyr-latest/soc/xlnx/zynq7000/xc7zxxx/
DKconfig.soc21 28k logic cells, 2.1Mb block RAM, 800 DSP slices, up to 100 I/O pins.
28 74k logic cells, 3.3Mb block RAM, 160 DSP slices, up to 150 I/O pins,
36 85k logic cells, 4.9Mb block RAM, 220 DSP slices, up to 200 I/O pins.
43 125k logic cells, 9.3Mb block RAM, 400 DSP slices, up to 250 I/O pins,
51 275k logic cells, 17.6Mb block RAM, 900 DSP slices, up to 362 I/O pins,
59 350k logic cells, 19.1Mb block RAM, 900 DSP slices, up to 362 I/O pins,
67 444k logic cells, 26.5Mb block RAM, 2020 DSP slices, up to 400 I/O pins,
/Zephyr-latest/lib/posix/options/
Dkey.c34 static inline size_t posix_key_to_offset(pthread_key_obj *k) in posix_key_to_offset() argument
36 return k - posix_key_pool; in posix_key_to_offset()
73 pthread_key_obj *k; in to_posix_key() local
87 k = &posix_key_pool[bit]; in to_posix_key()
90 memset(k, 0, sizeof(*k)); in to_posix_key()
92 return k; in to_posix_key()
/Zephyr-latest/drivers/fpga/
Dfpga_mpfs.c86 uint8_t rc, k; in update_spi_flash_directory() local
118 k = 1; in update_spi_flash_directory()
119 while (k < 4) { in update_spi_flash_directory()
120 rc = flash_write(flash_dev, (SPI_FLASH_DIRECTORY_OFFSET + k * 0x100), buf, len); in update_spi_flash_directory()
125 k++; in update_spi_flash_directory()
142 uint32_t i, count, k; in program_new_image() local
182 for (k = 0; k < 256; k++) { in program_new_image()
183 buf[k] = *temp; in program_new_image()
/Zephyr-latest/lib/os/
Dp4wq.c80 k_spinlock_key_t k = k_spin_lock(&queue->lock); in p4wq_loop() local
95 k_spin_unlock(&queue->lock, k); in p4wq_loop()
99 k = k_spin_lock(&queue->lock); in p4wq_loop()
110 z_pend_curr(&queue->lock, k, &queue->waitq, K_FOREVER); in p4wq_loop()
111 k = k_spin_lock(&queue->lock); in p4wq_loop()
217 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_submit() local
284 z_reschedule(&queue->lock, k); in k_p4wq_submit()
289 k_spin_unlock(&queue->lock, k); in k_p4wq_submit()
294 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_cancel() local
302 k_spin_unlock(&queue->lock, k); in k_p4wq_cancel()
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_spsc.c90 for (int k = 0; k < 3; k++) { in ZTEST() local
94 zassert_equal(*entry, i * 3 + k, "Consume value should equal i*3+k"); in ZTEST()
125 for (int k = 0; k < 3; k++) { in ZTEST() local
129 zassert_equal(*entry, k, "Consume value should equal i*3+k"); in ZTEST()
/Zephyr-latest/scripts/tests/twister/
Dtest_platform.py120 for k, v in expected_data.items():
121 if not hasattr(platform, k):
123 att = getattr(platform, k)
/Zephyr-latest/boards/nxp/mimxrt1020_evk/
Dmimxrt1020_evk-pinctrl.dtsi42 bias-pull-up-value = "100k";
60 bias-pull-up-value = "100k";
68 bias-pull-up-value = "100k";
76 bias-pull-up-value = "100k";
149 bias-pull-up-value = "100k";
178 bias-pull-up-value = "100k";
224 bias-pull-up-value = "47k";
233 bias-pull-up-value = "47k";
264 bias-pull-up-value = "47k";
289 bias-pull-up-value = "47k";
[all …]
/Zephyr-latest/boards/nxp/mimxrt1024_evk/
Dmimxrt1024_evk-pinctrl.dtsi41 bias-pull-up-value = "100k";
59 bias-pull-up-value = "100k";
67 bias-pull-up-value = "100k";
75 bias-pull-up-value = "100k";
148 bias-pull-up-value = "100k";
177 bias-pull-up-value = "100k";
221 bias-pull-up-value = "47k";
230 bias-pull-up-value = "47k";
261 bias-pull-up-value = "47k";
286 bias-pull-up-value = "47k";
[all …]
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py61 ', '.join(['"{}_us":{:.6f}'.format(k, v * 1_000_000) for k,v in stats.items()]) +
70 ', '.join(['"CONFIG_{}":{}'.format(k, str(config[k]).rstrip()) for k in [

12345678910