Home
last modified time | relevance | path

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

1234

/Zephyr-Core-2.7.6/lib/libc/minimal/source/stdlib/
Dqsort.c19 #define parent(k) (((k) - 1) >> 1) argument
25 #define left(k) (((k) << 1) + 1) argument
31 #define right(k) (left(k) + 1) argument
33 #define A(k) ((uint8_t *)base + size * (k)) argument
/Zephyr-Core-2.7.6/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-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_util.c181 int32_t f, k, i, e; in lwm2m_b32_to_f32() local
218 k = LWM2M_FLOAT32_DEC_MAX; in lwm2m_b32_to_f32()
222 k /= 2; in lwm2m_b32_to_f32()
227 k /= 2; in lwm2m_b32_to_f32()
229 f32->val2 += k; in lwm2m_b32_to_f32()
240 int64_t f, k; in lwm2m_b64_to_f32() local
282 k = LWM2M_FLOAT32_DEC_MAX; in lwm2m_b64_to_f32()
286 k /= 2; in lwm2m_b64_to_f32()
291 k /= 2; in lwm2m_b64_to_f32()
293 f32->val2 += k; in lwm2m_b64_to_f32()
/Zephyr-Core-2.7.6/subsys/net/ip/
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 inteval_timeout()
162 uint8_t k) in net_trickle_create() argument
164 NET_ASSERT(trickle && Imax > 0 && k > 0 && !CHECK_IMIN(Imin)); in net_trickle_create()
171 trickle->k = k; in net_trickle_create()
176 trickle->Imin, trickle->Imax, trickle->k, in net_trickle_create()
/Zephyr-Core-2.7.6/lib/os/
Dp4wq.c78 k_spinlock_key_t k = k_spin_lock(&queue->lock); in p4wq_loop() local
93 k_spin_unlock(&queue->lock, k); in p4wq_loop()
97 k = k_spin_lock(&queue->lock); in p4wq_loop()
108 z_pend_curr(&queue->lock, k, &queue->waitq, K_FOREVER); in p4wq_loop()
109 k = k_spin_lock(&queue->lock); in p4wq_loop()
219 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_submit() local
286 z_reschedule(&queue->lock, k); in k_p4wq_submit()
291 k_spin_unlock(&queue->lock, k); in k_p4wq_submit()
296 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_cancel() local
304 k_spin_unlock(&queue->lock, k); in k_p4wq_cancel()
/Zephyr-Core-2.7.6/tests/subsys/dfu/img_util/src/
Dmain.c41 uint8_t data[5], temp, k; in test_collecting() local
75 k = 0U; in test_collecting()
78 data[j] = k++; in test_collecting()
94 k = 0U; in test_collecting()
97 zassert(temp == k, "pass", "fail"); in test_collecting()
98 k++; in test_collecting()
/Zephyr-Core-2.7.6/include/
Dspinlock.h133 k_spinlock_key_t k; in k_spin_lock() local
139 k.key = arch_irq_lock(); in k_spin_lock()
156 return k; in k_spin_lock()
/Zephyr-Core-2.7.6/subsys/random/
Drand32_xoshiro128.c37 static inline uint32_t rotl(const uint32_t x, int k) in rotl() argument
39 return (x << k) | (x >> (32 - k)); in rotl()
/Zephyr-Core-2.7.6/kernel/
Dsmp.c107 unsigned int k = arch_irq_lock(); in z_smp_cpu_mobile() local
108 bool pinned = arch_is_in_isr() || !arch_irq_unlocked(k); in z_smp_cpu_mobile()
110 arch_irq_unlock(k); in z_smp_cpu_mobile()
/Zephyr-Core-2.7.6/tests/net/socket/socketpair/src/
Dtest_socketpair_nonblock.c36 for (size_t k = 0; k < CONFIG_NET_SOCKETPAIR_BUFFER_SIZE; in test_socketpair_write_nonblock() local
37 ++k) { in test_socketpair_write_nonblock()
/Zephyr-Core-2.7.6/include/net/
Dtrickle.h56 uint8_t k; /**< Redundancy constant */ member
87 uint8_t k);
/Zephyr-Core-2.7.6/tests/crypto/tinycrypt/src/
Decc_dsa.c85 unsigned int k[NUM_ECC_WORDS]; in sign_vectors() local
109 (void)memset(k, 0, NUM_ECC_BYTES); in sign_vectors()
110 string2scalar(k, NUM_ECC_WORDS, k_vec[i]); in sign_vectors()
136 sizeof(digest_bytes), k, sig_bytes, uECC_secp256r1()), in sign_vectors()
181 char *k[] = { in cavp_sign() local
339 return sign_vectors(&sha256_ctx, d, k, Msg, Qx, Qy, R, S, 15, verbose); in cavp_sign()
/Zephyr-Core-2.7.6/tests/kernel/smp/src/
Dmain.c61 unsigned int k = arch_irq_lock(); in curr_cpu() local
64 arch_irq_unlock(k); in curr_cpu()
815 static void sync_lock_dummy(void *k) in sync_lock_dummy() argument
820 static void sync_lock_irq(void *k) in sync_lock_irq() argument
822 *((unsigned int *)k) = irq_lock(); in sync_lock_irq()
825 static void sync_unlock_irq(void *k) in sync_unlock_irq() argument
827 irq_unlock(*(unsigned int *)k); in sync_unlock_irq()
830 static void sync_lock_sem(void *k) in sync_lock_sem() argument
835 static void sync_unlock_sem(void *k) in sync_unlock_sem() argument
840 static void sync_lock_mutex(void *k) in sync_lock_mutex() argument
[all …]
/Zephyr-Core-2.7.6/boards/arm/lpcxpresso55s69/doc/
Dindex.rst168 | slot0 | 0x00008000[160k] | Image that runs after boot |
170 | slot1 | 0x00030000[96k] | Second image, core 1 or NS |
172 | slot2 | 0x00048000[160k] | Updates slot0 image |
174 | slot3 | 0x00070000[96k] | Updates slot1 image |
176 | storage | 0x00088000[50k] | File system, persistent storage |
189 | TFM_S | 0x00008000[160k] | Secure image |
191 | Zephyr_NS | 0x00030000[96k] | Non-Secure image |
193 | storage | 0x00088000[50k] | Persistent storage |
199 | secure_ram | 0x20000000[136k] | Secure memory |
201 | non_secure_ram | 0x20022000[136k] | Non-Secure memory |
[all …]
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_cmos.c75 k_spinlock_key_t k; in read_register() local
78 k = k_spin_lock(&lock); in read_register()
81 k_spin_unlock(&lock, k); in read_register()
/Zephyr-Core-2.7.6/subsys/net/lib/coap/
Dcoap_link_format.c75 int i, j, k, plen; in match_path_uri() local
98 k = i; in match_path_uri()
101 if (uri[k] == '*') { in match_path_uri()
102 if ((k + 1) == len) { in match_path_uri()
107 if (uri[k] != (*p)[j]) { in match_path_uri()
111 k++; in match_path_uri()
114 if (i == (k - 1) && j == plen) { in match_path_uri()
118 if (k == len && j == plen) { in match_path_uri()
/Zephyr-Core-2.7.6/tests/net/traffic_class/src/
Dmain.c123 int j, k; in check_higher_priority_pkt_sent() local
126 for (k = 0; k < MAX_PKT_TO_SEND; k++) { in check_higher_priority_pkt_sent()
127 if (send_priorities[j][k]) { in check_higher_priority_pkt_sent()
142 int j, k; in check_higher_priority_pkt_recv() local
145 for (k = 0; k < MAX_PKT_TO_SEND; k++) { in check_higher_priority_pkt_recv()
146 if (recv_priorities[j][k]) { in check_higher_priority_pkt_recv()
/Zephyr-Core-2.7.6/drivers/crypto/
DKconfig.ataes132a7 bool "Atmel ATAES132A 32k AES Serial EEPROM support"
10 Enable Atmel ATAES132A 32k AES Serial EEPROM support.
/Zephyr-Core-2.7.6/tests/lib/p4workq/src/
Dmain.c53 k_spinlock_key_t k = k_spin_lock(&lock); in stress_handler() local
65 k_spin_unlock(&lock, k); in stress_handler()
90 k_spin_unlock(&lock, k); in stress_handler()
/Zephyr-Core-2.7.6/soc/xtensa/intel_adsp/common/
Dsoc_mp.c482 k_spinlock_key_t k = k_spin_lock(&mplock); in soc_relaunch_cpu() local
499 k_spin_unlock(&mplock, k); in soc_relaunch_cpu()
522 k_spinlock_key_t k = k_spin_lock(&mplock); in soc_halt_cpu() local
542 k_spin_unlock(&mplock, k); in soc_halt_cpu()
/Zephyr-Core-2.7.6/scripts/west_commands/
Dbuild_helpers.py34 kwargs = {k: v for k, v in kwargs.items() if v is not None}
/Zephyr-Core-2.7.6/boards/arm/efm32hg_slstk3400a/
Defm32hg_slstk3400a_defconfig13 # Kernel Options due to Low Memory (8k)
/Zephyr-Core-2.7.6/boards/arm/stm32g0316_disco/
Dstm32g0316_disco_defconfig5 # Kernel Options due to Low Memory (8k)
/Zephyr-Core-2.7.6/samples/drivers/counter/maxim_ds3231/boards/
Dparticle_xenon.overlay14 32k-gpios = <&gpio1 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
/Zephyr-Core-2.7.6/tests/drivers/counter/maxim_ds3231_api/boards/
Dparticle_xenon.overlay14 32k-gpios = <&gpio1 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;

1234