/Zephyr-Core-3.5.0/tests/kernel/common/src/ |
D | printk.c | 4 * SPDX-License-Identifier: Apache-2.0 28 char expected_32[] = "22 113 10000 32768 40000 22\n" 29 "p 112 -10000 -32768 -40000 -22\n" 30 "0x1 0x01 0x0001 0x00000001 0x0000000000000001\n" 31 "0x1 0x 1 0x 1 0x 1\n" 32 "42 42 0042 00000042\n" 33 "-42 -42 -042 -0000042\n" 34 "42 42 42 42\n" 35 "42 42 0042 00000042\n" 36 "255 42 abcdef 42\n" [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/completion/ |
D | west-completion.fish | 5 # return 1 else 11 return 1 17 # return 1 if one of the arguments is present in the command line 20 set -l tokens (commandline -opc) 25 return 1 35 # argv[1] is the maximum number of arguments 36 # argv[n] are the arguments to count, if not specified will count all arguments after 'west <comman… 38 # return 1 if the command line contain more than $argv[1] element from $argv[n...] 41 set -l tokens (commandline -opc) 42 set -l argc (count $argv) [all …]
|
/Zephyr-Core-3.5.0/samples/net/cellular_modem/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 16 #define SAMPLE_TEST_ENDPOINT_HOSTNAME ("test-endpoint.com") 30 K_SEM_DEFINE(dns_query_sem, 0, 1); 36 prng_state = ((1103515245 * prng_state) + 12345) % (1U << 31); in sample_prng_random() 76 return -EAGAIN; in sample_dns_request() 80 return -EAGAIN; in sample_dns_request() 95 printk("Opening UDP socket\n"); in sample_echo_packet() 99 printk("Failed to open socket\n"); in sample_echo_packet() 100 return -1; in sample_echo_packet() 103 printk("Socket opened\n"); in sample_echo_packet() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_arc_gcc.h | 9 * SPDX-License-Identifier: Apache-2.0 44 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 45 "sr %1, [%2];\n\t" in _load_all_float_registers() 46 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 47 "sr %1, [%3];\n\t" in _load_all_float_registers() 48 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 49 "sr %1, [%4];\n\t" in _load_all_float_registers() 50 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 51 "sr %1, [%5];\n\t" in _load_all_float_registers() 77 "lr %1, [%2];\n\t" in _store_all_float_registers() [all …]
|
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 36 int cnt = 1; in main() 40 printk("%s: device not ready.\n", hts221->name); in main() 44 printk("%s: device not ready.\n", lps22hb->name); in main() 48 printk("%s: device not ready.\n", lsm6dsl->name); in main() 52 printk("%s: device not ready.\n", lsm303agr_a->name); in main() 56 printk("%s: device not ready.\n", lsm303agr_m->name); in main() 68 printk("Cannot set sampling frequency for accelerometer.\n"); in main() 74 printk("Cannot set sampling frequency for gyro.\n"); in main() 86 while (1) { in main() [all …]
|
/Zephyr-Core-3.5.0/lib/os/ |
D | rb.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #define CHECK(n) /**/ argument 13 /* #define CHECK(n) __ASSERT_NO_MSG(n) */ 19 enum rb_color { RED = 0U, BLACK = 1U }; 21 static struct rbnode *get_child(struct rbnode *n, uint8_t side) in get_child() argument 23 CHECK(n); in get_child() 25 return n->children[1]; in get_child() 28 uintptr_t l = (uintptr_t) n->children[0]; in get_child() 30 l &= ~1UL; in get_child() 34 static void set_child(struct rbnode *n, uint8_t side, void *val) in set_child() argument [all …]
|
/Zephyr-Core-3.5.0/dts/bindings/gpio/ |
D | xlnx,xps-gpio-1.00.a.yaml | 3 compatible: "xlnx,xps-gpio-1.00.a" 5 include: [gpio-controller.yaml, base.yaml] 7 bus: xlnx,xps-gpio-1.00.a 10 # https://github.com/Xilinx/device-tree-xlnx 16 xlnx,all-inputs: 19 1 if all GPIOs are inputs, 0 otherwise 21 xlnx,all-outputs: 24 1 if all GPIOs are outputs, 0 otherwise 26 xlnx,dout-default: 29 Default output value. If n-th bit is 1, GPIO-n default value is 1. [all …]
|
/Zephyr-Core-3.5.0/scripts/utils/ |
D | gen_util_macros.py | 3 - Z_LISTIFY 4 - Z_UTIL_INC 5 - Z_UTIL_DEC 6 - Z_UTIL_X2 7 - Z_IS_EQ 15 python $ZEPHYR_BASE/scripts/utils/gen_util_macros.py -l 4095 18 SPDX-License-Identifier: Apache-2.0 24 file.write("/**\n") 25 file.write(" * @cond INTERNAL_HIDDEN\n") 26 file.write(" */\n") [all …]
|
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a1/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 19 sensor_sample_fetch_chan(dev, trig->chan); in lis3mdl_trigger_handler() 34 int cnt = 1; in main() 38 printk("%s: device not ready.\n", hts221->name); in main() 42 printk("%s: device not ready.\n", lis3mdl->name); in main() 46 printk("%s: device not ready.\n", lsm6ds0->name); in main() 50 printk("%s: device not ready.\n", lps25hb->name); in main() 60 while (1) { in main() 65 printf("HTS221 Sensor sample update error\n"); in main() 69 printf("LPS25HB Sensor sample update error\n"); in main() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/l2/wifi/ |
D | wifi_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 53 uint8_t connecting : 1; 54 uint8_t disconnecting : 1; 80 if ((str_tmp[0] == '0') && (str_tmp[1] == 'x')) { in parse_number() 93 print(sh, SHELL_WARNING, "Value out of range: %s, (%ld-%ld)", str_tmp, min, max); in parse_number() 103 (const struct wifi_scan_result *)cb->info; in handle_wifi_scan_result() 108 if (scan_result == 1U) { in handle_wifi_scan_result() 110 "\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result() 115 "%-4d | %-32s %-5u | %-4u (%-6s) | %-4d | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result() 116 scan_result, entry->ssid, entry->ssid_length, entry->channel, in handle_wifi_scan_result() [all …]
|
/Zephyr-Core-3.5.0/samples/net/sockets/big_http_download/src/ |
D | DigiCertGlobalRootG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ElTUkcgUm9vdCBY\n" 7 "MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54rVygc\n" 8 "h77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+\n" 9 "0TM8ukj13Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6U\n" 10 "A5/TR5d8mUgjU+g4rk8Kb4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sW\n" [all …]
|
/Zephyr-Core-3.5.0/samples/net/syslog_net/ |
D | sample.yaml | 5 - net 6 - syslog 12 filter: TOOLCHAIN_HAS_NEWLIB == 1 14 - CONFIG_NEWLIB_LIBC=y 16 filter: TOOLCHAIN_HAS_NEWLIB == 1 18 - CONFIG_NET_IPV6=n 19 - CONFIG_NET_CONFIG_NEED_IPV6=n 20 - CONFIG_NET_CONFIG_MY_IPV6_ADDR="" 21 - CONFIG_NET_CONFIG_PEER_IPV6_ADDR="" 22 - CONFIG_LOG_BACKEND_NET_SERVER="192.0.2.1:514" [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/mem_slab/mslab_stats/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 21 * Verify that k_mem_slab_runtime_stats_get() returns -EINVAL in ZTEST() 26 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 27 status, -EINVAL); in ZTEST() 30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 31 status, -EINVAL); in ZTEST() 34 * Verify that k_mem_slab_runtime_stats_reset_max() returns -EINVAL in ZTEST() 39 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 40 status, -EINVAL); in ZTEST() 52 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/scripts/checkpatch/ |
D | maintainer-checkpatch.bash | 6 # SPDX-License-Identifier: Apache-2.0 11 # check the last n patches patches from the current branch for errors 12 # usage: maintainer-checkpatch.bash [(-n <num commits>) | (-c <commit>)] [-s] 13 # where: -n <num commits> selects the last n commits (default: 1) 14 # -c <commit> selects the "since" commit 15 # -s asks for a summary instead of details 17 # -c and -n are mutually exclusive 20 --patch \ 21 --no-tree \ 22 --show-types \ [all …]
|
/Zephyr-Core-3.5.0/scripts/kconfig/ |
D | kconfigfunctions.py | 1 # Copyright (c) 2018-2019 Linaro 4 # SPDX-License-Identifier: Apache-2.0 14 "python-devicetree", "src")) 19 doc_mode = os.environ.get('KCONFIG_DOC_MODE') == "1" 77 that points to an enabled node, and "n" otherwise 80 return "n" 83 return "y" if node and node.status == "okay" else "n" 92 return "n" 104 return "n" 109 return "n" [all …]
|
/Zephyr-Core-3.5.0/tests/arch/arm/arm_interrupt/src/ |
D | arm_interrupt.c | 4 * SPDX-License-Identifier: Apache-2.0 13 static volatile int expected_reason = -1; 31 (pEsf->basic.r0 == 0) && in check_esf_matches_expectations() 32 (pEsf->basic.r1 == 1) && in check_esf_matches_expectations() 33 (pEsf->basic.r2 == 2) && in check_esf_matches_expectations() 34 (pEsf->basic.r3 == 3) && in check_esf_matches_expectations() 35 (pEsf->basic.lr == 15) && in check_esf_matches_expectations() 36 (*(uint16_t *)pEsf->basic.pc == expected_fault_instruction); in check_esf_matches_expectations() 38 printk("__basic_sf member of ESF is incorrect\n"); in check_esf_matches_expectations() 39 return -1; in check_esf_matches_expectations() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 25 #define LWM2M_HELP_SEND "send PATHS\nLwM2M SEND operation\n" 26 #define LWM2M_HELP_EXEC "exec PATH [PARAM]\nExecute a resource\n" 27 #define LWM2M_HELP_READ "read PATH [OPTIONS]\nRead value from LwM2M resource\n" \ 28 "-x \tRead value as hex stream (default)\n" \ 29 "-s \tRead value as string\n" \ 30 "-b \tRead value as bool (1/0)\n" \ 31 "-uX\tRead value as uintX_t\n" \ 32 "-sX\tRead value as intX_t\n" \ 33 "-f \tRead value as float\n" \ [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/workq/work_queue/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 33 * Wait 50ms between work submissions, to ensure co-op and prempt 43 #define CHECK_WAIT ((NUM_TEST_ITEMS + 1) * WORK_ITEM_WAIT_ALIGNED) 83 char msgq_buf[1][MSG_SIZE]; 96 TC_PRINT(" - Running test item %d\n", ti->key); in work_handler() 99 results[num_results++] = ti->key; in work_handler() 111 delayed_tests[i].key = i + 1; in delayed_test_items_init() 137 for (i = 1; i < NUM_TEST_ITEMS; i += 2) { in coop_work_main() 138 TC_PRINT(" - Submitting work %d from coop thread\n", i + 1); in coop_work_main() 157 TC_PRINT(" - Submitting work %d from preempt thread\n", i + 1); in delayed_test_items_submit() [all …]
|
/Zephyr-Core-3.5.0/tests/boards/intel_adsp/ssp/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 58 K_SEM_DEFINE(xfer_sem, 0, 1); 65 /* 1ms frame of 48Hz sine in 48kHz, thus 48 x 32 bit samples */ 87 TC_PRINT("tx callback status %d\n", status); in dma_callback() 89 TC_PRINT("tx giving up\n"); in dma_callback() 97 TC_PRINT("rx callback status %d\n", status); in dma_callback_rx() 99 TC_PRINT("rx giving xfer_sem\n"); in dma_callback_rx() 106 dma_cfg.dma_slot = props->dma_hs_id; in config_output_dma() 110 dma_cfg.cyclic = 1; in config_output_dma() 111 dma_cfg.source_data_size = 1; in config_output_dma() [all …]
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | uart_native_ptty_bottom.c | 5 * SPDX-License-Identifier: Apache-2.0 31 * @retval -1 If no character was available to read 32 * @retval -2 if the stdin is disconnected 41 return -2; in np_uart_stdin_poll_in_bottom() 44 int n = -1; in np_uart_stdin_poll_in_bottom() local 53 ready = select(in_f+1, &readfds, NULL, NULL, &timeout); in np_uart_stdin_poll_in_bottom() 56 return -1; in np_uart_stdin_poll_in_bottom() 57 } else if (ready == -1) { in np_uart_stdin_poll_in_bottom() 58 ERROR("%s: Error on select ()\n", __func__); in np_uart_stdin_poll_in_bottom() 61 n = read(in_f, p_char, 1); in np_uart_stdin_poll_in_bottom() [all …]
|
/Zephyr-Core-3.5.0/tests/lib/mem_blocks_stats/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 25 * Verify that sys_mem_blocks_runtime_stats_get() returns -EINVAL in ZTEST() 30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 31 status, -EINVAL); in ZTEST() 34 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 35 status, -EINVAL); in ZTEST() 38 * Verify that sys_mem_blocks_runtime_stats_reset_max() returns -EINVAL in ZTEST() 43 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST() 44 status, -EINVAL); in ZTEST() 56 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/samples/boards/mec172xevb_assy6906/qmspi_ldma/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 54 #define SPI_FLASH_STATUS1_WEL_POS 1 57 #define SPI_FLASH_STATUS2_QE_POS 1 122 return -EINVAL; in spi_flash_format_addr() 126 buf[i] = spi_addr >> ((addrsz - i - 1u) * 8); in spi_flash_format_addr() 140 return -EINVAL; in spi_flash_read_status() 145 spi_buffers[0].len = 1; in spi_flash_read_status() 146 spi_buffers[1].buf = status; in spi_flash_read_status() 147 spi_buffers[1].len = 1; in spi_flash_read_status() 171 return -EINVAL; in spi_poll_busy() [all …]
|
/Zephyr-Core-3.5.0/drivers/display/ |
D | display_ili9342c.h | 6 * SPDX-License-Identifier: Apache-2.0 30 #define ILI9342C_GAMSET_LEN 1U 31 #define ILI9342C_IFMODE_LEN 1U 33 #define ILI9342C_INVTR_LEN 1U 35 #define ILI9342C_ETMOD_LEN 1U 37 #define ILI9342C_PWCTRL2_LEN 1U 38 #define ILI9342C_PWCTRL3_LEN 1U 39 #define ILI9342C_VMCTRL1_LEN 1U 69 #define ILI9342c_REGS_INIT(n) \ argument 70 static const struct ili9342c_regs ili9xxx_regs_##n = { \ [all …]
|
/Zephyr-Core-3.5.0/samples/drivers/jesd216/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 36 [JESD216_MODE_111] = "1-1-1", 37 [JESD216_MODE_112] = "1-1-2", 38 [JESD216_MODE_114] = "1-1-4", 39 [JESD216_MODE_118] = "1-1-8", 40 [JESD216_MODE_122] = "1-2-2", 41 [JESD216_MODE_144] = "1-4-4", 42 [JESD216_MODE_188] = "1-8-8", 43 [JESD216_MODE_222] = "2-2-2", 44 [JESD216_MODE_444] = "4-4-4", [all …]
|