Home
last modified time | relevance | path

Searched +full:- +full:s (Results 1 – 25 of 1175) sorted by relevance

12345678910>>...47

/Zephyr-Core-3.6.0/doc/build/dts/
Dmacros.bnf7 ; --------------------------------------------------------------------
8 ; dt-macro: the top level nonterminal for a devicetree macro
10 ; A dt-macro starts with uppercase "DT_", and is one of:
12 ; - a <node-macro>, generated for a particular node
13 ; - some <other-macro>, a catch-all for other types of macros
14 dt-macro = node-macro / other-macro
16 ; --------------------------------------------------------------------
17 ; node-macro: a macro related to a node
20 node-macro = property-macro
22 node-macro =/ pinctrl-macro
[all …]
/Zephyr-Core-3.6.0/drivers/rtc/
Drtc_shell.c2 * Copyright (c) 2023, Prevas A/S <kim.bondergaard@prevas.dk>
4 * SPDX-License-Identifier: Apache-2.0
17 static const char format_date[] = " %F"; /* yyyy-mm-dd */
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()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/arch/arc/asm-compat/
Dasm-macro-32-bit-mwdt.h1 /* SPDX-License-Identifier: Apache-2.0 */
5 * ALU/Memory instructions pseudo-mnemonics for ARCv2 and ARC32 ISA
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]
[all …]
Dasm-macro-64-bit-mwdt.h1 /* SPDX-License-Identifier: Apache-2.0 */
5 * ALU/Memory instructions pseudo-mnemonics for ARC64 ISA
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]
[all …]
Dasm-macro-64-bit-gnu.h1 /* SPDX-License-Identifier: Apache-2.0 */
7 * pseudo-mnemonics for ALU/Memory instructions for ARC64 ISA
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
[all …]
Dasm-macro-32-bit-gnu.h1 /* SPDX-License-Identifier: Apache-2.0 */
7 * ALU/Memory instructions pseudo-mnemonics for ARCv2 and ARC32 ISA
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
[all …]
/Zephyr-Core-3.6.0/drivers/disk/nvme/
Dnvme.h4 * SPDX-License-Identifier: Apache-2.0
34 uint8_t reserved3[3492]; /* 5Ch - DFFh */
42 uint8_t reserved4[484]; /* E1Ch - FFFh */
54 /** Max Power Scale, Non-Operational State */
96 /* bytes 0-255: controller capabilities and features */
119 /** multi-interface capabilities */
165 /* bytes 256-511: admin command set attributes */
219 /** Extended Device Self-test Time */
222 /** Device Self-test Options */
271 /* bytes 512-703: nvm command set attributes */
[all …]
Dnvme_namespace.h4 * SPDX-License-Identifier: Apache-2.0
34 /** end-to-end data protection capabilities */
37 /** end-to-end data protection type settings */
40 /** Namespace Multi-path I/O and Namespace Sharing Capabilities */
91 /* bytes 74-91: Reserved */
97 /* bytes 96-98: Reserved */
124 void nvme_namespace_data_swapbytes(struct nvme_namespace_data *s) in nvme_namespace_data_swapbytes() argument
129 s->nsze = sys_le64_to_cpu(s->nsze); in nvme_namespace_data_swapbytes()
130 s->ncap = sys_le64_to_cpu(s->ncap); in nvme_namespace_data_swapbytes()
131 s->nuse = sys_le64_to_cpu(s->nuse); in nvme_namespace_data_swapbytes()
[all …]
/Zephyr-Core-3.6.0/tests/arch/arm/arm_runtime_nmi/
DREADME.txt6 ARM Cortex-M targets.
8 ---------------------------------------------------------------------------
17 ---------------------------------------------------------------------------
21 Problems caused by out-dated project information can be addressed by
28 # and restore pre-defined configuration info
30 ---------------------------------------------------------------------------
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
[all …]
/Zephyr-Core-3.6.0/samples/subsys/logging/dictionary/src/
Dmain.c2 * Copyright (c) 2012-2014 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
/Zephyr-Core-3.6.0/subsys/net/lib/shell/
Dgptp.c5 * SPDX-License-Identifier: Apache-2.0
30 const struct shell *sh = data->sh; in gptp_port_cb()
31 int *count = data->user_data; in gptp_port_cb()
39 PR("%2d %p [%d] \t%s\n", port, iface, net_if_get_by_iface(iface), in gptp_port_cb()
247 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in selected_role_str()
257 return "PRE-MASTER"; in selected_role_str()
296 NET_ASSERT(port == port_ds->port_id.port_number, in gptp_print_port_info()
298 port_ds->port_id.port_number); in gptp_print_port_info()
300 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info()
301 selected_role_str(port_ds->port_id.port_number)); in gptp_print_port_info()
[all …]
/Zephyr-Core-3.6.0/scripts/
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
67 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
78 -q, --quiet quiet
79 --no-tree run without a kernel tree
80 --no-signoff do not check for 'Signed-off-by' line
81 --patch treat FILE as patchfile (default)
82 --emacs emacs compile window format
83 --terse one line per report
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/host/crypto/mocks/
Dhmac_prng_expects.c4 * SPDX-License-Identifier: Apache-2.0
15 zassert_equal(tc_hmac_prng_init_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_tc_hmac_prng_init()
19 "'%s()' was called with incorrect '%s' value", func_name, "prng"); in expect_single_call_tc_hmac_prng_init()
21 "'%s()' was called with incorrect '%s' value", func_name, "buffer"); in expect_single_call_tc_hmac_prng_init()
23 "'%s()' was called with incorrect '%s' value", func_name, "plen"); in expect_single_call_tc_hmac_prng_init()
31 zassert_equal(tc_hmac_prng_reseed_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_tc_hmac_prng_reseed()
35 "'%s()' was called with incorrect '%s' value", func_name, "prng"); in expect_single_call_tc_hmac_prng_reseed()
37 "'%s()' was called with incorrect '%s' value", func_name, "seed"); in expect_single_call_tc_hmac_prng_reseed()
39 "'%s()' was called with incorrect '%s' value", func_name, "seedlen"); in expect_single_call_tc_hmac_prng_reseed()
41 "'%s()' was called with incorrect '%s' value", func_name, in expect_single_call_tc_hmac_prng_reseed()
[all …]
/Zephyr-Core-3.6.0/samples/sensor/icm42605/
DREADME.rst27 .. zephyr-app-commands::
28 :zephyr-app: samples/sensor/icm42605
35 .. code-block:: console
37 *** Booting Zephyr OS build zephyr-v2.1.0-576-g4b38659b0661 ***
39 accel -5.882554 -6.485893 5.868188 m/s/s
40 gyro 0.014522 0.002264 -0.036905 rad/s
42 accel -5.841853 -6.435615 5.911283 m/s/s
43 gyro 0.017852 0.001199 -0.034640 rad/s
45 accel -5.930438 -6.461951 6.009446 m/s/s
46 gyro 0.012923 0.002131 -0.037171 rad/s
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c4 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
/Zephyr-Core-3.6.0/lib/libc/minimal/source/string/
Dstrspn.c4 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
/Zephyr-Core-3.6.0/samples/sensor/mpu6050/
DREADME.rst29 .. zephyr-app-commands::
30 :zephyr-app: samples/sensor/mpu6050
37 .. code-block:: console
39 *** Booting Zephyr OS build zephyr-v2.1.0-576-g4b38659b0661 ***
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
[all …]
/Zephyr-Core-3.6.0/arch/xtensa/core/
Dwindow_vectors.S4 * SPDX-License-Identifier: Apache-2.0
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).
42 * Invoked if a call[i] referenced a register (a4-a15)
47 * a0-a3 are registers to be saved;
48 * a4-a15 must be preserved;
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 */
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/mocks/
Dsmp_expects.c4 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
Dhci_core_expects.c4 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
/Zephyr-Core-3.6.0/boards/shields/adafruit_pca9685/
Dadafruit_pca9685.overlay4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "nxp,pca9685-pwm";
14 #pwm-cells = <2>;
21 compatible = "pwm-leds";
23 s_led0: s-led-0 {
26 s_led1: s-led-1 {
29 s_led2: s-led-2 {
32 s_led3: s-led-3 {
35 s_led4: s-led-4 {
38 s_led5: s-led-5 {
[all …]
/Zephyr-Core-3.6.0/tests/cmake/zephyr_get/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
16 # - run_suite(<test-1> [<test-2> ...])
34 message(${mode} "$CACHE{ASSERT_FAIL_COUNT} assertion(s) failed")
39 # - assert_equal(<variable> <expected-value>)
41 # - assert_equal(<variable>
42 # IMAGE <image-1> <expected-value-for-image-1>
43 # [IMAGE <image-2> <expected-value-for-image-2> ...]
103 # Environment value is cached after it's retrieved.
130 # Provided -DTESTCASE_VARIABLE=<...> serves as the
131 # LOCAL sysbuild-defined value for this primary image.
[all …]
/Zephyr-Core-3.6.0/scripts/west_commands/tests/
Dtest_build.py3 # SPDX-License-Identifier: Apache-2.0
12 's': None, 'c': None},
14 's': 'source_dir', 'c': None},
15 {'r': ['source_dir', '--'],
16 's': 'source_dir', 'c': None},
17 {'r': ['source_dir', '--', 'cmake_opt'],
18 's': 'source_dir', 'c': ['cmake_opt']},
19 {'r': ['source_dir', '--', 'cmake_opt', 'cmake_opt2'],
20 's': 'source_dir', 'c': ['cmake_opt', 'cmake_opt2']},
22 's': 'thing_one', 'c': ['thing_two']},
[all …]
/Zephyr-Core-3.6.0/arch/arm/core/cortex_a_r/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
6 exc.S
10 reset.S
13 vector_table.S
17 cpu_idle.S
21 zephyr_library_sources_ifdef(CONFIG_GEN_SW_ISR_TABLE isr_wrapper.S)
24 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE __aeabi_read_tp.S)
26 zephyr_library_sources_ifdef(CONFIG_USE_SWITCH switch.S)
27 zephyr_library_sources_ifndef(CONFIG_USE_SWITCH swap.c swap_helper.S exc_exit.S)
/Zephyr-Core-3.6.0/tests/bluetooth/host/buf/mocks/
Dnet_buf_expects.c4 * SPDX-License-Identifier: Apache-2.0
16 zassert_equal(net_buf_alloc_fixed_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_alloc()
20 "'%s()' was called with incorrect '%s' value", func_name, "pool"); in expect_single_call_net_buf_alloc()
23 "'%s()' was called with incorrect '%s' value", func_name, "timeout"); in expect_single_call_net_buf_alloc()
30 zassert_equal(net_buf_alloc_fixed_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_alloc()
38 zassert_equal(net_buf_simple_reserve_fake.call_count, 1, "'%s()' was called more than once", in expect_single_call_net_buf_reserve()
41 zassert_equal_ptr(net_buf_simple_reserve_fake.arg0_val, &buf->b, in expect_single_call_net_buf_reserve()
42 "'%s()' was called with incorrect '%s' value", func_name, "buf"); in expect_single_call_net_buf_reserve()
45 "'%s()' was called with incorrect '%s' value", func_name, "reserve"); in expect_single_call_net_buf_reserve()
52 zassert_equal(net_buf_simple_reserve_fake.call_count, 0, "'%s()' was called unexpectedly", in expect_not_called_net_buf_reserve()
[all …]

12345678910>>...47