Home
last modified time | relevance | path

Searched +full:- +full:- +full:i (Results 1 – 25 of 1114) sorted by relevance

12345678910>>...45

/Zephyr-latest/samples/subsys/zbus/priority_boost/
Dsample.yaml10 - "I: 0 -> T1: prio before 5"
11 - "I: 0 ---> L1: T1 prio 5"
12 - "I: 0 ---> L2: T1 prio 5"
13 - "I: 0 -> T1: prio after 5"
14 - "I: 1 -> T1: prio before 5"
15 - "I: 1 ---> L1: T1 prio 5"
16 - "I: 1 ---> L2: T1 prio 5"
17 - "I: 1 -> T1: prio after 5"
18 - "I: 2 -> T1: prio before 5"
19 - "I: 2 ---> L1: T1 prio 5"
[all …]
DREADME.rst1 .. zephyr:code-sample:: zbus-priority-boost
3 :relevant-api: zbus_apis
15 .. code-block:: c
49 .. zephyr-app-commands::
50 :zephyr-app: samples/subsys/zbus/priority_boost
51 :gen-args: -DCONFIG_ZBUS_PRIORITY_BOOST=n
52 :host-os: unix
59 .. code-block:: console
61 I: --------------
62 I: 0 -> T1: prio before 5
[all …]
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt12i 0=ESUCCESS -1=EPERM -2=ENOENT -3=ESRCH -4=EINTR -5=EIO …
13 NamedType ErrCodeMath *=%i 0=ESUCCESS -37=EDOM -38=ERANGE
14i 0=ESUCCESS -40=EDESTADDRREQ -41=EPROTOTYPE -42=ENOPROTOOPT -43=EPROTONOSUPPORT -44=ESOCKTNOSUPP…
15i 0=ESUCCESS -51=ENETUNREACH -52=ENETRESET -53=ECONNABORTED -54=ECONNRESET -55=ENOBUFS …
16 NamedType ErrCodeNetIO *=%i 0=ESUCCESS -68=EINPROGRESS -69=EALREADY -11=EWOULDBLOCK -71=ENOSYS
17 …tream *=%i 0=ESUCCESS -74=ENOSR -75=ENOSTR -76=EPROTO -77=EBADMSG -78=ENO…
18 NamedType ErrCodeMsg *=%i 0=ESUCCESS -11=EAGAIN -80=ENOMSG
20 NamedType PowerState *=%i 0=ACTIVE 1=RUNTIME_IDLE 2=SUSPEND_TO_IDLE 3=STANDBY 4=SUSPEND_TO_RAM 5=SU…
39 39 k_mutex_lock mutex=%I, | Returns %ErrCodePosix
41 40 k_sem_init sem=%I, initial_count=%u, | Returns %ErrCodePosix
[all …]
/Zephyr-latest/samples/subsys/zbus/runtime_obs_registration/
DREADME.rst1 .. zephyr:code-sample:: zbus-runtime-obs-registration
3 :relevant-api: zbus_apis
19 .. zephyr-app-commands::
20 :zephyr-app: samples/subsys/zbus/runtime_obs_registration
21 :host-os: unix
28 .. code-block:: console
30 I: System started
31 I: Activating filter
32 I: >-- Raw data fetched
33 I: -|- Filtering data
[all …]
Dsample.yaml7 - qemu_x86
14 - "I: System started"
15 - "I: Activating filter"
16 - "I: Deactivating filter"
17 - "I: Bypass filter"
18 - "I: Disable bypass filter"
19 - "I: >-- Raw data fetched"
20 - "I: -|- Filtering data"
21 - "I: --> Consuming data: Acc x=0, y=0, z=0"
22 - "I: --> Consuming data: Acc x=2, y=2, z=2"
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_stop.c1 /* test_unicast_stop.c - unit test for unicast stop procedure */
6 * SPDX-License-Identifier: Apache-2.0
45 fixture->preset = (struct bt_bap_lc3_preset)BT_BAP_LC3_UNICAST_PRESET_16_2_1( in cap_initiator_test_unicast_stop_fixture_init()
48 for (size_t i = 0U; i < ARRAY_SIZE(fixture->conns); i++) { in cap_initiator_test_unicast_stop_fixture_init() local
49 test_conn_init(&fixture->conns[i]); in cap_initiator_test_unicast_stop_fixture_init()
52 for (size_t i = 0U; i < ARRAY_SIZE(fixture->eps); i++) { in cap_initiator_test_unicast_stop_fixture_init() local
53 fixture->eps[i].dir = (i & 1) + 1; /* Makes it either 1 or 2 (sink or source)*/ in cap_initiator_test_unicast_stop_fixture_init()
56 for (size_t i = 0U; i < ARRAY_SIZE(fixture->cap_streams); i++) { in cap_initiator_test_unicast_stop_fixture_init() local
57 struct bt_cap_stream *cap_stream = &fixture->cap_streams[i]; in cap_initiator_test_unicast_stop_fixture_init()
58 struct bt_bap_stream *bap_stream = &cap_stream->bap_stream; in cap_initiator_test_unicast_stop_fixture_init()
[all …]
Dtest_unicast_start.c1 /* test_unicast_start.c - unit test for unicast start procedure */
6 * SPDX-License-Identifier: Apache-2.0
44 fixture->preset = (struct bt_bap_lc3_preset)BT_BAP_LC3_UNICAST_PRESET_16_2_1( in cap_initiator_test_unicast_start_fixture_init()
47 for (size_t i = 0U; i < ARRAY_SIZE(fixture->conns); i++) { in cap_initiator_test_unicast_start_fixture_init() local
48 test_conn_init(&fixture->conns[i]); in cap_initiator_test_unicast_start_fixture_init()
51 for (size_t i = 0U; i < ARRAY_SIZE(fixture->cap_streams); i++) { in cap_initiator_test_unicast_start_fixture_init() local
52 struct bt_bap_stream *bap_stream = &fixture->cap_streams[i].bap_stream; in cap_initiator_test_unicast_start_fixture_init()
54 sys_slist_append(&fixture->unicast_group.streams, &bap_stream->_node); in cap_initiator_test_unicast_start_fixture_init()
55 bap_stream->group = &fixture->unicast_group; in cap_initiator_test_unicast_start_fixture_init()
58 for (size_t i = 0U; i < ARRAY_SIZE(fixture->eps); i++) { in cap_initiator_test_unicast_start_fixture_init() local
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_vcp.c1 /* test_vcp.c - unit test for volume settings */
6 * SPDX-License-Identifier: Apache-2.0
30 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_vcp_fixture_init() local
31 test_conn_init(&fixture->conns[i]); in cap_commander_test_vcp_fixture_init()
57 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_vcp_after() local
58 mock_bt_conn_disconnected(&fixture->conns[i], BT_HCI_ERR_REMOTE_USER_TERM_CONN); in cap_commander_test_vcp_after()
73 union bt_cap_set_member members[ARRAY_SIZE(fixture->conns)]; in ZTEST_F()
77 .count = ARRAY_SIZE(fixture->conns), in ZTEST_F()
82 for (size_t i = 0U; i < ARRAY_SIZE(members); i++) { in ZTEST_F() local
83 members[i].member = &fixture->conns[i]; in ZTEST_F()
[all …]
Dtest_micp.c1 /* test_micp.c - unit test for microphone settings */
6 * SPDX-License-Identifier: Apache-2.0
30 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_micp_fixture_init() local
31 test_conn_init(&fixture->conns[i]); in cap_commander_test_micp_fixture_init()
57 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_micp_after() local
58 mock_bt_conn_disconnected(&fixture->conns[i], BT_HCI_ERR_REMOTE_USER_TERM_CONN); in cap_commander_test_micp_after()
75 member_params[ARRAY_SIZE(fixture->conns)]; in ZTEST_F()
83 for (size_t i = 0U; i < ARRAY_SIZE(member_params); i++) { in ZTEST_F() local
84 member_params[i].member.member = &fixture->conns[i]; in ZTEST_F()
85 member_params[i].gain = 10 + i; in ZTEST_F()
[all …]
/Zephyr-latest/tests/arch/xtensa/save_restore_hifi/src/
Dhifi.S4 * SPDX-License-Identifier: Apache-2.0
8 * hifi_get - Retrieve the HiFi aedX registers
15 ae_s64.i aed0, a2, 0
16 ae_s64.i aed1, a2, 8
17 ae_s64.i aed2, a2, 16
18 ae_s64.i aed3, a2, 24
19 ae_s64.i aed4, a2, 32
20 ae_s64.i aed5, a2, 40
21 ae_s64.i aed6, a2, 48
22 ae_s64.i aed7, a2, 56
[all …]
/Zephyr-latest/samples/subsys/zbus/hello_world/
Dsample.yaml10 - "I: Sensor sample started raw reading, version 0.1-2!"
11 - "I: Channel list:"
12 - "I: 0 - Channel acc_data_chan:"
13 - "I: Message size: 12"
14 - "I: Observers:"
15 - "I: - foo_lis"
16 - "I: - bar_sub"
17 - "I: 1 - Channel simple_chan:"
18 - "I: 2 - Channel version_chan:"
19 - "I: Message size: 4"
[all …]
/Zephyr-latest/samples/userspace/prod_consumer/
DREADME.rst1 .. zephyr:code-sample:: userspace_prod_consumer
16 - Multiple logical applications, each with their own memory domain
17 - Creation of a sys_heap and assignment to a memory partition
18 - Use of APIs like ``k_queue_alloc_append()`` which require thread resource
20 - Management of permissions for kernel objects and drivers
21 - Show how application-specific system calls are defined
22 - Show IPC between ISR and application (using ``k_msgq``) and
23 application-to-application IPC (using ``k_queue``)
24 - Show how to create application-specific system calls
36 - Sample driver issues interrupts, invoking its associated callback
[all …]
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
33 K_THREAD_STACK_ARRAY_DEFINE(busy_stack, CONFIG_MP_MAX_NUM_CPUS - 1, BUSY_STACK_SIZE);
34 static struct k_thread busy_thread[CONFIG_MP_MAX_NUM_CPUS - 1];
70 unsigned int i; in start_threads() local
75 for (i = 0; i < CONFIG_MP_MAX_NUM_CPUS - 1; i++) { in start_threads()
76 k_thread_create(&busy_thread[i], busy_stack[i], BUSY_STACK_SIZE, in start_threads()
78 -1, 0, K_NO_WAIT); in start_threads()
83 for (i = 0; i < CONFIG_BENCHMARK_NUM_THREADS; i++) { in start_threads()
84 k_thread_create(&test_thread[i], test_stack, TEST_STACK_SIZE, in start_threads()
85 test_entry, (void *)(uintptr_t)i, NULL, NULL, in start_threads()
[all …]
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/
Dsample.yaml7 - CONFIG_ZBUS_LOG_LEVEL_DBG=y
12 - "^.*?I: ----> Publishing to acc_data_chan channel"
13 - "^.*?I: AL Memory allocated \\d{1,3} bytes. Total allocated \\d{1,3} bytes$"
14 - "^.*?I: FR Memory freed \\d{1,3} bytes. Total allocated 0 bytes$"
15 - "^.*?D: 0 -> bar_sub1"
16 - "^.*?D: 1 -> bar_msg_sub1"
17 - "^.*?D: 2 -> bar_msg_sub2"
18 - "^.*?D: 3 -> bar_msg_sub3"
19 - "^.*?D: 4 -> bar_msg_sub4"
20 - "^.*?D: 5 -> bar_msg_sub5"
[all …]
DREADME.rst1 .. zephyr:code-sample:: zbus-msg-subscriber
3 :relevant-api: zbus_apis
19 .. zephyr-app-commands::
20 :zephyr-app: samples/subsys/zbus/msg_subscriber
21 :host-os: unix
28 .. code-block:: console
30 -- west build: running target run
33 I: ----> Publishing to acc_data_chan channel
34 I: AL Memory allocated 28 bytes. Total allocated 28 bytes
35 I: From listener foo_lis -> Acc x=1, y=10, z=100
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dmath_helper.h1 /* ----------------------------------------------------------------------
14 * Target Processor: Cortex-M4/Cortex-M3
17 * Re-organized the CMSIS folders and updated documentation.
29 * Misra-C changes done
30 * -------------------------------------------------------------------- */
33 * This file was imported from the ARM CMSIS-DSP library test suite and
36 * SPDX-License-Identifier: Apache-2.0
71 return -def; \
80 uint32_t i; in arm_snr_f64() local
83 for (i = 0; i < buffSize; i++) { in arm_snr_f64()
[all …]
/Zephyr-latest/samples/kernel/metairq_dispatch/
DREADME.rst17 Each message has a random (and non-trivial) amount of processing that
21 Messages are accompanied by a timestamp that allows per-message
43 priority will experience some load-dependent delays, as the CPU
72 .. zephyr-app-commands::
73 :zephyr-app: samples/kernel/metairq_dispatch
88 (intended) for non-cooperative threads like T2 and T3 which is attributed to delays
92 .. code-block:: console
94 I: Starting Thread0 at priority -2
95 I: Starting Thread1 at priority -1
97 I: M8 T0 mirq 4273 disp 86983 proc 9824 real 16753
[all …]
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
12 * thread. As these dummy threads are inherently non-executable, this helps
42 unsigned int i; in dummy_threads_init() local
47 for (i = 0; i < num_threads; i++) { in dummy_threads_init()
48 z_init_thread_base(&dummy_thread[i], i / bucket_size, in dummy_threads_init()
55 unsigned int i; in cycles_reset() local
57 for (i = 0; i < num_threads; i++) { in cycles_reset()
58 add_cycles[i] = 0ULL; in cycles_reset()
59 remove_cycles[i] = 0ULL; in cycles_reset()
70 unsigned int i; in test_decreasing_priority() local
[all …]
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/
Dtestcase.yaml1 # SPDX-License-Identifier: Apache-2.0
6 - native_sim
7 - native_sim/native/64
9 - native_sim
16 - "I: kbd-matrix state \\[01 -- -- --\\] \\(1\\)"
17 - "I: kbd-matrix state \\[11 -- -- --\\] \\(2\\)"
18 - "I: kbd-matrix state \\[11 02 -- --\\] \\(3\\)"
19 - "I: kbd-matrix state \\[11 02 04 --\\] \\(4\\)"
20 - "I: kbd-matrix state \\[10 02 04 --\\] \\(3\\)"
21 - "I: kbd-matrix state \\[-- 02 04 --\\] \\(2\\)"
[all …]
/Zephyr-latest/tests/lib/hash_map/src/
Dload_factor.c4 * SPDX-License-Identifier: Apache-2.0
20 for (size_t i = 0; i < MANY; ++i) { in ZTEST() local
21 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
22 zassert_equal(1, ret, "failed to insert (%zu, %zu): %d", i, i, ret); in ZTEST()
27 for (size_t i = MANY; i > 0; --i) { in ZTEST() local
28 zassert_equal(true, sys_hashmap_remove(&map, i - 1, NULL)); in ZTEST()
40 zassert_equal(hmap->config->load_factor, CUSTOM_LOAD_FACTOR); in ZTEST()
45 for (size_t i = 0; i < MANY; ++i) { in ZTEST() local
46 ret = sys_hashmap_insert(hmap, i, i, NULL); in ZTEST()
47 zassert_equal(1, ret, "failed to insert (%zu, %zu): %d", i, i, ret); in ZTEST()
[all …]
/Zephyr-latest/tests/lib/math/interpolation/src/
Dmain.c3 * SPDX-License-Identifier: Apache-2.0
20 zassert_equal(y_axis[0], linear_interpolate(x_axis, y_axis, len, -1)); in ZTEST()
22 zassert_equal(y_axis[0], linear_interpolate(x_axis, y_axis, len, x_axis[0] - 1)); in ZTEST()
38 for (int i = 0; i < ARRAY_SIZE(x_axis); i++) { in ZTEST() local
39 zassert_equal(y_axis[i], linear_interpolate(x_axis, y_axis, len, x_axis[i])); in ZTEST()
51 /* 0 to 4 -> 0 */ in ZTEST()
52 for (int i = 0; i < 5; i++) { in ZTEST() local
53 zassert_equal(0, linear_interpolate(x_axis, y_axis, len, i)); in ZTEST()
55 /* 5 to 14 -> 1 */ in ZTEST()
56 for (int i = 5; i < 15; i++) { in ZTEST() local
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
69 int i; in ZTEST() local
72 char * const expected_payload[] = { "0", "127", "-128" }; in ZTEST()
74 for (i = 0; i < ARRAY_SIZE(expected_payload); i++) { in ZTEST()
75 ret = plain_text_writer.put_s8(&test_out, &test_path, value[i]); in ZTEST()
76 zassert_equal(ret, strlen(expected_payload[i]), in ZTEST()
78 zassert_mem_equal(test_out.out_cpkt->data + offset, in ZTEST()
79 expected_payload[i], in ZTEST()
80 strlen(expected_payload[i]), in ZTEST()
83 offset += strlen(expected_payload[i]); in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_alarm.c5 * SPDX-License-Identifier: Apache-2.0
31 .tm_isdst = -1,
45 .tm_isdst = -1,
77 for (uint16_t i = 0; i < alarms_count; i++) { in ZTEST() local
78 ret = rtc_alarm_set_time(rtc, i, 0, NULL); in ZTEST()
80 zassert_ok(ret, "Failed to clear alarm %d time", i); in ZTEST()
84 for (uint16_t i = 0; i < alarms_count; i++) { in ZTEST() local
85 ret = rtc_alarm_set_callback(rtc, i, NULL, NULL); in ZTEST()
87 zassert_true((ret == 0) || (ret == -ENOTSUP), in ZTEST()
88 "Failed to clear and disable alarm %d callback", i); in ZTEST()
[all …]
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_id_mgr.c2 * Copyright (c) 2022-2023, Intel Corporation.
4 * SPDX-License-Identifier: Apache-2.0
15 * Create a id key pool using size variable 0..size-1, where we can
22 uint32_t i = 0; in sip_svc_id_mgr_create() local
33 id_pool->size = size; in sip_svc_id_mgr_create()
35 id_pool->id_list = k_malloc(size * sizeof(uint32_t)); in sip_svc_id_mgr_create()
36 if (!id_pool->id_list) { in sip_svc_id_mgr_create()
46 id_pool->id_mask = k_malloc(mask_size * sizeof(uint32_t)); in sip_svc_id_mgr_create()
47 if (!id_pool->id_mask) { in sip_svc_id_mgr_create()
48 k_free(id_pool->id_list); in sip_svc_id_mgr_create()
[all …]
/Zephyr-latest/tests/net/socket/socketpair/src/
Dexpected_failures.c4 * SPDX-License-Identifier: Apache-2.0
15 res = zsock_socketpair(AF_INET, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()
16 if (res != -1) { in ZTEST_USER_F()
17 for (int i = 0; i < 2; ++i) { in ZTEST_USER_F() local
18 zassert_ok(zsock_close(fixture->sv[i])); in ZTEST_USER_F()
19 fixture->sv[i] = -1; in ZTEST_USER_F()
22 zassert_equal(res, -1, "socketpair should fail with bad address family"); in ZTEST_USER_F()
26 res = zsock_socketpair(AF_UNIX, 42, 0, fixture->sv); in ZTEST_USER_F()
27 if (res != -1) { in ZTEST_USER_F()
28 for (int i = 0; i < 2; ++i) { in ZTEST_USER_F() local
[all …]

12345678910>>...45