Searched refs:z_prio (Results 1 – 3 of 3) sorted by relevance
20 static inline int32_t zephyr_to_cmsis_priority(uint32_t z_prio) in zephyr_to_cmsis_priority() argument22 return(osPriorityRealtime - z_prio); in zephyr_to_cmsis_priority()
48 static uint32_t zephyr_to_posix_priority(int32_t z_prio, int *policy) in zephyr_to_posix_priority() argument52 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()
45 static inline uint32_t zephyr_to_cmsis_priority(uint32_t z_prio) in zephyr_to_cmsis_priority() argument47 return (osPriorityISR - z_prio); in zephyr_to_cmsis_priority()