Home
last modified time | relevance | path

Searched +full:- +full:i (Results 1 – 25 of 1101) 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/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/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/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 …]
/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/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/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/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/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/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/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/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/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/samples/drivers/memc/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
33 uint32_t i, j; in dump_memory() local
35 for (i = 0, j = 0; j < (size / 16); i += 16, j++) { in dump_memory()
37 p[i], p[i+1], p[i+2], p[i+3], in dump_memory()
38 p[i+4], p[i+5], p[i+6], p[i+7]); in dump_memory()
40 p[i+8], p[i+9], p[i+10], p[i+11], in dump_memory()
41 p[i+12], p[i+13], p[i+14], p[i+15]); in dump_memory()
43 if (((i + 16) & 0xFF) == 0) { in dump_memory()
48 for (; i < size; i++) { in dump_memory()
49 printk("%02x ", p[i]); in dump_memory()
[all …]
/Zephyr-latest/tests/benchmarks/posix/threads/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
28 typedef int (*create_fn)(int i);
29 typedef int (*join_fn)(int i);
45 for (int i = 0; i < NUM_CPUS; ++i) { in print_stats() local
46 printf("%s, %d, %u, %llu, 1, %llu\n", tag, i, UPDATE_INTERVAL_S, counters[i], in print_stats()
47 (counters[i] - prev_counters[i]) / UPDATE_INTERVAL_S); in print_stats()
48 prev_counters[i] = counters[i]; in print_stats()
56 for (int i = 0; i < NUM_CPUS; ++i) { in print_group_stats() local
57 count += counters[i]; in print_group_stats()
66 int i; in create_join_common() 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/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/subsys/secure_storage/psa/its/src/
Dmain.c2 * SPDX-License-Identifier: Apache-2.0
7 /* The flash must be erased after this test suite is run for the write-once entry test to pass. */
20 for (unsigned int i = 0; i != MAX_DATA_SIZE; ++i) { in fill_data_buffer() local
21 data[i] = i; in fill_data_buffer()
35 for (unsigned int i = 0; i <= sizeof(written_data); ++i) { in ZTEST() local
37 ret = psa_its_set(UID, i, written_data, PSA_STORAGE_FLAG_NONE); in ZTEST()
43 zassert_equal(info.size, i); in ZTEST()
44 zassert_equal(info.capacity, i); in ZTEST()
48 zassert_equal(data_length, i); in ZTEST()
69 for (unsigned int i = 0; i <= sizeof(read_data); ++i) { in ZTEST() 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 …]

12345678910>>...45