/Zephyr-latest/tests/drivers/stepper/drv8424/api/src/ |
D | main.c | 174 unsigned int signaled; in ZTEST_F() local 177 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() 178 zassert_equal(signaled, 1, "No event detected"); in ZTEST_F() 194 unsigned int signaled; in ZTEST_F() local 197 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() 198 zassert_equal(signaled, 1, "No event detected"); in ZTEST_F() 214 unsigned int signaled; in ZTEST_F() local 217 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() 218 zassert_equal(signaled, 1, "No event detected"); in ZTEST_F() 263 unsigned int signaled; in ZTEST_F() local [all …]
|
/Zephyr-latest/tests/kernel/poll/src/ |
D | test_poll_fail.c | 166 unsigned int signaled; in ZTEST_USER() local 170 k_poll_signal_check(NULL, &signaled, &result); in ZTEST_USER() 211 int signaled; in ZTEST_USER() local 216 k_poll_signal_check(&signal_err, &signaled, NULL); in ZTEST_USER()
|
D | test_poll.c | 63 unsigned int signaled; in ZTEST_USER() local 152 k_poll_signal_check(&no_wait_signal, &signaled, &result); in ZTEST_USER() 153 zassert_not_equal(signaled, 0, ""); in ZTEST_USER() 289 zassert_equal(wait_signal.signaled, 1, ""); in check_results() 294 wait_signal.signaled = 0U; in check_results() 741 unsigned int signaled; in ZTEST() local 765 k_poll_signal_check(&signal, &signaled, &result); in ZTEST() 766 zassert_not_equal(signaled, 0, ""); in ZTEST()
|
/Zephyr-latest/tests/drivers/stepper/stepper_api/src/ |
D | main.c | 94 unsigned int signaled; in ZTEST_F() local 97 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() 98 zassert_equal(signaled, 1, "Signal not set"); in ZTEST_F()
|
/Zephyr-latest/tests/boards/frdm_k64f/i2c/src/ |
D | i2c.c | 220 unsigned int signaled; in test_i2c_fxos8700_transfer_signal() local 223 k_poll_signal_check(&xfer_signal, &signaled, &signal_result); in test_i2c_fxos8700_transfer_signal() 225 TC_PRINT("signaled %d, signal result %d\n", signaled, signal_result); in test_i2c_fxos8700_transfer_signal() 227 zassert_true(signaled > 0, "expected signaled to be non-zero"); in test_i2c_fxos8700_transfer_signal()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | socketpair.c | 484 for (int signaled = false, result = -1; !signaled; in spair_write() local 523 k_poll_signal_check(&remote->writeable, &signaled, in spair_write() 525 if (!signaled) { in spair_write() 675 for (int signaled = false, result = -1; !signaled; in spair_read() local 697 k_poll_signal_check(&spair->readable, &signaled, in spair_read() 699 if (!signaled) { in spair_read() 830 int signaled; in zsock_poll_update_ctx() local 860 signaled = false; in zsock_poll_update_ctx() 861 k_poll_signal_check(&remote->writeable, &signaled, &result); in zsock_poll_update_ctx() 862 if (signaled) { in zsock_poll_update_ctx() [all …]
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem_shell.c | 34 unsigned int signaled; in doorbell_notification_thread() local 39 k_poll_signal_check(&doorbell_sig, &signaled, &vector); in doorbell_notification_thread() 40 if (signaled == 0) { in doorbell_notification_thread()
|
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/src/ |
D | ivshmem.c | 32 unsigned int signaled; member 87 k_poll_signal_check(sig, &irq.signaled, &irq.result); in wait_for_int() 89 sig, irq.signaled, irq.result); in wait_for_int()
|
/Zephyr-latest/kernel/ |
D | poll.c | 79 if (event->signal->signaled != 0U) { in is_condition_met() 483 sig->signaled = 0U; in z_impl_k_poll_signal_init() 501 sig->signaled = 0U; in z_impl_k_poll_signal_reset() 507 unsigned int *signaled, int *result) in z_impl_k_poll_signal_check() argument 509 *signaled = sig->signaled; in z_impl_k_poll_signal_check() 517 unsigned int *signaled, int *result) in z_vrfy_k_poll_signal_check() argument 520 K_OOPS(K_SYSCALL_MEMORY_WRITE(signaled, sizeof(unsigned int))); in z_vrfy_k_poll_signal_check() 522 z_impl_k_poll_signal_check(sig, signaled, result); in z_vrfy_k_poll_signal_check() 533 sig->signaled = 1U; in z_impl_k_poll_signal_raise()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | thread_flags.c | 135 __ASSERT(tid->poll_event.signal->signaled == 1U, in osThreadFlagsWait() 139 tid->poll_event.signal->signaled = 0U; in osThreadFlagsWait()
|
D | event_flags.c | 162 events->poll_event.signal->signaled = 0U; in osEventFlagsWait() 201 __ASSERT(events->poll_event.signal->signaled == 1U, in osEventFlagsWait()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_signal.c | 127 __ASSERT(thread_def->poll_event->signal->signaled == 1, in osSignalWait() 131 thread_def->poll_event->signal->signaled = 0; in osSignalWait()
|
/Zephyr-latest/doc/kernel/services/ |
D | polling.rst | 49 type that be directly signaled. 230 It is signaled via the :c:func:`k_poll_signal_raise` function. This function 251 int signaled, result; 253 k_poll_signal_check(&signal, &signaled, &result); 255 if (signaled && (result == 0x1337)) { 271 been signaled. 289 int signaled, result; 291 k_poll_signal_check(&signal, &signaled, &result); 293 if (signaled && (result == 0x1337)) { 326 Because objects are only signaled if no other thread is waiting for them to
|
D | interrupts.rst | 37 allows the function to determine which interrupt has been signaled. 40 generates a fatal system error if an unexpected interrupt is signaled. 43 in mid-execution if a higher priority interrupt is signaled. The lower 158 so its associated ISR does not execute when the IRQ is signaled.
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | udp.c | 69 unsigned int signaled; in process_udp_tx() local 72 k_poll_signal_check(events[i].signal, &signaled, &result); in process_udp_tx() 73 if (signaled == 0) { in process_udp_tx()
|
/Zephyr-latest/drivers/net/ |
D | nsos_sockets.c | 292 unsigned int signaled; in nsos_poll_prepare() local 313 signaled = 0; in nsos_poll_prepare() 316 k_poll_signal_check(&poll->signal, &signaled, &flags); in nsos_poll_prepare() 317 if (!signaled) { in nsos_poll_prepare() 328 unsigned int signaled; in nsos_poll_update() local 333 signaled = 0; in nsos_poll_update() 344 k_poll_signal_check(&poll->signal, &signaled, &flags); in nsos_poll_update() 345 if (!signaled) { in nsos_poll_update()
|
/Zephyr-latest/doc/kernel/services/synchronization/ |
D | condvar.rst | 96 A condition variable is signaled on by calling :c:func:`k_condvar_signal` for
|
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/ |
D | main.c | 110 async_evt_spim.signal->signaled = 0U; in work_handler() 234 async_evt.signal->signaled = 0U; in run_test()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_ivshmem.c | 241 poll_event.signal->signaled = 0; in eth_ivshmem_thread()
|
/Zephyr-latest/subsys/shell/ |
D | shell.c | 1176 int signaled = 0; in shell_log_process() local 1199 k_poll_signal_check(signal, &signaled, &result); in shell_log_process() 1201 } while (processed && !signaled); in shell_log_process()
|
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/ |
D | README.rst | 91 Sec signaled at 7002 ms, param 0x20000048, delay 1; set 7
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5849 unsigned int signaled; member 5858 .signaled = 0, \ 6021 unsigned int *signaled, int *result);
|
/Zephyr-latest/samples/bluetooth/hci_uart_3wire/src/ |
D | main.c | 663 tx_queue_change.signaled = 0U; in tx_thread()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci_driver.c | 702 events[0].signal->signaled = 0U; in recv_thread()
|
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/ |
D | spi.c | 604 evt->signal->signaled = 0U; in spi_async_call_cb()
|