/Zephyr-Core-3.7.0/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 12 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-Core-3.7.0/samples/subsys/zbus/priority_boost/ |
D | sample.yaml | 10 - "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 …]
|
D | README.rst | 60 I: -------------- 61 I: 0 -> T1: prio before 5 62 I: 0 ---> L1: T1 prio 5 63 I: 0 -> MS1: T1 prio 5 64 I: 0 -> MS2: T1 prio 5 65 I: 0 ---> L2: T1 prio 5 66 I: 0 -> T1: prio after 5 67 I: N -> S1: T1 prio 5 68 I: 0 -> S1: T1 prio 5 69 I: -------------- [all …]
|
/Zephyr-Core-3.7.0/tests/arch/xtensa/save_restore_hifi/src/ |
D | hifi.S | 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 26 ae_s64.i aed8, a2, 0 27 ae_s64.i aed9, a2, 8 [all …]
|
/Zephyr-Core-3.7.0/tests/boards/intel_adsp/mm/src/ |
D | main.c | 42 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-Core-3.7.0/subsys/usb/device/class/audio/ |
D | usb_audio_internal.h | 80 #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-Core-3.7.0/tests/bluetooth/controller/ctrl_tx_queue/src/ |
D | main.c | 58 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-Core-3.7.0/tests/posix/pthread_pressure/src/ |
D | main.c | 26 typedef int (*create_fn)(int i); 27 typedef int (*join_fn)(int i); 45 for (int i = 0; i < NUM_THREADS; ++i) { in print_stats() local 46 printk("Thread %d created and joined %llu times (%llu joins/s)\n", i, 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() 54 int i; in test_create_join_common() local 67 for (i = 0; i < NUM_THREADS; ++i) { in test_create_join_common() 68 /* spawn thread i */ in test_create_join_common() 69 prev_counters[i] = 0; in test_create_join_common() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/rtc/rtc_api/src/ |
D | test_alarm.c | 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() 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-Core-3.7.0/tests/boards/nrf52_bsim/egu/src/ |
D | main.c | 36 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-Core-3.7.0/tests/bluetooth/audio/cap_commander/src/ |
D | test_vcp.c | 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() 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 …]
|
D | test_micp.c | 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() 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-Core-3.7.0/samples/subsys/zbus/runtime_obs_registration/ |
D | README.rst | 30 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-Core-3.7.0/samples/drivers/memc/src/ |
D | main.c | 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() 62 uint32_t i, j; in main() local [all …]
|
/Zephyr-Core-3.7.0/samples/userspace/prod_consumer/ |
D | README.rst | 61 I:APP A partition: 0x00110000 4096 62 I:Shared partition: 0x0010e000 4096 63 I:sample_driver_foo_isr: param=0x00147078 count=0 64 I:monitor thread got data payload #0 65 I:sample_driver_foo_isr: param=0x00147078 count=1 66 I:monitor thread got data payload #1 67 I:sample_driver_foo_isr: param=0x00147078 count=2 68 I:monitor thread got data payload #2 69 I:sample_driver_foo_isr: param=0x00147078 count=3 70 I:monitor thread got data payload #3 [all …]
|
/Zephyr-Core-3.7.0/samples/subsys/zbus/hello_world/ |
D | sample.yaml | 10 - "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-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | mempool.c | 28 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-Core-3.7.0/samples/kernel/metairq_dispatch/ |
D | README.rst | 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 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-Core-3.7.0/samples/subsys/zbus/msg_subscriber/ |
D | sample.yaml | 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$" 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 …]
|
D | README.rst | 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 36 I: From msg subscriber bar_msg_sub1 -> Acc x=1, y=10, z=100 37 I: From msg subscriber bar_msg_sub2 -> Acc x=1, y=10, z=100 38 I: From msg subscriber bar_msg_sub3 -> Acc x=1, y=10, z=100 39 I: From msg subscriber bar_msg_sub4 -> Acc x=1, y=10, z=100 40 I: From msg subscriber bar_msg_sub5 -> Acc x=1, y=10, z=100 41 I: From msg subscriber bar_msg_sub6 -> Acc x=1, y=10, z=100 42 I: From msg subscriber bar_msg_sub7 -> Acc x=1, y=10, z=100 [all …]
|
/Zephyr-Core-3.7.0/tests/integration/kernel/src/ |
D | main.c | 39 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-Core-3.7.0/tests/net/lib/lwm2m/content_plain_text/src/ |
D | main.c | 69 int i; in ZTEST() local 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() 79 expected_payload[i], in ZTEST() 80 strlen(expected_payload[i]), in ZTEST() 83 offset += strlen(expected_payload[i]); in ZTEST() 100 int i; in ZTEST() local 105 for (i = 0; i < ARRAY_SIZE(expected_payload); i++) { in ZTEST() 106 ret = plain_text_writer.put_s16(&test_out, &test_path, value[i]); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/lib/hash_map/src/ |
D | load_factor.c | 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() 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()
|
/Zephyr-Core-3.7.0/tests/lib/cmsis_dsp/common/ |
D | math_helper.h | 80 uint32_t i; in arm_snr_f64() local 83 for (i = 0; i < buffSize; i++) { in arm_snr_f64() 85 IFNANRETURNZERO(pRef[i]); in arm_snr_f64() 88 IFNANRETURNZERO(pTest[i]); in arm_snr_f64() 90 EnergySignal += pRef[i] * pRef[i]; in arm_snr_f64() 91 EnergyError += (pRef[i] - pTest[i]) * (pRef[i] - pTest[i]); in arm_snr_f64() 110 uint32_t i; in arm_snr_f32() local 113 for (i = 0; i < buffSize; i++) { in arm_snr_f32() 115 IFNANRETURNZERO(pRef[i]); in arm_snr_f32() 118 IFNANRETURNZERO(pTest[i]); in arm_snr_f32() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/sched/deadline/src/ |
D | main.c | 53 int i; in ZTEST() local 61 for (i = 0; i < NUM_THREADS; i++) { in ZTEST() 62 worker_tids[i] = k_thread_create(&worker_threads[i], in ZTEST() 63 worker_stacks[i], STACK_SIZE, in ZTEST() 64 worker, INT_TO_POINTER(i), NULL, NULL, in ZTEST() 83 thread_deadlines[i] = sys_rand32_get() & 0x3fffff00; in ZTEST() 91 for (i = 0; i < NUM_THREADS; i++) { in ZTEST() 92 k_thread_deadline_set(&worker_threads[i], thread_deadlines[i]); in ZTEST() 101 for (i = 1; i < NUM_THREADS; i++) { in ZTEST() 102 int d0 = thread_deadlines[exec_order[i-1]]; in ZTEST() [all …]
|