/Zephyr-latest/include/zephyr/arch/arc/asm-compat/ |
D | asm-macro-32-bit-mwdt.h | 8 .macro MOVR, d, s 9 mov\&$suffix d, s 13 .macro LDR, d, s, off 15 ld\&$suffix d, [s] 17 ld\&$suffix d, [s, off] 21 .macro STR, d, s, off 23 st\&$suffix d, [s] 25 st\&$suffix d, [s, off] 47 .macro ADDR, d, s, v 48 add\&$suffix d, s, v [all …]
|
D | asm-macro-64-bit-mwdt.h | 8 .macro MOVR, d, s 9 movl\&$suffix d, s 13 .macro LDR, d, s, off 15 ldl\&$suffix d, [s] 17 ldl\&$suffix d, [s, off] 21 .macro STR, d, s, off 23 stl\&$suffix d, [s] 25 stl\&$suffix d, [s, off] 47 .macro ADDR, d, s, v 48 addl\&$suffix d, s, v [all …]
|
D | asm-macro-64-bit-gnu.h | 11 .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 26 stl\aa \d, [\s] 28 stl\aa \d, [\s, \off] 33 .macro STR d, s, off=0 35 stl \d, [\s] 38 STR.as \d, \s, \off / 8 [all …]
|
D | asm-macro-32-bit-gnu.h | 11 .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 26 st\aa \d, [\s] 28 st\aa \d, [\s, \off] 50 .macro ADDR\cc d, s, v 51 add\cc \d, \s, \v 56 .macro ADD2R\cc d, s, v [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | macros.bnf | 26 node-macro =/ %s"DT_N" path-id %s"_EXISTS" macro 27 ; Bus macros: the plain BUS is a way to access a node's bus controller. 28 ; The additional dt-name suffix is added to match that node's bus type; 30 node-macro =/ %s"DT_N" path-id %s"_BUS" ["_" dt-name] macro 32 node-macro =/ %s"DT_N" path-id %s"_REG_NUM" macro 33 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT "_EXISTS" macro 34 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT macro 35 %s"_VAL_" ( %s"ADDRESS" / %s"SIZE") macro 36 node-macro =/ %s"DT_N" path-id %s"_REG_NAME_" dt-name macro 37 %s"_VAL_" ( %s"ADDRESS" / %s"SIZE") macro [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_shell.c | 2 * Copyright (c) 2023, Prevas A/S <kim.bondergaard@prevas.dk> 19 static const char *consume_chars(const char *s, char *dest, unsigned int cnt) in consume_chars() argument 21 if (strlen(s) < cnt) { in consume_chars() 25 memcpy(dest, s, cnt); in consume_chars() 28 return s + cnt; in consume_chars() 31 static const char *consume_char(const char *s, char ch) in consume_char() argument 33 if (*s != ch) { in consume_char() 36 return ++s; in consume_char() 39 static const char *consume_date(const char *s, struct tm *tm_time) in consume_date() argument 45 s = consume_chars(s, year, 4); in consume_date() [all …]
|
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/ |
D | smf_calculator_thread.c | 97 static int calculate_result(struct s_object *s) in calculate_result() argument 99 double operand_1 = strtod(s->operand_1.string, NULL); in calculate_result() 100 double operand_2 = strtod(s->operand_2.string, NULL); in calculate_result() 104 switch (s->operator_btn) { in calculate_result() 143 strncpy(s->result.string, result_string, CALCULATOR_STRING_LENGTH - 1); in calculate_result() 144 s->result.string[CALCULATOR_STRING_LENGTH - 1] = 0x00; in calculate_result() 145 s->result.index = strlen(s->result.string); in calculate_result() 151 static void chain_calculations(struct s_object *s) in chain_calculations() argument 153 copy_operand(&s->operand_1, &s->result); in chain_calculations() 154 setup_operand(&s->operand_2); in chain_calculations() [all …]
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_string_format_test.c | 19 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_switched_out() 27 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_switched_in() 32 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_priority_set() 38 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_create() 43 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_start() 48 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_abort() 53 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_suspend() 58 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_resume() 63 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_resume_exit() 68 TRACING_STRING("%s: %p\n", __func__, thread); in sys_trace_k_thread_ready() [all …]
|
/Zephyr-latest/tests/bluetooth/host/keys/mocks/ |
D | settings_expects.c | 16 zassert_equal(bt_settings_encode_key_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_settings_encode_key_with_not_null_key() 19 "'%s()' was called with incorrect '%s' value", func_name, "path"); in expect_single_call_bt_settings_encode_key_with_not_null_key() 21 "'%s()' was called with incorrect '%s' value", func_name, "path_size"); in expect_single_call_bt_settings_encode_key_with_not_null_key() 23 "'%s()' was called with incorrect '%s' value", func_name, "subsys"); in expect_single_call_bt_settings_encode_key_with_not_null_key() 25 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_settings_encode_key_with_not_null_key() 27 "'%s()' was called with incorrect '%s' value", func_name, "key"); in expect_single_call_bt_settings_encode_key_with_not_null_key() 35 "'%s()' was called more than once (%d)", func_name, in expect_single_call_bt_settings_encode_key_with_null_key() 38 "'%s()' was called with incorrect '%s' value", func_name, "path"); in expect_single_call_bt_settings_encode_key_with_null_key() 40 "'%s()' was called with incorrect '%s' value", func_name, "path_size"); in expect_single_call_bt_settings_encode_key_with_null_key() 42 "'%s()' was called with incorrect '%s' value", func_name, "subsys"); in expect_single_call_bt_settings_encode_key_with_null_key() [all …]
|
/Zephyr-latest/drivers/disk/nvme/ |
D | nvme_namespace.h | 126 void nvme_namespace_data_swapbytes(struct nvme_namespace_data *s) in nvme_namespace_data_swapbytes() argument 131 s->nsze = sys_le64_to_cpu(s->nsze); in nvme_namespace_data_swapbytes() 132 s->ncap = sys_le64_to_cpu(s->ncap); in nvme_namespace_data_swapbytes() 133 s->nuse = sys_le64_to_cpu(s->nuse); in nvme_namespace_data_swapbytes() 134 s->nawun = sys_le16_to_cpu(s->nawun); in nvme_namespace_data_swapbytes() 135 s->nawupf = sys_le16_to_cpu(s->nawupf); in nvme_namespace_data_swapbytes() 136 s->nacwu = sys_le16_to_cpu(s->nacwu); in nvme_namespace_data_swapbytes() 137 s->nabsn = sys_le16_to_cpu(s->nabsn); in nvme_namespace_data_swapbytes() 138 s->nabo = sys_le16_to_cpu(s->nabo); in nvme_namespace_data_swapbytes() 139 s->nabspf = sys_le16_to_cpu(s->nabspf); in nvme_namespace_data_swapbytes() [all …]
|
D | nvme.h | 341 void nvme_controller_data_swapbytes(struct nvme_controller_data *s) in nvme_controller_data_swapbytes() argument 344 s->vid = sys_le16_to_cpu(s->vid); in nvme_controller_data_swapbytes() 345 s->ssvid = sys_le16_to_cpu(s->ssvid); in nvme_controller_data_swapbytes() 346 s->ctrlr_id = sys_le16_to_cpu(s->ctrlr_id); in nvme_controller_data_swapbytes() 347 s->ver = sys_le32_to_cpu(s->ver); in nvme_controller_data_swapbytes() 348 s->rtd3r = sys_le32_to_cpu(s->rtd3r); in nvme_controller_data_swapbytes() 349 s->rtd3e = sys_le32_to_cpu(s->rtd3e); in nvme_controller_data_swapbytes() 350 s->oaes = sys_le32_to_cpu(s->oaes); in nvme_controller_data_swapbytes() 351 s->ctratt = sys_le32_to_cpu(s->ctratt); in nvme_controller_data_swapbytes() 352 s->rrls = sys_le16_to_cpu(s->rrls); in nvme_controller_data_swapbytes() [all …]
|
/Zephyr-latest/samples/subsys/logging/dictionary/src/ |
D | main.c | 30 char *s = "static str"; in main() local 34 void *p = s; in main() 36 printk("Hello World! %s\n", CONFIG_BOARD); in main() 48 snprintk(&vs0[0], sizeof(vs0), "%s", "dynamic str"); in main() 51 snprintk(&vs1[0], sizeof(vs1), "%s", "another dynamic str"); in main() 54 LOG_DBG("s str %s %s", s, s1); in main() 55 LOG_DBG("d str %s", vs0); in main() 56 LOG_DBG("mixed str %s %s %s %s %s %s %s", vs0, "---", vs0, "---", vs1, "---", vs1); in main() 57 LOG_DBG("mixed c/s %c %s %s %s %c", c, s, vs0, s, c); in main() 80 LOG_ERR("demo %s", argc > 1 ? argv[1] : ""); in rt_demo_cmd() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/mocks/ |
D | smp_expects.c | 17 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_generate_sc_data() 25 "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_smp_le_oob_generate_sc_data() 32 zassert_equal(bt_smp_le_oob_set_tk_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_smp_le_oob_set_tk() 36 "'%s()' was called with incorrect '%s' value", func_name, "conn"); in expect_single_call_bt_smp_le_oob_set_tk() 38 "'%s()' was called with incorrect '%s' value", func_name, "tk"); in expect_single_call_bt_smp_le_oob_set_tk() 48 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_set_sc_data() 51 "'%s()' was called with incorrect '%s' value", func_name, "conn"); in expect_single_call_bt_smp_le_oob_set_sc_data() 53 "'%s()' was called with incorrect '%s' value", func_name, "oobd_local"); in expect_single_call_bt_smp_le_oob_set_sc_data() 55 "'%s()' was called with incorrect '%s' value", func_name, "oobd_remote"); in expect_single_call_bt_smp_le_oob_set_sc_data() 65 "'%s()' was called more than once", func_name); in expect_single_call_bt_smp_le_oob_get_sc_data() [all …]
|
D | hci_core_expects.c | 17 zassert_equal(bt_unpair_fake.call_count, 1, "'%s()' was called more than once", func_name); in expect_single_call_bt_unpair() 19 zassert_equal(bt_unpair_fake.arg0_val, id, "'%s()' was called with incorrect '%s' value", in expect_single_call_bt_unpair() 24 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_unpair() 27 "'%s()' was called with incorrect '%s' value", func_name, "addr"); in expect_single_call_bt_unpair() 35 zassert_equal(bt_unpair_fake.call_count, 0, "'%s()' was called unexpectedly", func_name); in expect_not_called_bt_unpair() 42 zassert_equal(bt_hci_cmd_create_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_create() 46 "'%s()' was called with incorrect '%s' value", func_name, "opcode"); in expect_single_call_bt_hci_cmd_create() 48 "'%s()' was called with incorrect '%s' value", func_name, "param_len"); in expect_single_call_bt_hci_cmd_create() 55 zassert_equal(bt_hci_cmd_create_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_bt_hci_cmd_create() 63 zassert_equal(bt_hci_cmd_send_sync_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_bt_hci_cmd_send_sync() [all …]
|
/Zephyr-latest/tests/arch/arm/arm_runtime_nmi/ |
D | README.txt | 34 Trigger NMI in 10s: 0 s 35 Trigger NMI in 10s: 1 s 36 Trigger NMI in 10s: 2 s 37 Trigger NMI in 10s: 3 s 38 Trigger NMI in 10s: 4 s 39 Trigger NMI in 10s: 5 s 40 Trigger NMI in 10s: 6 s 41 Trigger NMI in 10s: 7 s 42 Trigger NMI in 10s: 8 s 43 Trigger NMI in 10s: 9 s
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 123 file. It's your fault if there's no backup or git 160 for ($text =~ /(?:(?:\bCHK|\bWARN|\bERROR|&\{\$msg_level})\s*\(|\$msg_type\s*=)\s*"([^"]+)"/g) { 181 $line =~ s/\s*\n?$//g; 182 $line =~ s/^\s*//g; 183 $line =~ s/\s+/ /g; 185 next if ($line =~ m/^\s*#/); 186 next if ($line =~ m/^\s*$/); 198 # Perl's Getopt::Long allows options to take optional arguments after a space. 218 'ignore=s' => \@ignore, 219 'exclude=s' => \@exclude, [all …]
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | gptp.c | 39 PR("%2d %p [%d] \t%s\n", port, iface, net_if_get_by_iface(iface), in gptp_port_cb() 300 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info() 314 PR("AS capable : %s\n", port_ds->as_capable ? "yes" : "no"); in gptp_print_port_info() 318 ": %s\n", port_ds->ptt_port_enabled ? "yes" : "no"); in gptp_print_port_info() 320 ": %s\n", port_ds->is_measuring_delay ? "yes" : "no"); in gptp_print_port_info() 321 PR("One way propagation time on %s : %u ns\n", in gptp_print_port_info() 324 PR("Propagation time threshold for %s : %u ns\n", in gptp_print_port_info() 331 PR("Maximum interval between sync %s " in gptp_print_port_info() 336 PR("Current Sync %s : %d\n", in gptp_print_port_info() 338 PR("Current Path Delay Request %s : %d\n", in gptp_print_port_info() [all …]
|
/Zephyr-latest/lib/libc/minimal/source/string/ |
D | strspn.c | 10 size_t strspn(const char *s, in strspn() argument 13 const char *ins = s; in strspn() 15 while ((*s != '\0') && (strchr(accept, *s) != NULL)) { in strspn() 16 ++s; in strspn() 19 return s - ins; in strspn() 22 size_t strcspn(const char *s, in strcspn() argument 25 const char *ins = s; in strcspn() 27 while ((*s != '\0') && (strchr(reject, *s) == NULL)) { in strcspn() 28 ++s; in strcspn() 31 return s - ins; in strcspn()
|
/Zephyr-latest/tests/drivers/can/timing/ |
D | Kconfig | 1 # Copyright (c) 2024 Vestas Wind Systems A/S 15 - 10 kbit/s 16 - 20 kbit/s 17 - 50 kbit/s 18 - 125 kbit/s 19 - 250 kbit/s 20 - 500 kbit/s 21 - 800 kbit/s 22 - 1 Mbit/s 25 - 1.0 Mbit/s [all …]
|
/Zephyr-latest/tests/subsys/logging/dictionary/src/ |
D | main.c | 31 char *s = "static str"; in main() local 35 void *p = s; in main() 37 printk("Hello World! %s\n", CONFIG_BOARD); in main() 49 snprintk(&vs0[0], sizeof(vs0), "%s", "dynamic str"); in main() 52 snprintk(&vs1[0], sizeof(vs1), "%s", "another dynamic str"); in main() 55 LOG_DBG("s str %s %s", s, s1); in main() 56 LOG_DBG("d str %s", vs0); in main() 57 LOG_DBG("mixed str %s %s %s %s %s %s %s", vs0, "---", vs0, "---", vs1, "---", vs1); in main() 58 LOG_DBG("mixed c/s %c %s %s %s %c", c, s, vs0, s, c); in main() 93 LOG_ERR("demo %s", argc > 1 ? argv[1] : ""); in rt_demo_cmd() [all …]
|
/Zephyr-latest/samples/sensor/icm42605/ |
D | README.rst | 41 accel -5.882554 -6.485893 5.868188 m/s/s 42 gyro 0.014522 0.002264 -0.036905 rad/s 44 accel -5.841853 -6.435615 5.911283 m/s/s 45 gyro 0.017852 0.001199 -0.034640 rad/s 47 accel -5.930438 -6.461951 6.009446 m/s/s 48 gyro 0.012923 0.002131 -0.037171 rad/s 50 accel -5.884948 -6.524200 5.961562 m/s/s 51 gyro 0.012390 -0.001732 -0.045964 rad/s 53 accel -5.863400 -12.872426 -0.154427 m/s/s 54 gyro -0.034373 -0.034373 -0.034373 rad/s [all …]
|
/Zephyr-latest/samples/sensor/mpu6050/ |
D | README.rst | 43 accel -5.882554 -6.485893 5.868188 m/s/s 44 gyro 0.014522 0.002264 -0.036905 rad/s 46 accel -5.841853 -6.435615 5.911283 m/s/s 47 gyro 0.017852 0.001199 -0.034640 rad/s 49 accel -5.930438 -6.461951 6.009446 m/s/s 50 gyro 0.012923 0.002131 -0.037171 rad/s 52 accel -5.884948 -6.524200 5.961562 m/s/s 53 gyro 0.012390 -0.001732 -0.045964 rad/s 55 accel -5.863400 -12.872426 -0.154427 m/s/s 56 gyro -0.034373 -0.034373 -0.034373 rad/s [all …]
|
/Zephyr-latest/tests/cmake/zephyr_get/ |
D | CMakeLists.txt | 42 message(${mode} "$CACHE{ASSERT_FAIL_COUNT} assertion(s) failed") 114 # Environment value is cached after it's retrieved. 242 # This image's LOCAL and GLOBAL are identical; duplicates are removed. 367 set(ENV{TESTCASE_VARIABLE} "environment s") 368 set(TESTCASE_VARIABLE "cmake cache s" CACHE INTERNAL "") 369 set(TESTCASE_VARIABLE "local s") 373 IMAGE no_sysbuild "cmake cache s" 380 IMAGE no_sysbuild "cmake cache s" 383 IMAGE zephyr_get_3rd "cmake cache s" 389 …IMAGE no_sysbuild "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local … [all …]
|
/Zephyr-latest/samples/sensor/6dof_motion_drdy/ |
D | README.rst | 49 … temp 23.00 Cel accel 0.150839 -0.140065 9.994899 m/s/s gyro -0.001597 0.005859 0.001597 rad/s 50 … temp 23.00 Cel accel 0.140065 -0.146050 9.988914 m/s/s gyro -0.002663 0.005859 0.003195 rad/s 51 … temp 23.50 Cel accel 0.146050 -0.130487 9.988914 m/s/s gyro -0.001597 0.006391 0.003195 rad/s 52 … temp 23.00 Cel accel 0.149642 -0.136473 9.990111 m/s/s gyro -0.002663 0.004261 0.002663 rad/s 53 … temp 23.00 Cel accel 0.146050 -0.136473 9.979337 m/s/s gyro -0.002130 0.005326 0.001597 rad/s 54 … temp 23.00 Cel accel 0.136473 -0.147247 9.986519 m/s/s gyro -0.001065 0.005859 0.002663 rad/s
|
/Zephyr-latest/arch/xtensa/core/ |
D | window_vectors.S | 30 * all the registers from call[i+1]'s window. In particular, a0 and a1 must be 32 * underflow if an intervening exception has flushed call[i]'s registers). 49 * a5 is call[j+1]'s stack pointer. 56 s32e a0, a5, -16 /* save a0 to call[j+1]'s stack frame */ 57 s32e a1, a5, -12 /* save a1 to call[j+1]'s stack frame */ 58 s32e a2, a5, -8 /* save a2 to call[j+1]'s stack frame */ 59 s32e a3, a5, -4 /* save a3 to call[j+1]'s stack frame */ 65 * where call[i]'s registers must be reloaded (not live in ARs); 71 * a5 is call[i+1]'s stack pointer. 78 l32e a0, a5, -16 /* restore a0 from call[i+1]'s stack frame */ [all …]
|