Home
last modified time | relevance | path

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

12345678910>>...20

/ThreadX-v6.3.0/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.c98 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
177 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
178 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
196 if (priority != preempt_threshold) in _tx_thread_create()
208 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
209 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
272 …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()
/ThreadX-v6.3.0/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.3.0/ports/cortex_a9/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.3.0/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.3.0/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.3.0/ports/cortex_a5/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.3.0/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.3.0/ports/cortex_a8/gnu/example_build/
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.3.0/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.3.0/ports/cortex_a7/gnu/example_build/
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.3.0/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.3.0/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.3.0/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.3.0/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.c106 UINT priority; in _tx_thread_system_suspend() local
301 …thread_ptr, thread_ptr -> tx_thread_state, TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_system_suspend()
318 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
325 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
329 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_suspend()
333 if (_tx_thread_preemption_threshold_list[priority] == thread_ptr) in _tx_thread_system_suspend()
337 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_system_suspend()
340 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
350 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
424 next_thread = _tx_thread_priority_list[priority]; in _tx_thread_system_suspend()
[all …]
Dtx_thread_create.c100 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
170 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
171 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
210 if (priority != preempt_threshold) in _tx_thread_create()
222 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
223 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
286 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
341 _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()
/ThreadX-v6.3.0/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()

12345678910>>...20