Home
last modified time | relevance | path

Searched +full:0 +full:d (Results 1 – 25 of 1275) sorted by relevance

12345678910>>...51

/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/
DREADME.rst44 D: sensor@0: buf_len = 16, buf = 0x8056430
45 D: sensor@0: buf_len = 16, buf = 0x8056440
46 D: sensor@0: buf_len = 16, buf = 0x8056450
47 D: sensor@0: buf_len = 16, buf = 0x8056460
48 D: Consumed completion event 0
49 D: Consumed completion event 1
50 D: Consumed completion event 2
51 D: Consumed completion event 3
53 D: Sample data:
54 D: 00 01 02 03 04 05 06 07 |........
[all …]
/Zephyr-latest/tests/subsys/logging/log_links/src/
Dmain.c47 uint8_t offset = 0; in log_setup()
50 (void)z_log_links_activate(0xFFFFFFFF, &offset); in log_setup()
115 LOG_LINK_DEF(mock_link1, mock_log_link_api, 0, &mock_link_a);
116 LOG_LINK_DEF(mock_link2, mock_log_link_api, 0, &mock_link_b);
128 "Unexpected number of domains (%d)", domains_cnt); in ZTEST()
136 domains_a[0]->source_cnt, in ZTEST()
138 domains_b[0]->source_cnt, in ZTEST()
144 for (uint8_t d = 0; d < log_domains_count(); d++) { in ZTEST() local
145 uint16_t source_cnt = log_src_cnt_get(d); in ZTEST()
147 zassert_equal(source_cnt, exp_source_cnt[d], in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/audio/codec/src/
Dmain.c33 BT_AUDIO_CODEC_CFG(BT_HCI_CODING_FORMAT_LC3, 0x0000, 0x0000, in ZTEST()
42 zassert_equal(ret, sizeof(expected_data), "Unexpected return value %d", ret); in ZTEST()
43 zassert_equal(data[0], expected_data, "Unexpected return value %d", ret); in ZTEST()
49 BT_AUDIO_CODEC_CFG(BT_HCI_CODING_FORMAT_LC3, 0x0000, 0x0000, in ZTEST()
59 zassert_equal(ret, sizeof(expected_data), "Unexpected return value %d", ret); in ZTEST()
60 zassert_equal(data[0], expected_data, "Unexpected return value %d", ret); in ZTEST()
64 zassert_true(ret > 0, "Unexpected return value %d", ret); in ZTEST()
67 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
68 zassert_equal(data[0], new_expected_data, "Unexpected data value %u", data[0]); in ZTEST()
74 BT_AUDIO_CODEC_CFG(BT_HCI_CODING_FORMAT_LC3, 0x0000, 0x0000, {}, {}); in ZTEST()
[all …]
/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_open_flags.c16 int fd = 0; in test_file_open_flags()
17 int data = 0; in test_file_open_flags()
21 TC_PRINT("Open of non-existent file, flags = 0\n"); in test_file_open_flags()
22 fd = open(THE_FILE, 0); in test_file_open_flags()
23 if (fd >= 0 || errno != ENOENT) { in test_file_open_flags()
24 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
25 if (fd >= 0) { in test_file_open_flags()
33 if (fd >= 0 || errno != ENOENT) { in test_file_open_flags()
34 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
35 if (fd >= 0) { in test_file_open_flags()
[all …]
/Zephyr-latest/include/zephyr/arch/arc/asm-compat/
Dasm-macro-64-bit-gnu.h11 .macro MOVR\cc d, s
12 movl\cc \d, \s
17 .macro LDR\aa d, s, off=0
18 ldl\aa \d, [\s, \off]
23 .macro STR\aa d, s, off=0
24 ; workaround assembler barfing for ST r, [@symb, 0]
25 .if \off == 0
26 stl\aa \d, [\s]
28 stl\aa \d, [\s, \off]
33 .macro STR d, s, off=0
[all …]
Dasm-macro-32-bit-gnu.h11 .macro MOVR\cc d, s
12 mov\cc \d, \s
17 .macro LDR\aa d, s, off=0
18 ld\aa \d, [\s, \off]
23 .macro STR\aa d, s, off=0
24 ; workaround assembler barfing for ST r, [@symb, 0]
25 .if \off == 0
26 st\aa \d, [\s]
28 st\aa \d, [\s, \off]
41 .macro LRR d, aux
[all …]
/Zephyr-latest/samples/subsys/zbus/dyn_channel/
Dsample.yaml48 - "W: 0b 0b 0b 0b 0b 0b 0b 0b |........"
49 - "W: 0b 0b 0b 0b |...."
56 - "W: 0d 0d 0d 0d 0d 0d 0d 0d |........"
57 - "W: 0d 0d 0d 0d 0d 0d |......"
64 - "W: 0f 0f 0f 0f 0f 0f 0f 0f |........"
65 - "W: 0f 0f 0f 0f 0f 0f 0f 0f |........"
DREADME.rst66 W: 0b 0b 0b 0b 0b 0b 0b 0b |........
67 W: 0b 0b 0b 0b |....
74 W: 0d 0d 0d 0d 0d 0d 0d 0d |........
75 W: 0d 0d 0d 0d 0d 0d |......
82 W: 0f 0f 0f 0f 0f 0f 0f 0f |........
83 W: 0f 0f 0f 0f 0f 0f 0f 0f |........
/Zephyr-latest/tests/drivers/led/led_api/src/
Dtest_led_api.c13 #define COLOR_FULL 0xff
26 .index = DT_PROP_OR(led_node_id, index, 0), \
35 .index = DT_PROP_OR(led_node_id, index, 0), \
36 .num_colors = 0, \
63 zassert_not_equal(num_leds, 0, "No LEDs subnodes found in DT for controller"); in test_led_setup()
77 for (led = 0; led < num_leds; led++) { in ZTEST_USER()
88 zassert_equal(ret, 0, "LED %d - led_get_info() error (ret=%d)", in ZTEST_USER()
92 "LED %d - label: %s instead of %s", in ZTEST_USER()
96 "LED %d - index: %d instead of %d", led, in ZTEST_USER()
100 "LED %d - num_colors: %d instead of %d", led, in ZTEST_USER()
[all …]
/Zephyr-latest/drivers/ipm/
Dipm_mhu.c19 static enum ipm_mhu_cpu_id_t ipm_mhu_get_cpu_id(const struct device *d) in ipm_mhu_get_cpu_id() argument
24 p_mhu_dev_base = (volatile uint32_t *)IPM_MHU_REGS(d); in ipm_mhu_get_cpu_id()
33 static uint32_t ipm_mhu_get_status(const struct device *d, in ipm_mhu_get_status() argument
43 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_get_status()
58 static int ipm_mhu_send(const struct device *d, int wait, uint32_t cpu_id, in ipm_mhu_send() argument
63 const uint32_t set_val = 0x01; in ipm_mhu_send()
75 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_send()
87 return 0; in ipm_mhu_send()
90 static void ipm_mhu_clear_val(const struct device *d, in ipm_mhu_clear_val() argument
96 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_clear_val()
[all …]
/Zephyr-latest/doc/services/input/
Ddiodes-cr.svg6 viewBox="0 0 65.379601 56.489601"
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
33 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
37 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
41 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
45 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
49 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
53 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
[all …]
Ddiodes-rc.svg6 viewBox="0 0 65.379593 65.435203"
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
33 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
37 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
41 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
45 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
49 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
53 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
[all …]
Dno-sw4.svg6 viewBox="0 0 60.299599 41.305198"
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
33 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
37 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
41 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
45 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
49 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
53 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
[all …]
Dno-diodes.svg6 viewBox="0 0 60.299603 41.305198"
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
33 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
37 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
41 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
45 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
49 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-…
53 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-…
[all …]
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_mkfs.c22 int ret = 0; in test_fs_mkfs_simple()
29 zassert_equal(ret, -EFAULT, "Expected EFAULT got %d", ret); in test_fs_mkfs_simple()
31 zassert_equal(ret, -ENODEV, "Expected ENODEV got %d", ret); in test_fs_mkfs_simple()
36 zassert_equal(ret, 0, "Expected successful mkfs (%d)", ret); in test_fs_mkfs_simple()
41 zassert_equal(ret, 0, "Expected successful mount (%d)", ret); in test_fs_mkfs_simple()
43 zassert_equal(ret, 0, "Expected fs_unmount success (%d)", ret); in test_fs_mkfs_simple()
49 int ret = 0; in test_fs_mkfs_ops()
59 fs_mkfs_mp->flags = 0; in test_fs_mkfs_ops()
61 zassert_equal(ret, 0, "Expected success (%d)", ret); in test_fs_mkfs_ops()
64 zassert_equal(ret, 0, "Expected success fs_open(FS_O_CREATE) (%d)", in test_fs_mkfs_ops()
[all …]
/Zephyr-latest/samples/sensor/grow_r502a/src/
Dmain.c22 if (ret != 0) { in finger_find()
23 printk("Capture fingerprint failed %d\n", ret); in finger_find()
29 if (ret != 0) { in finger_find()
30 printk("Find fingerprint failed %d\n", ret); in finger_find()
33 printk("Matched ID : %d\n", find.val1); in finger_find()
34 printk("confidence : %d\n", find.val2); in finger_find()
43 if (ret != 0) { in finger_enroll()
44 printk("Capture fingerprint failed %d\n", ret); in finger_enroll()
50 if (ret != 0) { in finger_enroll()
51 printk("Create template failed %d\n", ret); in finger_enroll()
[all …]
/Zephyr-latest/tests/kernel/common/src/
Dbitfield.c14 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5))
18 #define BIT_VAL(bit) (1 << (bit & 0x7))
39 uint32_t b1 = 0U; in ZTEST()
40 unsigned char b2[BITFIELD_SIZE >> 3] = { 0 }; in ZTEST()
46 for (bit = 0U; bit < 32; ++bit) { in ZTEST()
50 "sys_set_bit failed on bit %d\n", bit); in ZTEST()
53 "sys_test_bit did not detect bit %d\n", bit); in ZTEST()
56 zassert_equal(b1, 0, "sys_clear_bit failed for bit %d\n", bit); in ZTEST()
59 "sys_test_bit erroneously detected bit %d\n", in ZTEST()
64 " detected bit %d\n", bit); in ZTEST()
[all …]
Dbitarray.c17 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5))
21 #define BIT_VAL(bit) (1 << (bit & 0x7))
35 for (i = 0; i < sz; i++) { in cmp_u32_arrays()
38 printk("%s: [%zu] 0x%x != 0x%x", __func__, in cmp_u32_arrays()
51 #define FREE 0U
69 for (i = 0; i < num_bundles; i++) { in validate_bitarray_define()
109 for (i = 0; i < ba->num_bundles; i++) { in bitarray_bundles_is_zero()
110 if (ba->bundles[i] != 0) { in bitarray_bundles_is_zero()
141 for (bit = 0U; bit < ba.num_bits; ++bit) { in ZTEST()
142 bundle_idx = bit / (sizeof(ba.bundles[0]) * 8); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c15 uint32_t blocks = 0; in calculate_blocks()
34 uint32_t partial = r > 0 ? 1 : 0; in calculate_blocks()
44 int64_t ret = 0; in write_to_file()
50 zassert_equal(ret, 0, "File open failed (ret=%d)", ret); in write_to_file()
52 ret = testfs_write_incrementing(&file, 0, bytes_to_write); in write_to_file()
57 zassert_equal(ret, 0, "File close failed (ret=%d)", ret); in write_to_file()
62 zassert_equal(ret, 0, "File stat failed (ret=%d)", ret); in write_to_file()
64 "Wrong file size %d (expected %d)", entry.size, in write_to_file()
69 zassert_equal(ret, 0, "File open failed (ret=%d)", ret); in write_to_file()
72 ret = testfs_verify_incrementing(&file, 0, bytes_to_write); in write_to_file()
[all …]
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_mount_flags.c20 int ret = 0; in test_mount_flags()
26 mp.flags = 0; in test_mount_flags()
29 zassert_equal(ret, 0, "Expected success (%d)", ret); in test_mount_flags()
32 zassert_equal(ret, 0, "Expected success fs_open(FS_O_CREATE) (%d)", in test_mount_flags()
35 zassert_equal(ret, 0, "Expected fs_close success (%d)", ret); in test_mount_flags()
38 zassert_equal(ret, 0, "Expected fs_mkdir success (%d)", ret); in test_mount_flags()
40 zassert_equal(ret, 0, "Expected fs_umount success (%d)", ret); in test_mount_flags()
46 zassert_equal(ret, 0, "Expected fs_mount success (%d)", ret); in test_mount_flags()
50 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
52 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
[all …]
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_forwarding_pio.cpp25 for (uint8_t data = 0; data < 10; ++data) { in ZTEST()
29 emulated_target_config[0].address)); in ZTEST()
32 zexpect_equal(0, target_read_requested_0_fake.call_count); in ZTEST()
33 zexpect_equal(0, target_read_processed_0_fake.call_count); in ZTEST()
37 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
40 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
50 "Expected to be called %d times, got %d", expected_call_count, in ZTEST()
58 for (uint8_t i = 0; i < 10; ++i) { in ZTEST()
60 static_cast<uint8_t>(0x1 * i), in ZTEST()
61 static_cast<uint8_t>(0x2 * i), in ZTEST()
[all …]
/Zephyr-latest/samples/drivers/led/lp50xx/src/
Dmain.c33 { 0xFF, 0x00, 0x00 }, /* Red */
34 { 0x00, 0xFF, 0x00 }, /* Green */
35 { 0x00, 0x00, 0xFF }, /* Blue */
36 { 0xFF, 0xFF, 0xFF }, /* White */
37 { 0xFF, 0xFF, 0x00 }, /* Yellow */
38 { 0xFF, 0x00, 0xFF }, /* Purple */
39 { 0x00, 0xFF, 0xFF }, /* Cyan */
40 { 0xF4, 0x79, 0x20 }, /* Orange */
52 for (color = 0; color < info->num_colors; color++) { in prepare_color_buffer()
55 buf[color] = colors[color_idx][0]; in prepare_color_buffer()
[all …]
/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c20 * - no bytes available to read after timeout, r: 0 (timeout)
21 * - no bytes available to write after timeout, r: 0 (timeout)
29 memset(fds, 0, sizeof(fds)); in test_socketpair_poll_timeout_common()
30 fds[0].fd = fixture->sv[0]; in test_socketpair_poll_timeout_common()
31 fds[0].events |= ZSOCK_POLLIN; in test_socketpair_poll_timeout_common()
33 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in test_socketpair_poll_timeout_common()
35 for (size_t i = 0; i < CONFIG_NET_SOCKETPAIR_BUFFER_SIZE; ++i) { in test_socketpair_poll_timeout_common()
36 res = zsock_send(fixture->sv[0], "x", 1, 0); in test_socketpair_poll_timeout_common()
37 zassert_equal(res, 1, "send() failed: %d", res); in test_socketpair_poll_timeout_common()
40 memset(fds, 0, sizeof(fds)); in test_socketpair_poll_timeout_common()
[all …]
/Zephyr-latest/tests/posix/common/src/
Dnanosleep.c15 #define SELECT_CLOCK_NANOSLEEP 0
47 errno = 0; in common_errors()
51 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_errors()
52 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors()
55 errno = 0; in common_errors()
56 req = (struct timespec){.tv_sec = -1, .tv_nsec = 0}; in common_errors()
60 errno = 0; in common_errors()
61 req = (struct timespec){.tv_sec = 0, .tv_nsec = -1}; in common_errors()
65 errno = 0; in common_errors()
71 errno = 0; in common_errors()
[all …]
/Zephyr-latest/tests/drivers/eeprom/api/src/
Dmain.c20 zassert_not_equal(0, size, "Unexpected size of zero bytes"); in ZTEST_USER()
26 const uint8_t data[4] = { 0x01, 0x02, 0x03, 0x03 }; in ZTEST_USER()
33 zassert_equal(-EINVAL, rc, "Unexpected error code (%d)", rc); in ZTEST_USER()
39 const uint8_t wr_buf1[4] = { 0xFF, 0xEE, 0xDD, 0xCC }; in ZTEST_USER()
40 const uint8_t wr_buf2[sizeof(wr_buf1)] = { 0xAA, 0xBB, 0xCC, 0xDD }; in ZTEST_USER()
48 address = 0; in ZTEST_USER()
51 zassert_equal(0, rc, "Unexpected error code (%d)", rc); in ZTEST_USER()
54 zassert_equal(0, rc, "Unexpected error code (%d)", rc); in ZTEST_USER()
57 zassert_equal(0, rc, "Unexpected error code (%d)", rc); in ZTEST_USER()
62 address = 0; in ZTEST_USER()
[all …]

12345678910>>...51