Home
last modified time | relevance | path

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

1234

/subsys/testsuite/ztest/src/
A Dztress.c229 uint32_t priority = 0; in ztress_timeout() local
235 exec_cnt[priority], in ztress_timeout()
237 priority); in ztress_timeout()
238 exec_cnt[priority]++; in ztress_timeout()
260 uint32_t cnt = exec_cnt[priority]; in ztress_thread()
263 exec_cnt[priority] = cnt + 1; in ztress_thread()
270 sleep(backoff[priority]); in ztress_thread()
326 int priority, ztress_prio = 0; in ztress_execute() local
350 priority++; in ztress_execute()
369 priority, 0, K_MSEC(10)); in ztress_execute()
[all …]
/subsys/portability/cmsis_rtos_v1/
A Dcmsis_thread.c155 uint32_t priority; in osThreadGetPriority() local
161 priority = k_thread_priority_get(thread); in osThreadGetPriority()
162 return zephyr_to_cmsis_priority(priority); in osThreadGetPriority()
168 osStatus osThreadSetPriority(osThreadId thread_id, osPriority priority) in osThreadSetPriority() argument
178 if (priority < osPriorityIdle || priority > osPriorityRealtime) { in osThreadSetPriority()
187 cmsis_to_zephyr_priority(priority)); in osThreadSetPriority()
/subsys/sensing/
A DKconfig56 int "priority for sensing subsystem runtime thread"
60 This is the thread priority for sensor subsystem runtime thread
62 to notify dispatch thread, runtime thread priority should lower than
63 dispatch thread priority to ensure dispatch thread could fetch data as
65 priority is higher than dispatch thread, and runtime running in full
79 int "priority for sensor dispatch thread"
83 This is the thread priority for sensing subsystem dispatch thread
85 thread priority should be higher than runtime thread
/subsys/usb/device_next/class/
A DKconfig.bt14 int "TX thread priority"
17 Bluetooth HCI USB Transport Layer TX thread priority.
26 int "RX thread priority"
29 Bluetooth HCI USB Transport Layer RX thread priority.
A DKconfig.hid28 int "HID device init priority"
31 HID device initialization priority
/subsys/net/ip/
A Dnet_stats.h546 UPDATE_STAT(iface, stats.tc.sent[tc].priority = priority); in net_stats_update_tc_sent_priority()
552 uint8_t priority, in net_stats_update_tc_tx_time() argument
557 int tc = net_tx_priority2tc(priority); in net_stats_update_tc_tx_time()
571 uint8_t priority, in net_stats_update_tc_tx_time_detail() argument
574 int tc = net_tx_priority2tc(priority); in net_stats_update_tc_tx_time_detail()
594 uint8_t priority, in net_stats_update_tc_rx_time() argument
599 int tc = net_rx_priority2tc(priority); in net_stats_update_tc_rx_time()
613 uint8_t priority, in net_stats_update_tc_rx_time_detail() argument
652 UPDATE_STAT(iface, stats.tc.recv[tc].priority = priority); in net_stats_update_tc_recv_priority()
680 ARG_UNUSED(priority); in net_stats_update_tc_sent_priority()
[all …]
A Dnet_tc.c362 int priority; in net_tc_tx_init()
367 priority = IS_ENABLED(CONFIG_NET_TC_THREAD_COOPERATIVE) ? in net_tc_tx_init()
378 priority); in net_tc_tx_init()
396 priority, 0, K_FOREVER); in net_tc_tx_init()
430 int priority; in net_tc_rx_init()
435 priority = IS_ENABLED(CONFIG_NET_TC_THREAD_COOPERATIVE) ? in net_tc_rx_init()
446 priority); in net_tc_rx_init()
464 priority, 0, K_FOREVER); in net_tc_rx_init()
A Dicmp.c150 params->priority >= NET_MAX_PRIORITIES) { in send_icmpv4_echo_request()
152 params->priority, NET_MAX_PRIORITIES - 1); in send_icmpv4_echo_request()
157 if (params->priority < 0) { in send_icmpv4_echo_request()
161 net_pkt_set_priority(pkt, params->priority); in send_icmpv4_echo_request()
274 params->priority >= NET_MAX_PRIORITIES) { in send_icmpv6_echo_request()
276 params->priority, NET_MAX_PRIORITIES - 1); in send_icmpv6_echo_request()
281 if (params->priority < 0) { in send_icmpv6_echo_request()
285 net_pkt_set_priority(pkt, params->priority); in send_icmpv6_echo_request()
A DKconfig204 value corresponds to lower thread priority.
226 value corresponds to lower thread priority.
292 bool "Customize traffic class thread priority"
294 Customise net threads priority by each.
302 from this priority.
304 thread priority.
307 int "Receive traffic class base thread priority"
311 from this priority.
313 thread priority.
324 bool "Strict priority mapping"
[all …]
A Dnet_stats.c42 static const char *priority2str(enum net_priority priority) in priority2str() argument
44 switch (priority) { in priority2str()
188 tc.sent[i].priority)), in stats()
189 GET_STAT(iface, tc.sent[i].priority), in stats()
202 tc.recv[i].priority)), in stats()
203 GET_STAT(iface, tc.recv[i].priority), in stats()
/subsys/input/
A DKconfig16 int "Input subsystem and drivers init priority"
19 Input subsystem and drivers initialization priority.
43 bool "Override default input thread priority"
45 Option to change the default value of input thread priority.
49 int "Input thread priority"
52 Set thread priority of the input
/subsys/portability/cmsis_rtos_v2/
A Dthread.c23 .priority = osPriorityNormal,
119 if (attr->priority == osPriorityNone) { in osThreadNew()
122 cv2_prio = attr->priority; in osThreadNew()
232 uint32_t priority; in osThreadGetPriority() local
239 priority = k_thread_priority_get(&tid->z_thread); in osThreadGetPriority()
240 return zephyr_to_cmsis_priority(priority); in osThreadGetPriority()
246 osStatus_t osThreadSetPriority(osThreadId_t thread_id, osPriority_t priority) in osThreadSetPriority() argument
251 (priority <= osPriorityNone) || (priority > osPriorityISR)) { in osThreadSetPriority()
263 k_thread_priority_set((k_tid_t)&tid->z_thread, cmsis_to_zephyr_priority(priority)); in osThreadSetPriority()
/subsys/net/lib/shell/
A Dping.c41 int priority; member
271 params.priority = ctx->priority; in ping_work()
370 int priority = -1; in cmd_net_ping()
408 priority = parse_arg(&i, argc, argv); in cmd_net_ping()
409 if (priority < 0 || priority > UINT8_MAX) { in cmd_net_ping()
451 ping_ctx.priority = priority; in cmd_net_ping()
A Dstats.c20 static const char *priority2str(enum net_priority priority) in priority2str() argument
22 switch (priority) { in priority2str()
319 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
320 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
326 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
340 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
341 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
379 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
386 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
401 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
[all …]
/subsys/net/lib/lwm2m/
A Dlwm2m_obj_server.c56 static uint8_t priority[MAX_INSTANCE_COUNT]; variable
271 if (min > priority[i]) { in lwm2m_server_select()
272 min = priority[i]; in lwm2m_server_select()
274 if (max < priority[i]) { in lwm2m_server_select()
275 max = priority[i]; in lwm2m_server_select()
296 if (priority[i] > prio) { in lwm2m_server_select()
319 return priority[idx]; in lwm2m_server_get_prio()
398 priority[index] = 0; in server_create()
407 res_inst[index], j, &priority[index], sizeof(uint8_t)); in server_create()
/subsys/usb/usb_c/
A DKconfig18 int "USB-C stack init priority"
21 Initialization priority of the USB-C connector driver in POST_KERNEL.
26 int "USB-C thread priority"
29 Set thread priority of the USB-C
/subsys/net/lib/latmon/
A DKconfig29 Specify the priority for the network transfer thread used in latency monitoring.
41 Specify the priority for the Latmon thread used in latency monitoring.
53 Specify the priority for the monitor thread used in latency monitoring.
/subsys/net/l2/ppp/
A DKconfig98 Set the priority of the PPP TX thread, that handles all
101 When CONFIG_NET_TC_THREAD_COOPERATIVE = y, lowest priority is
102 CONFIG_NUM_COOP_PRIORITIES-1 else lowest priority is
104 When using PPP in combination with TCP, make sure the priority
/subsys/zbus/
A DKconfig18 int "The priority used during the SYS_INIT procedure."
97 bool "ZBus priority boost algorithm"
100 ZBus implements the Highest Locker Protocol that relies on the observers’ thread priority
101 to determine a temporary publisher priority.
/subsys/debug/thread_analyzer/
A DKconfig102 bool "Override default thread analysis thread priority"
104 Option to change the default value of thread analysis thread priority.
108 int "Thread analysis thread priority"
111 Set thread priority of the thread analysis
/subsys/mgmt/ec_host_cmd/
A DKconfig55 If the priority is too low (high in value), the host commands handler may be unable to
60 int "Initialization priority"
64 Initialization priority for Host Command. It must be higher than the initialization
65 priority of the used backend device.
/subsys/emul/
A DKconfig28 int "Init priority"
31 Emulation device driver initialisation priority.
/subsys/net/lib/zperf/
A DKconfig32 User is also able to set each thread priority separately and
34 priority is not set when starting the session.
37 int "zperf work queue thread priority"
A Dzperf_shell.c579 ses->async_upload_ctx.param.options.priority); in shell_udp_upload_print_stats()
951 if (!((priority >= -CONFIG_NUM_COOP_PRIORITIES && priority <= -1) || in check_priority()
952 (priority >= 0 && priority <= (CONFIG_NUM_PREEMPT_PRIORITIES - 1)))) { in check_priority()
957 priority, in check_priority()
982 param.options.priority = -1; in shell_cmd_upload()
1041 param.options.priority = parse_arg(&i, argc, argv); in shell_cmd_upload()
1042 if (param.options.priority < 0 || in shell_cmd_upload()
1043 param.options.priority > UINT8_MAX) { in shell_cmd_upload()
1294 param.options.priority = parse_arg(&i, argc, argv); in shell_cmd_upload2()
1295 if (param.options.priority == -1 || in shell_cmd_upload2()
[all …]
/subsys/net/lib/sockets/
A DKconfig17 int "Default processing priority for sockets"
20 Default processing priority for socket implementations. This defines
99 Note that >= 0 value means preemptive thread priority, the lowest
101 Highest preemptive thread priority is 0.
102 Lowest cooperative thread priority is -1.
103 Highest cooperative thread priority is -NUM_COOP_PRIORITIES.
132 int "Default processing priority for TLS sockets"
135 Processing priority for TLS sockets. Should be lower than
268 int "Default processing priority for offloaded sockets"
271 Processing priority for offloaded sockets.
[all …]

Completed in 141 milliseconds

1234