/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | digicert.cer | 2 "-----BEGIN CERTIFICATE-----\r\n" 3 "MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ\r\n" 4 "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\r\n" 5 "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX\r\n" 6 "DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y\r\n" 7 "ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy\r\n" 8 "VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr\r\n" 9 "mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr\r\n" 10 "IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK\r\n" 11 "mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu\r\n" [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_ili9341.c | 6 * SPDX-License-Identifier: Apache-2.0 17 const struct ili9xxx_config *config = dev->config; in ili9341_regs_init() 18 const struct ili9341_regs *regs = config->regs; in ili9341_regs_init() 20 int r; in ili9341_regs_init() local 22 LOG_HEXDUMP_DBG(regs->pwseqctrl, ILI9341_PWSEQCTRL_LEN, "PWSEQCTRL"); in ili9341_regs_init() 23 r = ili9xxx_transmit(dev, ILI9341_PWSEQCTRL, regs->pwseqctrl, ILI9341_PWSEQCTRL_LEN); in ili9341_regs_init() 24 if (r < 0) { in ili9341_regs_init() 25 return r; in ili9341_regs_init() 28 LOG_HEXDUMP_DBG(regs->timctrla, ILI9341_TIMCTRLA_LEN, "TIMCTRLA"); in ili9341_regs_init() 29 r = ili9xxx_transmit(dev, ILI9341_TIMCTRLA, regs->timctrla, ILI9341_TIMCTRLA_LEN); in ili9341_regs_init() [all …]
|
D | display_ili9342c.c | 7 * SPDX-License-Identifier: Apache-2.0 18 const struct ili9xxx_config *config = dev->config; in ili9342c_regs_init() 19 const struct ili9342c_regs *regs = config->regs; in ili9342c_regs_init() 20 int r; in ili9342c_regs_init() local 23 LOG_HEXDUMP_DBG(regs->setextc, ILI9342C_SETEXTC_LEN, "SETEXTC"); in ili9342c_regs_init() 24 r = ili9xxx_transmit(dev, ILI9342C_SETEXTC, regs->setextc, in ili9342c_regs_init() 26 if (r < 0) { in ili9342c_regs_init() 27 return r; in ili9342c_regs_init() 30 LOG_HEXDUMP_DBG(regs->gamset, ILI9342C_GAMSET_LEN, "GAMSET"); in ili9342c_regs_init() 31 r = ili9xxx_transmit(dev, ILI9342C_GAMSET, regs->gamset, in ili9342c_regs_init() [all …]
|
D | display_ili9340.c | 4 * SPDX-License-Identifier: Apache-2.0 15 const struct ili9xxx_config *config = dev->config; in ili9340_regs_init() 16 const struct ili9340_regs *regs = config->regs; in ili9340_regs_init() 18 int r; in ili9340_regs_init() local 20 LOG_HEXDUMP_DBG(regs->gamset, ILI9340_GAMSET_LEN, "GAMSET"); in ili9340_regs_init() 21 r = ili9xxx_transmit(dev, ILI9340_GAMSET, regs->gamset, in ili9340_regs_init() 23 if (r < 0) { in ili9340_regs_init() 24 return r; in ili9340_regs_init() 27 LOG_HEXDUMP_DBG(regs->frmctr1, ILI9340_FRMCTR1_LEN, "FRMCTR1"); in ili9340_regs_init() 28 r = ili9xxx_transmit(dev, ILI9340_FRMCTR1, regs->frmctr1, in ili9340_regs_init() [all …]
|
D | display_ili9488.c | 4 * SPDX-License-Identifier: Apache-2.0 15 const struct ili9xxx_config *config = dev->config; in ili9488_regs_init() 16 const struct ili9488_regs *regs = config->regs; in ili9488_regs_init() 18 int r; in ili9488_regs_init() local 20 LOG_HEXDUMP_DBG(regs->frmctr1, ILI9488_FRMCTR1_LEN, "FRMCTR1"); in ili9488_regs_init() 21 r = ili9xxx_transmit(dev, ILI9488_FRMCTR1, regs->frmctr1, in ili9488_regs_init() 23 if (r < 0) { in ili9488_regs_init() 24 return r; in ili9488_regs_init() 27 LOG_HEXDUMP_DBG(regs->disctrl, ILI9488_DISCTRL_LEN, "DISCTRL"); in ili9488_regs_init() 28 r = ili9xxx_transmit(dev, ILI9488_DISCTRL, regs->disctrl, in ili9488_regs_init() [all …]
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/tls_config/ |
D | cert.h | 4 * SPDX-License-Identifier: Apache-2.0 13 * "cat ca.crt | sed -e '1d;$d' | base64 -d |xxd -i" 14 * If using a PEM certifificate, each line should be wrapped in "\r\n" 20 static const unsigned char ca_certificate[] = "-----BEGIN CERTIFICATE-----\r\n" 21 "MIIEAzCCAuugAwIBAgIUBY1hlCGvdj4NhBXkZ/uLUZNILAwwDQYJKoZIhvcNAQEL\r\n" 22 "BQAwgZAxCzAJBgNVBAYTAkdCMRcwFQYDVQQIDA5Vbml0ZWQgS2luZ2RvbTEOMAwG\r\n" 23 "A1UEBwwFRGVyYnkxEjAQBgNVBAoMCU1vc3F1aXR0bzELMAkGA1UECwwCQ0ExFjAU\r\n" 24 "BgNVBAMMDW1vc3F1aXR0by5vcmcxHzAdBgkqhkiG9w0BCQEWEHJvZ2VyQGF0Y2hv\r\n" 25 "by5vcmcwHhcNMjAwNjA5MTEwNjM5WhcNMzAwNjA3MTEwNjM5WjCBkDELMAkGA1UE\r\n" 26 "BhMCR0IxFzAVBgNVBAgMDlVuaXRlZCBLaW5nZG9tMQ4wDAYDVQQHDAVEZXJieTES\r\n" [all …]
|
/Zephyr-latest/include/zephyr/arch/arm/ |
D | syscall.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * included by the syscall interface architecture-abstraction header 36 /* Syscall invocation macros. arm-specific machine constraints used to ensure 53 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke6() 55 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6() 56 "r" (r4), "r" (r5), "r" (r6) in arch_syscall_invoke6() 75 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke5() 77 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5() 78 "r" (r4), "r" (r6) in arch_syscall_invoke5() 95 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/ |
D | output_handler.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 "WING:\n\r* * *\n\r * * * " in HandleOutput() 25 "*\n\r * * * *\n\r * * * *\n\r * * " in HandleOutput() 26 "* *\n\r * *\n\r"); in HandleOutput() 29 "RING:\n\r *\n\r * *\n\r * *\n\r " in HandleOutput() 30 " * *\n\r * *\n\r * *\n\r " in HandleOutput() 31 " *\n\r"); in HandleOutput() 34 "SLOPE:\n\r *\n\r *\n\r *\n\r *\n\r " in HandleOutput() 35 "*\n\r *\n\r *\n\r * * * * * * * *\n\r"); in HandleOutput()
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | large.c | 5 * SPDX-License-Identifier: Apache-2.0 31 int r; in large_get() local 37 r = coap_update_from_block(request, &ctx); in large_get() 38 if (r < 0) { in large_get() 39 return -EINVAL; in large_get() 51 r = coap_packet_init(&response, data, sizeof(data), in large_get() 54 if (r < 0) { in large_get() 55 return -EINVAL; in large_get() 58 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in large_get() 60 if (r < 0) { in large_get() [all …]
|
D | separate.c | 5 * SPDX-License-Identifier: Apache-2.0 26 int r; in separate_get() local 41 r = coap_ack_init(&response, request, data, sizeof(data), 0); in separate_get() 42 if (r < 0) { in separate_get() 43 return r; in separate_get() 46 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in separate_get() 47 if (r < 0) { in separate_get() 48 return r; in separate_get() 57 /* Re-use the buffer */ in separate_get() 58 r = coap_packet_init(&response, data, sizeof(data), in separate_get() [all …]
|
D | query.c | 5 * SPDX-License-Identifier: Apache-2.0 27 int i, r; in query_get() local 34 r = coap_find_options(request, COAP_OPTION_URI_QUERY, options, 4); in query_get() 35 if (r < 0) { in query_get() 36 return -EINVAL; in query_get() 41 LOG_INF("num queries: %d", r); in query_get() 43 for (i = 0; i < r; i++) { in query_get() 61 r = coap_packet_init(&response, data, sizeof(data), in query_get() 64 if (r < 0) { in query_get() 65 return r; in query_get() [all …]
|
D | observer.c | 5 * SPDX-License-Identifier: Apache-2.0 31 int r; in send_notification_packet() local 43 r = coap_packet_init(&response, data, sizeof(data), in send_notification_packet() 46 if (r < 0) { in send_notification_packet() 47 return r; in send_notification_packet() 51 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet() 52 if (r < 0) { in send_notification_packet() 53 return r; in send_notification_packet() 57 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in send_notification_packet() 59 if (r < 0) { in send_notification_packet() [all …]
|
/Zephyr-latest/tests/lib/linear_range/src/ |
D | main.c | 3 * SPDX-License-Identifier: Apache-2.0 10 * +-----+-----+ 12 * +-----+-----+ 13 * | -10 | 0 | 14 * | -5 | 1 | 15 * +-----+-----+ 18 * +-----+-----+ 26 * +-----+-----+ 29 * +-----+-----+ 31 static const struct linear_range r[] = { variable [all …]
|
/Zephyr-latest/arch/x86/zefi/ |
D | printf.h | 4 * SPDX-License-Identifier: Apache-2.0 10 /* Tiny, but not-as-primitive-as-it-looks implementation of something 14 * the regex: [0-9]*\.?[0-9]* 26 static void pc(struct _pfr *r, int c) in pc() argument 28 if (r->buf != NULL) { in pc() 29 if (r->idx <= r->len) { in pc() 30 r->buf[r->idx] = c; in pc() 35 r->idx++; in pc() 38 static void prdec(struct _pfr *r, long v) in prdec() argument 41 pc(r, '-'); in prdec() [all …]
|
/Zephyr-latest/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 4 * SPDX-License-Identifier: Apache-2.0 45 if (poll(fds, nfds, -1) < 0) { in wait() 72 return -errno; in start_coap_client() 78 return -errno; in start_coap_client() 97 return -ENOMEM; in process_simple_coap_reply() 102 ret = -EIO; in process_simple_coap_reply() 110 ret = -errno; in process_simple_coap_reply() 135 int r; in send_simple_coap_request() local 139 return -ENOMEM; in send_simple_coap_request() 142 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_simple_coap_request() [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | coredump.c | 4 * SPDX-License-Identifier: Apache-2.0 43 } r; member 74 arch_blk.r.x0 = esf->x0; in arch_coredump_info_dump() 75 arch_blk.r.x1 = esf->x1; in arch_coredump_info_dump() 76 arch_blk.r.x2 = esf->x2; in arch_coredump_info_dump() 77 arch_blk.r.x3 = esf->x3; in arch_coredump_info_dump() 78 arch_blk.r.x4 = esf->x4; in arch_coredump_info_dump() 79 arch_blk.r.x5 = esf->x5; in arch_coredump_info_dump() 80 arch_blk.r.x6 = esf->x6; in arch_coredump_info_dump() 81 arch_blk.r.x7 = esf->x7; in arch_coredump_info_dump() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | linear_range.h | 3 * SPDX-License-Identifier: Apache-2.0 26 * - Minimum value 27 * - Step value 28 * - Minimum index value 29 * - Maximum index value 34 * - 1000uV: 0x00 35 * - 1250uV: 0x01 36 * - 1500uV: 0x02 37 * - ... 38 * - 3000uV: 0x08 [all …]
|
/Zephyr-latest/soc/arm/beetle/ |
D | soc_registers.h | 4 * SPDX-License-Identifier: Apache-2.0 17 /* Offset: 0x000 (r/w) remap control register */ 19 /* Offset: 0x004 (r/w) pmu control register */ 21 /* Offset: 0x008 (r/w) reset option register */ 23 /* Offset: 0x00c (r/w) emi control register */ 25 /* Offset: 0x010 (r/w) reset information register */ 28 /* Offset: 0x020 (r/w)AHB peripheral access control set */ 30 /* Offset: 0x024 (r/w)AHB peripheral access control clear */ 33 /* Offset: 0x030 (r/w)APB peripheral access control set */ 35 /* Offset: 0x034 (r/w)APB peripheral access control clear */ [all …]
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | syscall.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * included by the syscall interface architecture-abstraction header 36 * Syscall invocation macros. arm-specific machine constraints used to ensure 53 : "=r"(ret) in arch_syscall_invoke6() 55 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6() 56 "r" (r4), "r" (r5), "r" (r8) in arch_syscall_invoke6() 75 : "=r"(ret) in arch_syscall_invoke5() 77 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5() 78 "r" (r4), "r" (r8) in arch_syscall_invoke5() 95 : "=r"(ret) in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_xtensa.h | 4 * SPDX-License-Identifier: Apache-2.0 31 __asm__ volatile("wfr f0, %0\n" :: "r"(regs->fp_non_volatile.reg[0])); in _load_all_float_registers() 32 __asm__ volatile("wfr f1, %0\n" :: "r"(regs->fp_non_volatile.reg[1])); in _load_all_float_registers() 33 __asm__ volatile("wfr f2, %0\n" :: "r"(regs->fp_non_volatile.reg[2])); in _load_all_float_registers() 34 __asm__ volatile("wfr f3, %0\n" :: "r"(regs->fp_non_volatile.reg[3])); in _load_all_float_registers() 35 __asm__ volatile("wfr f4, %0\n" :: "r"(regs->fp_non_volatile.reg[4])); in _load_all_float_registers() 36 __asm__ volatile("wfr f5, %0\n" :: "r"(regs->fp_non_volatile.reg[5])); in _load_all_float_registers() 37 __asm__ volatile("wfr f6, %0\n" :: "r"(regs->fp_non_volatile.reg[6])); in _load_all_float_registers() 38 __asm__ volatile("wfr f7, %0\n" :: "r"(regs->fp_non_volatile.reg[7])); in _load_all_float_registers() 39 __asm__ volatile("wfr f8, %0\n" :: "r"(regs->fp_non_volatile.reg[8])); in _load_all_float_registers() [all …]
|
/Zephyr-latest/include/zephyr/arch/arc/ |
D | syscall.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * included by the syscall interface architecture-abstraction header 35 /* Syscall invocation macros. arc-specific machine constraints used to ensure 57 : "=r"(ret) in arch_syscall_invoke6() 59 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6() 60 "r" (r4), "r" (r5), "r" (r6)); in arch_syscall_invoke6() 81 : "=r"(ret) in arch_syscall_invoke5() 83 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5() 84 "r" (r4), "r" (r6)); in arch_syscall_invoke5() 103 : "=r"(ret) in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/intel64/ |
D | syscall.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * included by the syscall interface architecture-abstraction header 34 * Arrange registers so that they are in-place as much as possible when 47 * the remaining registers: RBX, RBP, R12-R15, SIMD/FPU, and any unused 64 : "=r" (rax) in arch_syscall_invoke6() 65 : "r" (rax), "r" (rdi), "r" (rsi), "r" (rdx), in arch_syscall_invoke6() 66 "r" (r10), "r" (r8), "r" (r9) in arch_syscall_invoke6() 85 : "=r" (rax) in arch_syscall_invoke5() 86 : "r" (rax), "r" (rdi), "r" (rsi), "r" (rdx), in arch_syscall_invoke5() 87 "r" (r10), "r" (r8) in arch_syscall_invoke5() [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | syscall_helper.c | 4 * SPDX-License-Identifier: Apache-2.0 29 : "=r" (a2) in xtensa_syscall_helper_args_6() 30 : "r" (a2), "r" (a6), "r" (a3), "r" (a4), in xtensa_syscall_helper_args_6() 31 "r" (a5), "r" (a8), "r" (a9) in xtensa_syscall_helper_args_6() 49 : "=r" (a2) in xtensa_syscall_helper_args_5() 50 : "r" (a2), "r" (a6), "r" (a3), "r" (a4), in xtensa_syscall_helper_args_5() 51 "r" (a5), "r" (a8) in xtensa_syscall_helper_args_5() 68 : "=r" (a2) in xtensa_syscall_helper_args_4() 69 : "r" (a2), "r" (a6), "r" (a3), "r" (a4), in xtensa_syscall_helper_args_4() 70 "r" (a5) in xtensa_syscall_helper_args_4() [all …]
|
/Zephyr-latest/drivers/fuel_gauge/bq27z746/ |
D | bq27z746.h | 5 * SPDX-License-Identifier: Apache-2.0 14 #define BQ27Z746_MANUFACTURERACCESS 0x00 /* R/W */ 15 #define BQ27Z746_ATRATE 0x02 /* R/W, Unit: mA, Range: -32768..32767 */ 16 #define BQ27Z746_ATRATETIMETOEMPTY 0x04 /* R/O, Unit: minutes, Range: 0..65535 */ 17 #define BQ27Z746_TEMPERATURE 0x06 /* R/O, Unit: 0.1 K, Range: 0..32767 */ 18 #define BQ27Z746_VOLTAGE 0x08 /* R/O, Unit: mV, Range: 0..32767 */ 19 #define BQ27Z746_BATTERYSTATUS 0x0A /* R/O, Unit: status bits */ 20 #define BQ27Z746_CURRENT 0x0C /* R/O, Unit: mA, Range: -32768..32767 */ 21 #define BQ27Z746_REMAININGCAPACITY 0x10 /* R/O, Unit: mAh, Range: 0..32767 */ 22 #define BQ27Z746_FULLCHARGECAPACITY 0x12 /* R/O, Unit: mAh, Range: 0..32767 */ [all …]
|
/Zephyr-latest/tests/net/socket/tls_ext/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 25 #define SECRET "forty-two" 30 #define SECRET_SIZE (sizeof(SECRET) - 1) 44 * @brief Application-dependent TLS credential identifiers 51 * - SERVER_CERTIFICATE_TAG (for both public and private keys) 52 * - CA_CERTIFICATE_TAG (only when client authentication is required) 55 * - CA_CERTIFICATE_TAG (always required, to verify the server) 56 * - CLIENT_CERTIFICATE_TAG (for both public and private keys, only when 151 int r; in server_thread_fn() local 167 r = accept(server_fd, (struct sockaddr *)&sa, &addrlen); in server_thread_fn() [all …]
|