Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/ThreadX-v6.2.1/common/src/
Dtx_thread_system_suspend.c89 UINT priority; in _tx_thread_system_suspend() local
180 …thread_ptr, thread_ptr -> tx_thread_state, TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_system_suspend()
199 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
219 if (_tx_thread_priority_list[priority] == thread_ptr) in _tx_thread_system_suspend()
223 _tx_thread_priority_list[priority] = ready_next; in _tx_thread_system_suspend()
230 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
238 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
248 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
261 _tx_thread_priority_list[priority] = TX_NULL; in _tx_thread_system_suspend()
266 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
[all …]
Dtx_thread_suspend.c216 UINT priority; in _tx_thread_suspend() local
320 …, ((ULONG) thread_ptr -> tx_thread_state), TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_suspend()
336 priority = thread_ptr -> tx_thread_priority; in _tx_thread_suspend()
354 if (_tx_thread_priority_list[priority] == thread_ptr) in _tx_thread_suspend()
358 _tx_thread_priority_list[priority] = ready_next; in _tx_thread_suspend()
365 map_index = priority/((UINT) 32); in _tx_thread_suspend()
373 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_suspend()
383 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_suspend()
396 _tx_thread_priority_list[priority] = TX_NULL; in _tx_thread_suspend()
401 map_index = priority/((UINT) 32); in _tx_thread_suspend()
[all …]
Dtx_thread_system_resume.c87 UINT priority; in _tx_thread_system_resume() local
178 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_resume()
197 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
202 _tx_thread_priority_list[priority] = thread_ptr; in _tx_thread_system_resume()
209 map_index = priority/((UINT) 32); in _tx_thread_system_resume()
212 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_resume()
217 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_resume()
221 if (priority < _tx_thread_highest_priority) in _tx_thread_system_resume()
227 _tx_thread_highest_priority = priority; in _tx_thread_system_resume()
246 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
[all …]
Dtx_thread_relinquish.c83 UINT priority; in _tx_thread_relinquish() local
106 priority = thread_ptr -> tx_thread_priority; in _tx_thread_relinquish()
114 _tx_thread_priority_list[priority] = thread_ptr -> tx_thread_ready_next; in _tx_thread_relinquish()
121 if (_tx_thread_highest_priority < priority) in _tx_thread_relinquish()
Dtx_thread_resume.c85 UINT priority; in _tx_thread_resume() local
237 priority = thread_ptr -> tx_thread_priority; in _tx_thread_resume()
256 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_resume()
261 _tx_thread_priority_list[priority] = thread_ptr; in _tx_thread_resume()
268 map_index = priority/((UINT) 32); in _tx_thread_resume()
271 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_resume()
276 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_resume()
280 if (priority < _tx_thread_highest_priority) in _tx_thread_resume()
286 _tx_thread_highest_priority = priority; in _tx_thread_resume()
305 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_resume()
Dtx_thread_create.c94 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
162 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
163 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
181 if (priority != preempt_threshold) in _tx_thread_create()
193 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
194 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
257 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
Dtx_thread_info_get.c84 UINT *priority, UINT *preemption_threshold, ULONG *time_slice, in _tx_thread_info_get() argument
125 if (priority != TX_NULL) in _tx_thread_info_get()
128 *priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_info_get()
Dtxe_thread_create.c93 UINT priority, UINT preempt_threshold, in _txe_thread_create() argument
246 else if (priority >= ((UINT) TX_MAX_PRIORITIES)) in _txe_thread_create()
254 else if (preempt_threshold > priority) in _txe_thread_create()
306 stack_start, stack_size, priority, preempt_threshold, in _txe_thread_create()
/ThreadX-v6.2.1/ports_smp/cortex_a9_smp/gnu/example_build/
DMP_GIC.h60 void setPriorityMask(unsigned int priority);
63 void setBinaryPoint(unsigned int priority);
66 void setIntPriority(unsigned int ID, unsigned int priority);
69 unsigned int getIntPriority(unsigned int ID, unsigned int priority);
/ThreadX-v6.2.1/ports_smp/cortex_a5_smp/gnu/example_build/
DMP_GIC.h60 void setPriorityMask(unsigned int priority);
63 void setBinaryPoint(unsigned int priority);
66 void setIntPriority(unsigned int ID, unsigned int priority);
69 unsigned int getIntPriority(unsigned int ID, unsigned int priority);
/ThreadX-v6.2.1/ports_smp/cortex_a7_smp/gnu/example_build/
DMP_GIC.h57 void setPriorityMask(unsigned int priority);
60 void setBinaryPoint(unsigned int priority);
63 void setIntPriority(unsigned int ID, unsigned int priority);
66 void getIntPriority(unsigned int ID, unsigned int priority);
/ThreadX-v6.2.1/ports_smp/cortex_a5_smp/ac5/example_build/sample_threadx/
DMP_GIC.h40 void setIntPriority(unsigned int ID, unsigned int priority);
52 void setPriorityMask(unsigned int priority);
55 void setBinaryPoint(unsigned int priority);
/ThreadX-v6.2.1/ports_smp/cortex_a7_smp/ac5/example_build/sample_threadx/
DMP_GIC.h40 void setIntPriority(unsigned int ID, unsigned int priority);
52 void setPriorityMask(unsigned int priority);
55 void setBinaryPoint(unsigned int priority);
/ThreadX-v6.2.1/utility/rtos_compatibility_layers/posix/
Dpx_mq_arrange_msg.c77 ULONG priority; /* priority of the message */ in posix_arrange_msg() local
106 priority = *q_read; in posix_arrange_msg()
109 if (priority > maxPrio) in posix_arrange_msg()
121 maxPrio = priority; in posix_arrange_msg()
128 else if (priority == maxPrio) in posix_arrange_msg()
/ThreadX-v6.2.1/ports_smp/cortex_a9_smp/ac5/example_build/sample_threadx/
DMP_GIC.h40 void set_irq_priority(unsigned int ID, unsigned int priority);
51 void set_priority_mask(unsigned int priority);
54 void set_binary_port(unsigned int priority);
/ThreadX-v6.2.1/ports_smp/cortex_r8_smp/ac5/example_build/sample_threadx/
DMP_GIC.h40 void set_irq_priority(unsigned int ID, unsigned int priority);
51 void set_priority_mask(unsigned int priority);
54 void set_binary_port(unsigned int priority);
/ThreadX-v6.2.1/common_smp/src/
Dtx_thread_relinquish.c81 UINT priority; in _tx_thread_relinquish() local
140 priority = thread_ptr -> tx_thread_priority; in _tx_thread_relinquish()
152 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_relinquish()
168 _tx_thread_priority_list[priority] = next_thread; in _tx_thread_relinquish()
204 else if (thread_ptr -> tx_thread_preempt_threshold == priority) in _tx_thread_relinquish()
329 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_relinquish()
340 map_index = priority/((UINT) 32); in _tx_thread_relinquish()
344 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_relinquish()
354 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_relinquish()
360 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_relinquish()
Dtx_thread_system_suspend.c104 UINT priority; in _tx_thread_system_suspend() local
299 …thread_ptr, thread_ptr -> tx_thread_state, TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_system_suspend()
316 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
323 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
327 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_suspend()
331 if (_tx_thread_preemption_threshold_list[priority] == thread_ptr) in _tx_thread_system_suspend()
335 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_system_suspend()
338 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
348 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
422 next_thread = _tx_thread_priority_list[priority]; in _tx_thread_system_suspend()
[all …]
Dtx_thread_create.c96 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
155 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
156 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
195 if (priority != preempt_threshold) in _tx_thread_create()
207 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
208 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
271 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
326 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_create()
Dtx_thread_info_get.c84 UINT *priority, UINT *preemption_threshold, ULONG *time_slice, in _tx_thread_info_get() argument
125 if (priority != TX_NULL) in _tx_thread_info_get()
128 *priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_info_get()
Dtxe_thread_create.c93 UINT priority, UINT preempt_threshold, in _txe_thread_create() argument
246 else if (priority >= ((UINT) TX_MAX_PRIORITIES)) in _txe_thread_create()
254 else if (preempt_threshold > priority) in _txe_thread_create()
306 stack_start, stack_size, priority, preempt_threshold, in _txe_thread_create()
Dtx_thread_smp_utilities.c89 UINT _tx_thread_smp_next_priority_find(UINT priority) in _tx_thread_smp_next_priority_find() argument
99 if (priority < ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
101 map_index = priority/((UINT) 32); in _tx_thread_smp_next_priority_find()
103 priority_bit = (((ULONG) 1) << (priority % ((UINT) 32))); in _tx_thread_smp_next_priority_find()
132 UINT _tx_thread_smp_next_priority_find(UINT priority) in _tx_thread_smp_next_priority_find() argument
139 local_priority_map = local_priority_map >> priority; in _tx_thread_smp_next_priority_find()
140 next_priority = priority; in _tx_thread_smp_next_priority_find()
154 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
829 ULONG _tx_thread_smp_preemptable_threads_get(UINT priority, TX_THREAD *possible_preemption_list[]) in _tx_thread_smp_preemptable_threads_get() argument
901 if (priority < thread_ptr -> tx_thread_priority) in _tx_thread_smp_preemptable_threads_get()
[all …]
/ThreadX-v6.2.1/ports/cortex_a5x/ac6/example_build/sample_threadx/
Dgic400_gic.h68 void setIntPriority(unsigned int ID, unsigned int priority);
180 void setPriorityMask(unsigned int priority);
183 void setBinaryPoint(unsigned int priority);
186 void setAliasedBinaryPoint(unsigned int priority);
Dgic400_gic.c119 void setIntPriority(unsigned int ID, unsigned int priority) in setIntPriority() argument
127 gic_dist->GICD_IPRIORITYR[ID] = priority; in setIntPriority()
397 void setPriorityMask(unsigned int priority) in setPriorityMask() argument
399 gic_cpu->GICC_PMR = (priority & 0xFF); in setPriorityMask()
404 void setBinaryPoint(unsigned int priority) in setBinaryPoint() argument
406 gic_cpu->GICC_BPR = (priority & 0xFF); in setBinaryPoint()
411 void setAliasedBinaryPoint(unsigned int priority) in setAliasedBinaryPoint() argument
413 gic_cpu->GICC_ABPR = (priority & 0xFF); in setAliasedBinaryPoint()
/ThreadX-v6.2.1/common_modules/module_manager/src/
Dtxm_module_manager_maximum_module_priority_set.c69 …txm_module_manager_maximum_module_priority_set(TXM_MODULE_INSTANCE *module_instance, UINT priority) in _txm_module_manager_maximum_module_priority_set() argument
110 module_instance->txm_module_instance_maximum_priority = priority; in _txm_module_manager_maximum_module_priority_set()

12345678910>>...19