Home
last modified time | relevance | path

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

12345678910>>...20

/ThreadX-v6.4.1/common/src/
Dtx_thread_system_suspend.c88 UINT priority; in _tx_thread_system_suspend() local
179 …thread_ptr, thread_ptr -> tx_thread_state, TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_system_suspend()
198 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
218 if (_tx_thread_priority_list[priority] == thread_ptr) in _tx_thread_system_suspend()
222 _tx_thread_priority_list[priority] = ready_next; in _tx_thread_system_suspend()
229 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
237 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
247 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
260 _tx_thread_priority_list[priority] = TX_NULL; in _tx_thread_system_suspend()
265 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
[all …]
Dtx_thread_suspend.c215 UINT priority; in _tx_thread_suspend() local
319 …, ((ULONG) thread_ptr -> tx_thread_state), TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_suspend()
335 priority = thread_ptr -> tx_thread_priority; in _tx_thread_suspend()
353 if (_tx_thread_priority_list[priority] == thread_ptr) in _tx_thread_suspend()
357 _tx_thread_priority_list[priority] = ready_next; in _tx_thread_suspend()
364 map_index = priority/((UINT) 32); in _tx_thread_suspend()
372 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_suspend()
382 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_suspend()
395 _tx_thread_priority_list[priority] = TX_NULL; in _tx_thread_suspend()
400 map_index = priority/((UINT) 32); in _tx_thread_suspend()
[all …]
Dtx_thread_system_resume.c86 UINT priority; in _tx_thread_system_resume() local
177 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_resume()
196 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
201 _tx_thread_priority_list[priority] = thread_ptr; in _tx_thread_system_resume()
208 map_index = priority/((UINT) 32); in _tx_thread_system_resume()
211 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_resume()
216 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_resume()
220 if (priority < _tx_thread_highest_priority) in _tx_thread_system_resume()
226 _tx_thread_highest_priority = priority; in _tx_thread_system_resume()
245 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
[all …]
Dtx_thread_relinquish.c82 UINT priority; in _tx_thread_relinquish() local
105 priority = thread_ptr -> tx_thread_priority; in _tx_thread_relinquish()
113 _tx_thread_priority_list[priority] = thread_ptr -> tx_thread_ready_next; in _tx_thread_relinquish()
120 if (_tx_thread_highest_priority < priority) in _tx_thread_relinquish()
Dtx_thread_resume.c84 UINT priority; in _tx_thread_resume() local
236 priority = thread_ptr -> tx_thread_priority; in _tx_thread_resume()
255 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_resume()
260 _tx_thread_priority_list[priority] = thread_ptr; in _tx_thread_resume()
267 map_index = priority/((UINT) 32); in _tx_thread_resume()
270 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_resume()
275 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_resume()
279 if (priority < _tx_thread_highest_priority) in _tx_thread_resume()
285 _tx_thread_highest_priority = priority; in _tx_thread_resume()
304 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_resume()
Dtx_thread_create.c97 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
176 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
177 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()
Dtx_thread_info_get.c83 UINT *priority, UINT *preemption_threshold, ULONG *time_slice, in _tx_thread_info_get() argument
124 if (priority != TX_NULL) in _tx_thread_info_get()
127 *priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_info_get()
/ThreadX-v6.4.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.4.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.4.1/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.4.1/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.4.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.4.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.4.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.4.1/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.4.1/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.4.1/utility/rtos_compatibility_layers/posix/
Dpx_mq_arrange_msg.c76 ULONG priority; /* priority of the message */ in posix_arrange_msg() local
105 priority = *q_read; in posix_arrange_msg()
108 if (priority > maxPrio) in posix_arrange_msg()
120 maxPrio = priority; in posix_arrange_msg()
127 else if (priority == maxPrio) in posix_arrange_msg()
/ThreadX-v6.4.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.4.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.4.1/common_smp/src/
Dtx_thread_relinquish.c80 UINT priority; in _tx_thread_relinquish() local
139 priority = thread_ptr -> tx_thread_priority; in _tx_thread_relinquish()
151 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_relinquish()
167 _tx_thread_priority_list[priority] = next_thread; in _tx_thread_relinquish()
203 else if (thread_ptr -> tx_thread_preempt_threshold == priority) in _tx_thread_relinquish()
328 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_relinquish()
339 map_index = priority/((UINT) 32); in _tx_thread_relinquish()
343 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_relinquish()
353 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_relinquish()
359 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_relinquish()
Dtx_thread_system_suspend.c105 UINT priority; in _tx_thread_system_suspend() local
300 …thread_ptr, thread_ptr -> tx_thread_state, TX_POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_U… in _tx_thread_system_suspend()
317 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
324 map_index = priority/((UINT) 32); in _tx_thread_system_suspend()
328 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_suspend()
332 if (_tx_thread_preemption_threshold_list[priority] == thread_ptr) in _tx_thread_system_suspend()
336 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_system_suspend()
339 TX_MOD32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
349 TX_DIV32_BIT_SET(priority, priority_bit) in _tx_thread_system_suspend()
423 next_thread = _tx_thread_priority_list[priority]; in _tx_thread_system_suspend()
[all …]
Dtx_thread_create.c99 … VOID *stack_start, ULONG stack_size, UINT priority, UINT preempt_threshold, in _tx_thread_create() argument
169 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
170 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
209 if (priority != preempt_threshold) in _tx_thread_create()
221 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
222 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
285 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
340 _tx_thread_preemption_threshold_list[priority] = TX_NULL; in _tx_thread_create()
Dtx_thread_info_get.c83 UINT *priority, UINT *preemption_threshold, ULONG *time_slice, in _tx_thread_info_get() argument
124 if (priority != TX_NULL) in _tx_thread_info_get()
127 *priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_info_get()
/ThreadX-v6.4.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()

12345678910>>...20