Home
last modified time | relevance | path

Searched refs:k_is_in_isr (Results 1 – 25 of 106) sorted by relevance

12345

/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v2/
Dkernel.c44 if (k_is_in_isr()) { in osKernelLock()
60 if (k_is_in_isr()) { in osKernelUnlock()
76 if (k_is_in_isr()) { in osKernelRestoreLock()
124 if (k_is_in_isr()) { in osDelay()
140 if (k_is_in_isr()) { in osDelayUntil()
Dmutex.c28 if (k_is_in_isr()) { in osMutexNew()
73 if (k_is_in_isr()) { in osMutexAcquire()
106 if (k_is_in_isr()) { in osMutexRelease()
128 if (k_is_in_isr()) { in osMutexDelete()
146 if (k_is_in_isr() || (mutex == NULL)) { in osMutexGetOwner()
162 if (k_is_in_isr() || (mutex == NULL)) { in osMutexGetName()
Dthread.c114 if (k_is_in_isr()) { in osThreadNew()
224 if (k_is_in_isr() || (thread_id == NULL)) { in osThreadGetName()
258 if (k_is_in_isr() || (tid == NULL) || in osThreadGetPriority()
280 if (k_is_in_isr()) { in osThreadSetPriority()
302 if (k_is_in_isr() || (tid == NULL) || in osThreadGetState()
341 if (k_is_in_isr()) { in osThreadYield()
358 __ASSERT(!k_is_in_isr(), ""); in osThreadGetStackSize()
375 __ASSERT(!k_is_in_isr(), ""); in osThreadGetStackSpace()
396 if (k_is_in_isr()) { in osThreadSuspend()
420 if (k_is_in_isr()) { in osThreadResume()
[all …]
Dtimer.c46 if (k_is_in_isr()) { in osTimerNew()
88 if (k_is_in_isr()) { in osTimerStart()
114 if (k_is_in_isr()) { in osTimerStop()
138 if (k_is_in_isr()) { in osTimerDelete()
158 if (k_is_in_isr() || (timer == NULL)) { in osTimerGetName()
172 if (k_is_in_isr() || (timer == NULL)) { in osTimerIsRunning()
Dsemaphore.c29 if (k_is_in_isr()) { in osSemaphoreNew()
70 if (timeout > 0 && k_is_in_isr()) { in osSemaphoreAcquire()
136 if (k_is_in_isr()) { in osSemaphoreDelete()
154 if (!k_is_in_isr() && (semaphore_id != NULL)) { in osSemaphoreGetName()
Dmsgq.c35 if (k_is_in_isr()) { in osMessageQueueNew()
97 if (timeout > 0 && k_is_in_isr()) { in osMessageQueuePut()
135 if (timeout > 0 && k_is_in_isr()) { in osMessageQueueGet()
222 if (!k_is_in_isr() && (msgq_id != NULL)) { in osMessageQueueGetName()
240 if (k_is_in_isr()) { in osMessageQueueReset()
265 if (k_is_in_isr()) { in osMessageQueueDelete()
Devent_flags.c30 if (k_is_in_isr()) { in osEventFlagsNew()
116 if (timeout > 0 && k_is_in_isr()) { in osEventFlagsWait()
215 if (!k_is_in_isr() && (ef_id != NULL)) { in osEventFlagsGetName()
247 if (k_is_in_isr()) { in osEventFlagsDelete()
Dmempool.c37 if (k_is_in_isr()) { in osMemoryPoolNew()
105 if (timeout > 0 && k_is_in_isr()) { in osMemoryPoolAlloc()
158 if (!k_is_in_isr() && (mslab != NULL)) { in osMemoryPoolGetName()
232 if (k_is_in_isr()) { in osMemoryPoolDelete()
Dthread_flags.c41 if (k_is_in_isr()) { in osThreadFlagsGet()
61 if (k_is_in_isr()) { in osThreadFlagsClear()
94 if (k_is_in_isr()) { in osThreadFlagsWait()
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_mutex.c25 if (k_is_in_isr()) { in osMutexCreate()
52 if (k_is_in_isr()) { in osMutexWait()
84 if (k_is_in_isr()) { in osMutexRelease()
106 if (k_is_in_isr()) { in osMutexDelete()
Dcmsis_thread.c81 if (k_is_in_isr()) { in osThreadCreate()
130 if (k_is_in_isr()) { in osThreadGetId()
145 if ((thread_id == NULL) || (k_is_in_isr())) { in osThreadGetPriority()
162 if (k_is_in_isr()) { in osThreadSetPriority()
189 if (k_is_in_isr()) { in osThreadTerminate()
206 if (k_is_in_isr()) { in osThreadYield()
Dcmsis_semaphore.c26 if (k_is_in_isr()) { in osSemaphoreCreate()
54 if (k_is_in_isr()) { in osSemaphoreWait()
111 if (k_is_in_isr()) { in osSemaphoreDelete()
Dcmsis_timer.c78 if (k_is_in_isr()) { in osTimerStart()
104 if (k_is_in_isr()) { in osTimerStop()
128 if (k_is_in_isr()) { in osTimerDelete()
Dcmsis_wait.c15 if (k_is_in_isr()) { in osDelay()
Dcmsis_kernel.c33 if (k_is_in_isr()) { in osKernelStart()
/Zephyr-Core-3.5.0/drivers/cache/
Dcache_aspeed.c141 if (!k_is_in_isr()) { in cache_data_invd_all()
154 if (!k_is_in_isr()) { in cache_data_invd_all()
173 if (!k_is_in_isr()) { in cache_data_invd_range()
187 if (!k_is_in_isr()) { in cache_data_invd_range()
203 if (!k_is_in_isr()) { in cache_instr_invd_all()
215 if (!k_is_in_isr()) { in cache_instr_invd_all()
236 if (!k_is_in_isr()) { in cache_instr_invd_range()
248 if (!k_is_in_isr()) { in cache_instr_invd_range()
/Zephyr-Core-3.5.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dkernel.c42 if (k_is_in_isr()) { in lock_unlock_check()
47 if (k_is_in_isr()) { in lock_unlock_check()
53 if (k_is_in_isr()) { in lock_unlock_check()
/Zephyr-Core-3.5.0/subsys/zbus/
Dzbus.c198 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_chan_pub()
226 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_chan_read()
244 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_chan_notify()
263 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_chan_claim()
277 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_chan_finish()
288 _ZBUS_ASSERT(!k_is_in_isr(), "zbus cannot be used inside ISRs"); in zbus_sub_wait()
302 _ZBUS_ASSERT(!k_is_in_isr(), "zbus subscribers cannot be used inside ISRs"); in zbus_sub_wait_msg()
Dzbus_runtime_observers.c18 _ZBUS_ASSERT(!k_is_in_isr(), "ISR blocked"); in zbus_chan_add_obs()
75 _ZBUS_ASSERT(!k_is_in_isr(), "ISR blocked"); in zbus_chan_rm_obs()
/Zephyr-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/src/
Dkernel.c10 bool k_is_in_isr(void) in k_is_in_isr() function
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_npm6001.c52 if (k_is_in_isr()) { in gpio_npm6001_port_get_raw()
73 if (k_is_in_isr()) { in gpio_npm6001_port_set_bits_raw()
86 if (k_is_in_isr()) { in gpio_npm6001_port_clear_bits_raw()
99 if (k_is_in_isr()) { in gpio_npm6001_configure()
Dgpio_axp192.c41 if (k_is_in_isr()) { in gpio_axp192_port_get_raw()
59 if (k_is_in_isr()) { in gpio_axp192_port_set_masked_raw()
90 if (k_is_in_isr()) { in gpio_axp192_configure()
181 if (k_is_in_isr()) { in gpio_axp192_get_config()
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztest_error_hook.c26 if (k_is_in_isr()) { in z_impl_ztest_set_fault_valid()
88 if (k_is_in_isr()) { in z_impl_ztest_set_assert_valid()
/Zephyr-Core-3.5.0/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
Dcyabs_rtos_zephyr.c167 if (k_is_in_isr()) { in cy_rtos_exit_thread()
187 } else if (k_is_in_isr()) { in cy_rtos_terminate_thread()
221 if (k_is_in_isr()) { in cy_rtos_get_thread_state()
360 } else if (k_is_in_isr()) { in cy_rtos_get_mutex()
383 } else if (k_is_in_isr()) { in cy_rtos_set_mutex()
443 if (k_is_in_isr()) { in cy_rtos_get_semaphore()
458 if (k_is_in_isr() && (status_internal == -EBUSY)) { in cy_rtos_get_semaphore()
662 if (k_is_in_isr()) { in cy_rtos_put_queue()
691 if (k_is_in_isr()) { in cy_rtos_get_queue()
892 if (k_is_in_isr()) { in cy_rtos_delay_milliseconds()
/Zephyr-Core-3.5.0/subsys/logging/backends/
Dlog_backend_uart.c69 if (pm_device_runtime_is_enabled(uart_dev) && !k_is_in_isr()) { in char_out()
98 if (pm_device_runtime_is_enabled(uart_dev) && !k_is_in_isr()) { in char_out()
160 if (k_is_in_isr()) { in panic()

12345