Home
last modified time | relevance | path

Searched refs:z_prio (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v1/
Dcmsis_thread.c20 static inline int32_t zephyr_to_cmsis_priority(uint32_t z_prio) in zephyr_to_cmsis_priority() argument
22 return(osPriorityRealtime - z_prio); in zephyr_to_cmsis_priority()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c48 static uint32_t zephyr_to_posix_priority(int32_t z_prio, int *policy) in zephyr_to_posix_priority() argument
52 if (z_prio < 0) { in zephyr_to_posix_priority()
54 prio = -1 * (z_prio + 1); in zephyr_to_posix_priority()
58 prio = (CONFIG_NUM_PREEMPT_PRIORITIES - z_prio - 1); in zephyr_to_posix_priority()
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/
Dthread.c45 static inline uint32_t zephyr_to_cmsis_priority(uint32_t z_prio) in zephyr_to_cmsis_priority() argument
47 return (osPriorityISR - z_prio); in zephyr_to_cmsis_priority()