Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 1434) sorted by relevance

12345678910>>...58

/Zephyr-Core-3.7.0/drivers/rtc/
Drtc_shell.c19 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()
46 if (!s) { in consume_date()
[all …]
/Zephyr-Core-3.7.0/drivers/disk/nvme/
Dnvme.h341 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 …]
Dnvme_namespace.h126 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 …]
/Zephyr-Core-3.7.0/include/zephyr/arch/arc/asm-compat/
Dasm-macro-32-bit-mwdt.h8 .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 …]
Dasm-macro-64-bit-mwdt.h8 .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 …]
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
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 …]
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
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-Core-3.7.0/lib/libc/minimal/source/string/
Dstrspn.c10 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()
Dstring.c20 char *strcpy(char *ZRESTRICT d, const char *ZRESTRICT s) in strcpy() argument
24 while (*s != '\0') { in strcpy()
25 *d = *s; in strcpy()
27 s++; in strcpy()
42 char *strncpy(char *ZRESTRICT d, const char *ZRESTRICT s, size_t n) in strncpy() argument
46 while ((n > 0) && (*s != '\0')) { in strncpy()
47 *d = *s; in strncpy()
48 s++; in strncpy()
69 char *strchr(const char *s, int c) in strchr() argument
73 while ((*s != tmp) && (*s != '\0')) { in strchr()
[all …]
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/
Dsha256.c68 struct tc_sha256_state_struct s; in ZTEST() local
70 (void)tc_sha256_init(&s); in ZTEST()
71 tc_sha256_update(&s, (const uint8_t *)m, strlen(m)); in ZTEST()
72 (void)tc_sha256_final(digest, &s); in ZTEST()
98 struct tc_sha256_state_struct s; in ZTEST() local
100 (void)tc_sha256_init(&s); in ZTEST()
101 tc_sha256_update(&s, (const uint8_t *)m, strlen(m)); in ZTEST()
102 (void)tc_sha256_final(digest, &s); in ZTEST()
125 struct tc_sha256_state_struct s; in ZTEST() local
127 (void)tc_sha256_init(&s); in ZTEST()
[all …]
Daes.c91 struct tc_aes_key_sched_struct s; in test_aes_key_chain() local
96 zassert_true(tc_aes128_set_encrypt_key(&s, nist_key), in test_aes_key_chain()
101 s.words, sizeof(s.words), 1); in test_aes_key_chain()
126 struct tc_aes_key_sched_struct s; in test_aes_vectors() local
131 (void)tc_aes128_set_encrypt_key(&s, nist_key); in test_aes_vectors()
134 zassert_true(tc_aes_encrypt(ciphertext, nist_input, &s), in test_aes_vectors()
146 TCAesKeySched_t s) in var_text_test() argument
152 (void)tc_aes_encrypt(ciphertext, in, s); in var_text_test()
156 if (tc_aes_decrypt(decrypted, ciphertext, s) == 0) { in var_text_test()
1075 struct tc_aes_key_sched_struct s; in ZTEST() local
[all …]
/Zephyr-Core-3.7.0/tests/arch/arm/arm_runtime_nmi/
DREADME.txt34 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-Core-3.7.0/doc/build/dts/
Dmacros.bnf26 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-Core-3.7.0/samples/sensor/icm42605/
DREADME.rst39 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
48 accel -5.884948 -6.524200 5.961562 m/s/s
49 gyro 0.012390 -0.001732 -0.045964 rad/s
51 accel -5.863400 -12.872426 -0.154427 m/s/s
52 gyro -0.034373 -0.034373 -0.034373 rad/s
[all …]
/Zephyr-Core-3.7.0/lib/libc/minimal/source/stdlib/
Datoi.c31 int atoi(const char *s) in atoi() argument
36 while (isspace((unsigned char)*s) != 0) { in atoi()
37 s++; in atoi()
39 switch (*s) { in atoi()
42 s++; in atoi()
45 s++; in atoi()
55 while (isdigit((unsigned char)*s) != 0) { in atoi()
56 n = 10 * n - (*s++ - '0'); in atoi()
Dstrtoul.c45 register const char *s = nptr; in strtoul() local
55 c = *s++; in strtoul()
59 c = *s++; in strtoul()
61 c = *s++; in strtoul()
65 (c == '0') && ((*s == 'x') || (*s == 'X'))) { in strtoul()
66 c = s[1]; in strtoul()
67 s += 2; in strtoul()
77 for (acc = 0, any = 0;; c = *s++) { in strtoul()
103 *endptr = (char *)(any ? (s - 1) : nptr); in strtoul()
Dstrtoull.c45 register const char *s = nptr; in strtoull() local
55 c = *s++; in strtoull()
59 c = *s++; in strtoull()
61 c = *s++; in strtoull()
64 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) { in strtoull()
65 c = s[1]; in strtoull()
66 s += 2; in strtoull()
76 for (acc = 0, any = 0;; c = *s++) { in strtoull()
102 *endptr = (char *)(any ? (char *)s - 1 : nptr); in strtoull()
Dstrtol.c45 register const char *s = nptr; in strtol() local
57 c = *s++; in strtol()
61 c = *s++; in strtol()
63 c = *s++; in strtol()
67 c == '0' && (*s == 'x' || *s == 'X')) { in strtol()
68 c = s[1]; in strtol()
69 s += 2; in strtol()
97 for (acc = 0, any = 0;; c = *s++) { in strtol()
125 *endptr = (char *)(any ? (s - 1) : nptr); in strtol()
Dstrtoll.c45 register const char *s = nptr; in strtoll() local
57 c = *s++; in strtoll()
61 c = *s++; in strtoll()
63 c = *s++; in strtoll()
66 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) { in strtoll()
67 c = s[1]; in strtoll()
68 s += 2; in strtoll()
96 for (acc = 0, any = 0;; c = *s++) { in strtoll()
124 *endptr = (char *)(any ? (char *)s - 1 : nptr); in strtoll()
/Zephyr-Core-3.7.0/samples/sensor/mpu6050/
DREADME.rst41 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-Core-3.7.0/boards/shields/adafruit_pca9685/
Dadafruit_pca9685.overlay23 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 {
41 s_led6: s-led-6 {
44 s_led7: s-led-7 {
47 s_led8: s-led-8 {
50 s_led9: s-led-9 {
[all …]
/Zephyr-Core-3.7.0/lib/libc/minimal/include/
Dstring.h19 extern char *strcpy(char *ZRESTRICT d, const char *ZRESTRICT s);
22 extern char *strncpy(char *ZRESTRICT d, const char *ZRESTRICT s,
24 extern char *strchr(const char *s, int c);
25 extern char *strrchr(const char *s, int c);
26 extern size_t strlen(const char *s);
27 extern size_t strnlen(const char *s, size_t maxlen);
35 extern char *strstr(const char *s, const char *find);
37 extern size_t strspn(const char *s, const char *accept);
38 extern size_t strcspn(const char *s, const char *reject);
41 extern void *memmove(void *d, const void *s, size_t n);
[all …]
/Zephyr-Core-3.7.0/tests/drivers/can/timing/
DKconfig15 - 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
26 - 2.0 Mbit/s
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/ctrl_isoal/src/
Disoal_test_common.h30 #define STATE_TO_STR(s) (s == BT_ISO_SINGLE ? "SINGLE" : \ argument
31 (s == BT_ISO_START ? "START" : \
32 (s == BT_ISO_CONT ? "CONT" : \
33 (s == BT_ISO_END ? "END" : "???"))))
35 #define ROLE_TO_STR(s) \ argument
36 ((s) == ISOAL_ROLE_BROADCAST_SOURCE ? "Broadcast Source" : \
37 ((s) == ISOAL_ROLE_BROADCAST_SINK ? "Broadcast Sink" : \
38 ((s) == ISOAL_ROLE_PERIPHERAL ? "Peripheral" : \
39 ((s) == ISOAL_ROLE_CENTRAL ? "Central" : "Undefined"))))
41 #define FSM_TO_STR(s) (s == ISOAL_START ? "START" : \ argument
[all …]
/Zephyr-Core-3.7.0/scripts/tests/twister_blackbox/test_data/tests/san/asan/src/
Dmain.c21 char *s = malloc(10); in helper() local
23 strcpy(s, "123456789"); in helper()
24 s[9] = '0'; in helper()
25 free(s); in helper()
26 strcpy(s, "Hello"); in helper()
27 printf("string is: %s\n", s); in helper()

12345678910>>...58