Home
last modified time | relevance | path

Searched full:i (Results 1 – 25 of 3543) sorted by relevance

12345678910>>...142

/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.rst61 I: --------------
62 I: 0 -> T1: prio before 5
63 I: 0 ---> L1: T1 prio 5
64 I: 0 -> MS1: T1 prio 5
65 I: 0 -> MS2: T1 prio 5
66 I: 0 ---> L2: T1 prio 5
67 I: 0 -> T1: prio after 5
68 I: N -> S1: T1 prio 5
69 I: 0 -> S1: T1 prio 5
70 I: --------------
[all …]
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt12 NamedType ErrCodePosix *=%i 0=ESUCCESS -1=EPERM -2=ENOENT -3=ESRCH -4=EINTR …
13 NamedType ErrCodeMath *=%i 0=ESUCCESS -37=EDOM -38=ERANGE
14 NamedType ErrCodeNetArg *=%i 0=ESUCCESS -40=EDESTADDRREQ -41=EPROTOTYPE -42=ENOPROTOOPT -43=EPROTO…
15 NamedType ErrCodeNetOps *=%i 0=ESUCCESS -51=ENETUNREACH -52=ENETRESET -53=ECONNABORTED -54=ECONNR…
16 NamedType ErrCodeNetIO *=%i 0=ESUCCESS -68=EINPROGRESS -69=EALREADY -11=EWOULDBLOCK -71=ENOSYS
17 NamedType ErrCodeStream *=%i 0=ESUCCESS -74=ENOSR -75=ENOSTR -76=EPROTO -77=EBADMS…
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.S15 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
26 ae_s64.i aed8, a2, 0
27 ae_s64.i aed9, a2, 8
[all …]
/Zephyr-latest/tests/boards/intel_adsp/mm/src/
Dmain.c42 for (int i = 0; i < N_PAGES; i++) { local
44 pa[i] = POINTER_TO_UINT(&page_buf[i]);
56 for (int i = 0; i < N_PAGES; i++) { local
57 vps[i].mem[0] = markers[i];
63 sys_cache_data_flush_range(&vps[i].mem[0], PAGE_SZ);
66 * pa[i] is a cached address which means that the cached
71 sys_cache_data_invd_range(UINT_TO_POINTER(pa[i]), PAGE_SZ);
75 for (int i = 0; i < N_PAGES; i++) { local
76 zassert_equal(vps[i].mem[0], *(uint32_t *)pa[i],
78 vps[i].mem[0], *(uint32_t *)pa[i]);
[all …]
/Zephyr-latest/tests/benchmarks/posix/threads/src/
Dmain.c28 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
72 for (i = 0; i < NUM_CPUS; ++i) { in create_join_common()
[all …]
/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h80 #define IF_USB_AUDIO_PROP_HP(i, prop, bitmask) \ argument
81 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_HP), prop), (bitmask), (0))
82 #define IF_USB_AUDIO_PROP_MIC(i, prop, bitmask) \ argument
83 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_MIC), prop), (bitmask), (0))
84 #define IF_USB_AUDIO_PROP_HS_HP(i, prop, bitmask) \ argument
85 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_HS), hp_##prop), (bitmask), (0))
86 #define IF_USB_AUDIO_PROP_HS_MIC(i, prop, bitmask) \ argument
87 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_HS), mic_##prop), (bitmask), (0))
88 #define IF_USB_AUDIO_PROP(dev, i, prop, bitmask) \ argument
89 IF_USB_AUDIO_PROP_##dev(i, prop, bitmask)
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_stop.c48 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()
92 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_initiator_test_unicast_stop_after() local
93 mock_bt_conn_disconnected(&fixture->conns[i], BT_HCI_ERR_REMOTE_USER_TERM_CONN); in cap_initiator_test_unicast_stop_after()
121 for (size_t i = 0U; i < ARRAY_SIZE(streams); i++) { in ZTEST_F() local
122 streams[i] = &fixture->cap_streams[i]; in ZTEST_F()
[all …]
Dtest_unicast_start.c47 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()
58 for (size_t i = 0U; i < ARRAY_SIZE(fixture->eps); i++) { in cap_initiator_test_unicast_start_fixture_init() local
59 fixture->eps[i].dir = (i & 1) + 1; /* Makes it either 1 or 2 (sink or source)*/ in cap_initiator_test_unicast_start_fixture_init()
90 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_initiator_test_unicast_start_after() local
91 mock_bt_conn_disconnected(&fixture->conns[i], BT_HCI_ERR_REMOTE_USER_TERM_CONN); in cap_initiator_test_unicast_start_after()
118 for (size_t i = 0U; i < ARRAY_SIZE(stream_params); i++) { in ZTEST_F() local
119 stream_params[i].stream = &fixture->cap_streams[i]; in ZTEST_F()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_queue/src/
Dmain.c58 for (int i = 0U; i < SIZE; i++) { in ZTEST() local
59 ull_tx_q_enqueue_ctrl(&tx_q, &ctrl_nodes1[i]); in ZTEST()
63 for (int i = 0U; i < SIZE; i++) { in ZTEST() local
65 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST()
87 for (int i = 0U; i < SIZE; i++) { in ZTEST() local
88 ull_tx_q_enqueue_data(&tx_q, &nodes[i]); in ZTEST()
92 for (int i = 0U; i < SIZE; i++) { in ZTEST() local
94 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST()
117 for (int i = 0U; i < SIZE; i++) { in ZTEST() local
118 ull_tx_q_enqueue_ctrl(&tx_q, &ctrl_nodes1[i]); in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_alarm.c77 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()
88 "Failed to clear and disable alarm %d callback", i); in ZTEST()
92 for (uint16_t i = 0; i < alarms_count; i++) { in ZTEST() local
93 ret = rtc_alarm_get_supported_fields(rtc, i, &alarm_time_mask_supported); in ZTEST()
94 zassert_ok(ret, "Failed to get supported alarm %d fields", i); in ZTEST()
99 ret = rtc_alarm_set_time(rtc, i, test_alarm_time_masks[j], in ZTEST()
[all …]
/Zephyr-latest/samples/userspace/prod_consumer/
DREADME.rst59 I:APP A partition: 0x00110000 4096
60 I:Shared partition: 0x0010e000 4096
61 I:sample_driver_foo_isr: param=0x00147078 count=0
62 I:monitor thread got data payload #0
63 I:sample_driver_foo_isr: param=0x00147078 count=1
64 I:monitor thread got data payload #1
65 I:sample_driver_foo_isr: param=0x00147078 count=2
66 I:monitor thread got data payload #2
67 I:sample_driver_foo_isr: param=0x00147078 count=3
68 I:monitor thread got data payload #3
[all …]
/Zephyr-latest/tests/boards/nrf52_bsim/egu/src/
Dmain.c36 for (int i = 0; i < NRF_NEGUs; i++) { in ZTEST() local
37 zassert_equal(16, nrf_egu_channel_count(EGU[i]), in ZTEST()
38 "NRF_EGU%d incorrect number of channels", i); in ZTEST()
53 for (int i = 0; i < NRF_NEGUs; i++) { in ZTEST() local
55 zassert_equal((size_t)&EGU[i]->TASKS_TRIGGER[j], in ZTEST()
56 nrf_egu_task_address_get(EGU[i], egu_tasks[j]), in ZTEST()
57 "NRF_EGU_%i incorrect address of task trigger %i", i, j); in ZTEST()
75 for (int i = 0; i < NRF_NEGUs; i++) { in ZTEST() local
77 zassert_equal((size_t)&EGU[i]->EVENTS_TRIGGERED[j], in ZTEST()
78 nrf_egu_event_address_get(EGU[i], egu_events[j]), in ZTEST()
[all …]
/Zephyr-latest/samples/subsys/zbus/runtime_obs_registration/
DREADME.rst30 I: System started
31 I: Activating filter
32 I: >-- Raw data fetched
33 I: -|- Filtering data
34 I: --> Consuming data: Acc x=0, y=0, z=0
35 I: >-- Raw data fetched
36 I: -|- Filtering data
37 I: --> Consuming data: Acc x=2, y=2, z=2
38 I: >-- Raw data fetched
39 I: -|- Filtering data
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_vcp.c30 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()
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()
89 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in ZTEST_F() local
92 err = bt_vcp_vol_ctlr_discover(&fixture->conns[i], &vol_ctlr); in ZTEST_F()
114 for (size_t i = 0U; i < ARRAY_SIZE(members); i++) { in ZTEST_F() local
115 members[i].member = &fixture->conns[i]; in ZTEST_F()
[all …]
Dtest_micp.c30 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()
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()
91 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in ZTEST_F() local
94 err = bt_micp_mic_ctlr_discover(&fixture->conns[i], &mic_ctlr); in ZTEST_F()
116 for (size_t i = 0U; i < ARRAY_SIZE(member_params); i++) { in ZTEST_F() local
[all …]
/Zephyr-latest/samples/drivers/memc/src/
Dmain.c33 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()
62 uint32_t i, j; in main() local
[all …]
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c70 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()
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()
86 i / bucket_size, 0, K_NO_WAIT); in start_threads()
92 unsigned int i; in cycles_reset() local
94 for (i = 0; i < num_threads; i++) { in cycles_reset()
95 add_cycles[i] = 0ULL; in cycles_reset()
[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/subsys/portability/cmsis_rtos_v1/src/
Dmempool.c28 int i; in ZTEST() local
37 for (i = 0; i < MAX_BLOCKS; i++) { in ZTEST()
38 addr_list[i] = (struct mem_block *)osPoolAlloc(mempool_id); in ZTEST()
39 zassert_true(addr_list[i] != NULL, "mempool allocation failed"); in ZTEST()
45 addr_list[i] = (struct mem_block *)osPoolAlloc(mempool_id); in ZTEST()
46 zassert_true(addr_list[i] == NULL, "allocation happened." in ZTEST()
49 for (i = 0; i < MAX_BLOCKS; i++) { in ZTEST()
50 status_list[i] = osPoolFree(mempool_id, addr_list[i]); in ZTEST()
51 zassert_true(status_list[i] == osOK, "mempool free failed"); in ZTEST()
54 for (i = 0; i < MAX_BLOCKS; i++) { in ZTEST()
[all …]
/Zephyr-latest/samples/kernel/metairq_dispatch/
DREADME.rst94 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
98 I: M10 T0 mirq 4273 disp 495455 proc 21177 real 28273
99 I: M11 T0 mirq 4273 disp 981565 proc 48337 real 48918
100 I: M14 T0 mirq 4273 disp 1403627 proc 7079 real 7690
101 I: M17 T0 mirq 4273 disp 1810028 proc 42143 real 42925
102 I: M19 T0 mirq 4273 disp 2369217 proc 42471 real 42925
103 I: M20 T0 mirq 4273 disp 2940429 proc 30427 real 30775
104 I: M21 T0 mirq 4273 disp 3524151 proc 35871 real 36850
[all …]
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/
Dsample.yaml12 - "^.*?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$"
34 - "^.*?I: From listener foo_lis -> Acc x=1, y=10, z=100"
35 - "^.*?I: From msg subscriber bar_msg_sub1 -> Acc x=1, y=10, z=100"
36 - "^.*?I: From msg subscriber bar_msg_sub2 -> Acc x=1, y=10, z=100"
37 - "^.*?I: From msg subscriber bar_msg_sub3 -> Acc x=1, y=10, z=100"
38 - "^.*?I: From msg subscriber bar_msg_sub4 -> Acc x=1, y=10, z=100"
39 - "^.*?I: From msg subscriber bar_msg_sub5 -> Acc x=1, y=10, z=100"
40 - "^.*?I: From msg subscriber bar_msg_sub6 -> Acc x=1, y=10, z=100"
[all …]
/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/
Dmain.c20 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
71 ret = psa_its_get(UID, i, sizeof(read_data) - i, read_data, &data_length); in ZTEST()
73 zassert_equal(data_length, sizeof(read_data) - i); in ZTEST()
[all …]
/Zephyr-latest/tests/integration/kernel/src/
Dmain.c39 uint32_t i; in thread_entry_fn_fifo() local
42 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_fifo()
44 zassert_equal(rx_data->value, fifo_data[i].value); in thread_entry_fn_fifo()
48 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_fifo()
49 fifo_data[i].value *= i; in thread_entry_fn_fifo()
50 k_fifo_put((struct k_fifo *)p1, &fifo_data[i]); in thread_entry_fn_fifo()
61 uint32_t i; in ZTEST() local
67 for (i = 0U; i < LIST_LEN; i++) { in ZTEST()
68 fifo_data[i].value = i; in ZTEST()
69 k_fifo_put(&fifo, &fifo_data[i]); in ZTEST()
[all …]
/Zephyr-latest/tests/lib/hash_map/src/
Dload_factor.c20 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()
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()
52 for (size_t i = MANY; i > 0; --i) { in ZTEST() local
53 zassert_equal(true, sys_hashmap_remove(hmap, i - 1, NULL)); in ZTEST()

12345678910>>...142