/Zephyr-Core-3.4.0/samples/drivers/virtualization/ivshmem/doorbell/src/ |
D | ivshmem.c | 66 APP_A_BSS static struct k_poll_signal *sig; variable 77 sig), in wait_for_int() 87 k_poll_signal_check(sig, &irq.signaled, &irq.result); in wait_for_int() 89 sig, irq.signaled, irq.result); in wait_for_int() 91 k_poll_signal_reset(sig); in wait_for_int() 169 sig = k_malloc(sizeof(*sig)); in setup_ivshmem() 170 if (sig == NULL) { in setup_ivshmem() 174 k_poll_signal_init(sig); in setup_ivshmem() 178 ret = ivshmem_register_handler(ctx.dev, sig, i); in setup_ivshmem() 209 k_object_free(sig); in ivshmem_sample_doorbell() [all …]
|
/Zephyr-Core-3.4.0/kernel/ |
D | poll.c | 480 void z_impl_k_poll_signal_init(struct k_poll_signal *sig) in z_impl_k_poll_signal_init() argument 482 sys_dlist_init(&sig->poll_events); in z_impl_k_poll_signal_init() 483 sig->signaled = 0U; in z_impl_k_poll_signal_init() 485 z_object_init(sig); in z_impl_k_poll_signal_init() 487 SYS_PORT_TRACING_FUNC(k_poll_api, signal_init, sig); in z_impl_k_poll_signal_init() 491 static inline void z_vrfy_k_poll_signal_init(struct k_poll_signal *sig) in z_vrfy_k_poll_signal_init() argument 493 Z_OOPS(Z_SYSCALL_OBJ_INIT(sig, K_OBJ_POLL_SIGNAL)); in z_vrfy_k_poll_signal_init() 494 z_impl_k_poll_signal_init(sig); in z_vrfy_k_poll_signal_init() 499 void z_impl_k_poll_signal_reset(struct k_poll_signal *sig) in z_impl_k_poll_signal_reset() argument 501 sig->signaled = 0U; in z_impl_k_poll_signal_reset() [all …]
|
/Zephyr-Core-3.4.0/tests/crypto/tinycrypt/src/ |
D | ecc_dsa.c | 88 unsigned int sig[2 * NUM_ECC_WORDS]; in sign_vectors() local 139 uECC_vli_bytesToNative(sig, sig_bytes, NUM_ECC_BYTES); in sign_vectors() 140 uECC_vli_bytesToNative(sig + NUM_ECC_WORDS, sig_bytes + NUM_ECC_BYTES, NUM_ECC_BYTES); in sign_vectors() 142 result = check_ecc_result(i, "sig.r", exp_r, sig, NUM_ECC_WORDS, verbose); in sign_vectors() 147 result = check_ecc_result(i, "sig.s", exp_s, sig + NUM_ECC_WORDS, NUM_ECC_WORDS, verbose); in sign_vectors() 349 unsigned int sig[2 * NUM_ECC_WORDS]; in vrfy_vectors() local 365 string2scalar(sig, NUM_ECC_WORDS, r_vec[i]); in vrfy_vectors() 366 string2scalar(sig + NUM_ECC_WORDS, NUM_ECC_WORDS, s_vec[i]); in vrfy_vectors() 400 uECC_vli_nativeToBytes(sig_bytes, NUM_ECC_BYTES, sig); in vrfy_vectors() 402 sig + NUM_ECC_WORDS); in vrfy_vectors() [all …]
|
/Zephyr-Core-3.4.0/lib/os/ |
D | notify.c | 51 struct k_poll_signal *sig = NULL; in sys_notify_finalize() local 66 sig = notify->method.signal; in sys_notify_finalize() 79 if (IS_ENABLED(CONFIG_POLL) && (sig != NULL)) { in sys_notify_finalize() 80 k_poll_signal_raise(sig, res); in sys_notify_finalize()
|
/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v2/ |
D | thread_flags.c | 59 int sig, key; in osThreadFlagsClear() local 75 sig = tid->signal_results; in osThreadFlagsClear() 79 return sig; in osThreadFlagsClear() 90 uint32_t sig; in osThreadFlagsWait() local 172 sig = tid->signal_results; in osThreadFlagsWait() 181 return sig; in osThreadFlagsWait()
|
D | event_flags.c | 88 uint32_t sig; in osEventFlagsClear() local 95 sig = events->signal_results; in osEventFlagsClear() 99 return sig; in osEventFlagsClear() 110 uint32_t sig; in osEventFlagsWait() local 149 sig = events->signal_results; in osEventFlagsWait() 205 return sig; in osEventFlagsWait()
|
/Zephyr-Core-3.4.0/tests/posix/common/src/ |
D | timer.c | 28 struct sigevent sig = { 0 }; in ZTEST() local 34 sig.sigev_notify = SIGEV_SIGNAL; in ZTEST() 35 sig.sigev_notify_function = handler; in ZTEST() 36 sig.sigev_value.sival_int = 20; in ZTEST() 39 ret = timer_create(CLOCK_MONOTONIC, &sig, &timerid); in ZTEST()
|
/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_signal.c | 22 int sig, key; in osSignalSet() local 34 sig = thread_def->signal_results; in osSignalSet() 40 return sig; in osSignalSet() 48 int sig, key; in osSignalClear() local 60 sig = thread_def->signal_results; in osSignalClear() 64 return sig; in osSignalClear()
|
/Zephyr-Core-3.4.0/drivers/spi/ |
D | spi_signal.c | 23 struct k_poll_signal *sig = userdata; in z_spi_transfer_signal_cb() local 25 k_poll_signal_raise(sig, result); in z_spi_transfer_signal_cb()
|
/Zephyr-Core-3.4.0/subsys/jwt/ |
D | jwt.c | 217 uint8_t hash[32], sig[256]; in jwt_sign() local 218 size_t sig_len = sizeof(sig); in jwt_sign() 229 sig, sig_len, &sig_len, in jwt_sign() 236 base64_append_bytes(sig, sig_len, builder); in jwt_sign() 283 uint8_t hash[32], sig[64]; in jwt_sign() local 299 sig, &curve_secp256r1); in jwt_sign() 305 base64_append_bytes(sig, sizeof(sig), builder); in jwt_sign()
|
/Zephyr-Core-3.4.0/samples/bluetooth/encrypted_advertising/include/ |
D | common.h | 23 static inline void await_signal(struct k_poll_signal *sig) in await_signal() argument 26 K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, K_POLL_MODE_NOTIFY_ONLY, sig), in await_signal()
|
/Zephyr-Core-3.4.0/tests/lib/notify/src/ |
D | main.c | 102 struct k_poll_signal sig; in ZTEST() local 112 k_poll_signal_init(&sig); in ZTEST() 113 k_poll_signal_check(&sig, &rc, &res); in ZTEST() 117 sys_notify_init_signal(¬ify, &sig); in ZTEST() 124 sys_notify_init_signal(¬ify, &sig); in ZTEST() 134 zassert_equal(notify.method.signal, &sig, in ZTEST() 156 k_poll_signal_check(&sig, &rc, &res); in ZTEST()
|
/Zephyr-Core-3.4.0/samples/sensor/qdec/boards/ |
D | esp32s3_devkitm.overlay | 38 sig-pos-mode = <2>; 39 sig-neg-mode = <1>;
|
/Zephyr-Core-3.4.0/scripts/coredump/gdbstubs/arch/ |
D | x86.py | 121 sig = self.GDB_SIGNAL_DEFAULT 125 sig = self.GDB_SIGNAL_DEFAULT 129 sig = self.GDB_SIGNAL_MAPPING[vector] 131 self.gdb_signal = sig
|
D | x86_64.py | 160 sig = self.GDB_SIGNAL_DEFAULT 164 sig = self.GDB_SIGNAL_DEFAULT 168 sig = self.GDB_SIGNAL_MAPPING[vector] 170 self.gdb_signal = sig
|
D | xtensa.py | 192 sig = self.GDB_SIGNAL_DEFAULT 196 sig = self.GDB_SIGNAL_DEFAULT 199 sig = self.GDB_SIGNAL_MAPPING[code] 202 sig = 8 204 self.gdb_signal = sig
|
/Zephyr-Core-3.4.0/drivers/i2c/ |
D | i2c_common.c | 22 struct k_poll_signal *sig = (struct k_poll_signal *)data; in z_i2c_transfer_signal_cb() local 24 k_poll_signal_raise(sig, result); in z_i2c_transfer_signal_cb()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | spi.h | 930 struct k_poll_signal *sig) in spi_transceive_signal() argument 934 spi_callback_t cb = (sig == NULL) ? NULL : z_spi_transfer_signal_cb; in spi_transceive_signal() 936 return api->transceive_async(dev, config, tx_bufs, rx_bufs, cb, sig); in spi_transceive_signal() 949 struct k_poll_signal *sig) in spi_transceive_async() argument 951 return spi_transceive_signal(dev, config, tx_bufs, rx_bufs, sig); in spi_transceive_async() 980 struct k_poll_signal *sig) in spi_read_signal() argument 982 return spi_transceive_signal(dev, config, NULL, rx_bufs, sig); in spi_read_signal() 994 struct k_poll_signal *sig) in spi_read_async() argument 996 return spi_read_signal(dev, config, rx_bufs, sig); in spi_read_async() 1025 struct k_poll_signal *sig) in spi_write_signal() argument [all …]
|
/Zephyr-Core-3.4.0/arch/x86/zefi/ |
D | printf.h | 113 int sig = 0; in vpf() local 119 sig += !!d; in vpf() 120 if (sig || i == 0) in vpf()
|
/Zephyr-Core-3.4.0/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 602 uint8_t *sig, size_t sig_buf_size, in crp_sign_hash() argument 625 sig, sig_buf_size, sig_len), in crp_sign_hash() 633 sf_hex_tabulate_16(&crp_fmt, sig, *sig_len); in crp_sign_hash() 667 uint8_t *sig, size_t sig_len) in crp_verify_sign() argument 689 sig, sig_len), in crp_verify_sign() 757 uint8_t sig[PSA_VENDOR_ECDSA_SIGNATURE_MAX_SIZE] = { 0 }; in crp_test() local 845 sig, sizeof(sig), &sig_len); in crp_test() 848 status = crp_verify_sign(1, hash, hash_len, sig, sig_len); in crp_test()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | avdtp.c | 74 req->sig = AVDTP_GET_SIG_ID(hdr->signal_id); in avdtp_send() 76 LOG_DBG("sig 0x%02X, tid 0x%02X", req->sig, req->tid); in avdtp_send() 110 LOG_DBG("Failed Signal_id = %d", (AVDTP_KWORK(work))->sig); in avdtp_timeout() 172 if (session->req->sig != sigid || in bt_avdtp_l2cap_recv() 175 "tid[0x%02x]", session->req->sig, in bt_avdtp_l2cap_recv()
|
/Zephyr-Core-3.4.0/drivers/lora/ |
D | sx12xx_common.c | 102 struct k_poll_signal *sig = dev_data.operation_done; in sx12xx_ev_rx_done() local 151 k_poll_signal_raise(sig, 0); in sx12xx_ev_rx_done() 156 struct k_poll_signal *sig = dev_data.operation_done; in sx12xx_ev_tx_done() local 160 if (sig) { in sx12xx_ev_tx_done() 161 k_poll_signal_raise(sig, 0); in sx12xx_ev_tx_done()
|
/Zephyr-Core-3.4.0/soc/arm/nuvoton_npcx/common/ |
D | soc_dt.h | 311 .sig = signal, \ 329 .sig = signal, \
|
/Zephyr-Core-3.4.0/boards/posix/native_posix/ |
D | hw_models_top.c | 57 void hwm_signal_end_handler(int sig) in hwm_signal_end_handler() argument
|
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 792 struct gptp_signaling *sig; in gptp_handle_signaling() local 794 sig = GPTP_SIGNALING(pkt); in gptp_handle_signaling() 803 gptp_update_pdelay_req_interval(port, sig->tlv.link_delay_itv); in gptp_handle_signaling() 806 gptp_update_sync_interval(port, sig->tlv.time_sync_itv); in gptp_handle_signaling() 809 gptp_update_announce_interval(port, sig->tlv.announce_itv); in gptp_handle_signaling() 812 sig->tlv.compute_neighbor_rate_ratio; in gptp_handle_signaling() 814 sig->tlv.compute_neighbor_prop_delay; in gptp_handle_signaling()
|