Home
last modified time | relevance | path

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

12345678910>>...47

/Zephyr-latest/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-latest/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-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_calculator_thread.c4 * SPDX-License-Identifier: Apache-2.0
60 op->index = 1; in setup_operand()
61 op->string[0] = ' '; /* space for sign */ in setup_operand()
62 op->string[1] = '0'; /* A 0 indicator to be overwritten */ in setup_operand()
63 op->string[2] = 0x00; in setup_operand()
68 if (op->index >= (CALCULATOR_STRING_LENGTH - 1)) { in insert()
70 return -ENOBUFS; in insert()
72 op->string[op->index++] = digit; in insert()
73 op->string[op->index] = 0x00; in insert()
80 if (op->string[0] == ' ') { in negate()
[all …]
/Zephyr-latest/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-latest/drivers/disk/nvme/
Dnvme_namespace.h3 * SPDX-License-Identifier: Apache-2.0
36 /** end-to-end data protection capabilities */
39 /** end-to-end data protection type settings */
42 /** Namespace Multi-path I/O and Namespace Sharing Capabilities */
93 /* bytes 74-91: Reserved */
99 /* bytes 96-98: Reserved */
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()
[all …]
Dnvme.h3 * SPDX-License-Identifier: Apache-2.0
36 uint8_t reserved3[3492]; /* 5Ch - DFFh */
44 uint8_t reserved4[484]; /* E1Ch - FFFh */
56 /** Max Power Scale, Non-Operational State */
98 /* bytes 0-255: controller capabilities and features */
121 /** multi-interface capabilities */
167 /* bytes 256-511: admin command set attributes */
221 /** Extended Device Self-test Time */
224 /** Device Self-test Options */
273 /* bytes 512-703: nvm command set attributes */
[all …]
/Zephyr-latest/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-latest/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-latest/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-latest/tests/drivers/can/timing/
DKconfig1 # Copyright (c) 2024 Vestas Wind Systems A/S
2 # SPDX-License-Identifier: Apache-2.0
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
[all …]
/Zephyr-latest/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-latest/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-latest/samples/sensor/icm42605/
DREADME.rst1 .. zephyr:code-sample:: icm42605
3 :relevant-api: sensor_interface
29 .. zephyr-app-commands::
30 :zephyr-app: samples/sensor/icm42605
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
[all …]
/Zephyr-latest/samples/sensor/mpu6050/
DREADME.rst1 .. zephyr:code-sample:: mpu6050
3 :relevant-api: sensor_interface
31 .. zephyr-app-commands::
32 :zephyr-app: samples/sensor/mpu6050
39 .. code-block:: console
41 *** Booting Zephyr OS build zephyr-v2.1.0-576-g4b38659b0661 ***
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
[all …]
/Zephyr-latest/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-latest/tests/subsys/logging/dictionary/src/
Dmain.c2 * Copyright (c) 2012-2014 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
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()
[all …]
/Zephyr-latest/samples/sensor/6dof_motion_drdy/
DREADME.rst1 .. zephyr:code-sample:: 6dof_motion_drdy
3 :relevant-api: sensor_interface
5 Get 6-Axis accelerometer and gyroscope data from a sensor (data ready interrupt mode).
10 This sample application periodically (100 Hz) measures the 6-axis IMU sensor with
19 overlay must be provided to identify the 6-axis motion sensor, the SPI or I2C bus interface and the…
25 This sample supports up to 6-Axis IMU devices. Each device needs
26 to be aliased as ``6dof-motion-drdyN`` where ``N`` goes from ``0`` to ``9``. For example:
28 .. code-block:: devicetree
32 6dof-motion-drdy0 = &icm42670p;
38 .. zephyr-app-commands::
[all …]
/Zephyr-latest/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-latest/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-latest/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-latest/tests/cmake/zephyr_get/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
6 # Script mode initialization (re-run)
24 # - run_suite(<test-1> [<test-2> ...])
42 message(${mode} "$CACHE{ASSERT_FAIL_COUNT} assertion(s) failed")
47 # - assert_equal(<variable> <expected-value>)
49 # - assert_equal(<variable>
50 # IMAGE <image-1> <expected-value-for-image-1>
51 # [IMAGE <image-2> <expected-value-for-image-2> ...]
114 # Environment value is cached after it's retrieved.
141 # Provided -DTESTCASE_VARIABLE=<...> serves as the
[all …]

12345678910>>...47