/Zephyr-Core-3.4.0/boards/posix/nrf52_bsim/ |
D | argparse.c | 31 static struct NRF_bsim_args_t arg; variable 37 bs_trace_set_level(arg.verb); in cmd_trace_lvl_found() 42 bs_trace_set_prefix_dev(arg.global_device_nbr); in cmd_gdev_nbr_found() 64 arg.delay_init = false; in cmd_no_delay_init_found() 69 arg.sync_preinit = false; in cmd_no_sync_preinit_found() 74 arg.sync_preboot = false; in cmd_no_sync_preboot_found() 79 tm_set_phy_max_resync_offset(arg.max_resync_offset); in cmd_max_resync_offset_found() 108 #define args (&arg) in nrfbsim_register_args() 136 (void *)&arg.sync_preinit, NULL, in nrfbsim_register_args() 147 (void *)&arg.sync_preboot, NULL, in nrfbsim_register_args() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | cbprintf_cxx.h | 81 static inline int z_cbprintf_cxx_is_pchar(T arg, bool const_as_fixed) in z_cbprintf_cxx_is_pchar() argument 83 ARG_UNUSED(arg); in z_cbprintf_cxx_is_pchar() 107 static inline size_t z_cbprintf_cxx_arg_size(T arg) in z_cbprintf_cxx_arg_size() argument 109 return sizeof(arg + 0); in z_cbprintf_cxx_arg_size() 113 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, float arg) in z_cbprintf_cxx_store_arg() argument 115 double d = (double)arg; in z_cbprintf_cxx_store_arg() 126 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, char arg) in z_cbprintf_cxx_store_arg() argument 128 int tmp = arg + 0; in z_cbprintf_cxx_store_arg() 133 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, unsigned char arg) in z_cbprintf_cxx_store_arg() argument 135 int tmp = arg + 0; in z_cbprintf_cxx_store_arg() [all …]
|
D | cbprintf_internal.h | 203 #define Z_CBPRINTF_STORE_ARG(buf, arg) z_cbprintf_cxx_store_arg(buf, arg) argument 205 #define Z_CBPRINTF_STORE_ARG(buf, arg) do { \ 208 __auto_type _v = (arg) + 0; \ 209 double _d = _Generic((arg) + 0, \ 210 float : (arg) + 0, \ 216 size_t arg_size = Z_CBPRINTF_ARG_SIZE(arg); \ 219 (int *) _Generic((arg) + 0, float : &_d, default : &_v), \ 222 *_Generic((arg) + 0, \ 237 (const void **)buf) = arg; \ 344 #define Z_CBPRINTF_PACK_ARG(arg_idx, arg) \ argument [all …]
|
/Zephyr-Core-3.4.0/subsys/settings/src/ |
D | settings_runtime.c | 20 struct read_cb_arg *arg = (struct read_cb_arg *)cb_arg; in settings_runtime_read_cb() local 22 memcpy(data, arg->data, MIN(arg->len, len)); in settings_runtime_read_cb() 23 return MIN(arg->len, len); in settings_runtime_read_cb() 30 struct read_cb_arg arg; in settings_runtime_set() local 37 arg.data = data; in settings_runtime_set() 38 arg.len = len; in settings_runtime_set() 39 return ch->h_set(name_key, len, settings_runtime_read_cb, (void *)&arg); in settings_runtime_set()
|
/Zephyr-Core-3.4.0/soc/xtensa/sample_controller/include/ |
D | _soc_inthandlers.h | 95 e->isr(e->arg); in _xtensa_handle_one_int1() 101 e->isr(e->arg); in _xtensa_handle_one_int1() 107 e->isr(e->arg); in _xtensa_handle_one_int1() 115 e->isr(e->arg); in _xtensa_handle_one_int1() 121 e->isr(e->arg); in _xtensa_handle_one_int1() 128 e->isr(e->arg); in _xtensa_handle_one_int1() 134 e->isr(e->arg); in _xtensa_handle_one_int1() 144 e->isr(e->arg); in _xtensa_handle_one_int1() 150 e->isr(e->arg); in _xtensa_handle_one_int1() 156 e->isr(e->arg); in _xtensa_handle_one_int1() [all …]
|
/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/ |
D | smp_internal.h | 67 void *smp_alloc_rsp(const void *req, void *arg); 70 void *zephyr_smp_alloc_rsp(const void *req, void *arg) in zephyr_smp_alloc_rsp() argument 72 return smp_alloc_rsp(req, arg); in zephyr_smp_alloc_rsp() 82 void smp_free_buf(void *buf, void *arg); 85 void zephyr_smp_free_buf(void *buf, void *arg) in zephyr_smp_free_buf() argument 87 smp_free_buf(buf, arg); in zephyr_smp_free_buf()
|
/Zephyr-Core-3.4.0/boards/posix/native_posix/ |
D | cmdline_common.c | 31 int cmd_is_option(const char *arg, const char *option, int with_value) in cmd_is_option() argument 36 if (arg[of] == '-') { in cmd_is_option() 39 if (arg[of] == '-') { in cmd_is_option() 44 if (strcmp(&arg[of], option) != 0) { in cmd_is_option() 51 while (!(arg[of] == 0 && *option == 0)) { in cmd_is_option() 53 if ((arg[of] == ':') || (arg[of] == '=')) { in cmd_is_option() 59 if (arg[of] != *option) { in cmd_is_option() 66 if (arg[of] == 0) { /* we need a value to follow */ in cmd_is_option() 70 arg); in cmd_is_option() 82 int cmd_is_help_option(const char *arg) in cmd_is_help_option() argument [all …]
|
/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | semaphore.c | 15 void thread_sema(void const *arg) in thread_sema() argument 20 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema() 25 tokens_available = osSemaphoreWait((osSemaphoreId)arg, TIMEOUT - 100); in thread_sema() 37 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema() 40 zassert_true(osSemaphoreRelease((osSemaphoreId)arg) == osOK, in thread_sema() 44 zassert_true(osSemaphoreRelease((osSemaphoreId)arg) == osErrorResource, in thread_sema()
|
D | timer.c | 14 void Timer1_Callback(void const *arg); 15 void Timer2_Callback(void const *arg); 23 void Timer1_Callback(void const *arg) in Timer1_Callback() argument 25 uint32_t Tmr = *(uint32_t *)arg; in Timer1_Callback() 32 void Timer2_Callback(void const *arg) in Timer2_Callback() argument 34 uint32_t Tmr = *(uint32_t *)arg; in Timer2_Callback()
|
/Zephyr-Core-3.4.0/soc/arm/nuvoton_npcx/common/ecst/ |
D | ecst_args.py | 123 for arg in vars(argument_list): 124 if (arg == "input") & (argument_list.input is not None): 127 elif (arg == "output") & (argument_list.output is not None): 130 elif (arg == "chip") & (argument_list.chip is not None): 134 elif (arg == "verbose") & argument_list.verbose: 137 elif (arg == "super_verbose") & argument_list.super_verbose: 140 elif (arg == "spi_flash_maximum_clock") & \ 145 elif (arg == "spi_flash_clock_ratio") & \ 153 elif (arg == "firmware_header_crc") &\ 157 elif (arg == "firmware_crc") & argument_list.firmware_crc: [all …]
|
/Zephyr-Core-3.4.0/subsys/stats/ |
D | stats_shell.c | 10 static int stats_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stats_cb() argument 12 struct shell *sh = arg; in stats_cb() 32 static int stats_group_cb(struct stats_hdr *hdr, void *arg) in stats_group_cb() argument 34 struct shell *sh = arg; in stats_group_cb() 37 return stats_walk(hdr, stats_cb, arg); in stats_group_cb()
|
/Zephyr-Core-3.4.0/lib/libc/minimal/source/stdlib/ |
D | qsort.c | 36 void *arg; member 39 int (*comp3)(const void *a, const void *b, void *arg); 46 return cmp->comp3(a, b, cmp->arg); in compare() 101 int (*comp3)(const void *a, const void *b, void *arg), void *arg) in qsort_r() argument 105 .arg = arg, in qsort_r() 119 .arg = NULL, in qsort()
|
/Zephyr-Core-3.4.0/arch/x86/core/intel64/ |
D | irq.c | 30 void (*x86_irq_funcs[NR_IRQ_VECTORS])(const void *arg); 42 static void irq_spurious(const void *arg) in irq_spurious() argument 44 LOG_ERR("Spurious interrupt, vector %d\n", (uint32_t)(uint64_t)arg); in irq_spurious() 95 void (*func)(const void *arg), in z_x86_irq_connect_on_vector() argument 96 const void *arg) in z_x86_irq_connect_on_vector() 100 x86_irq_args[vector - IV_IRQS] = arg; in z_x86_irq_connect_on_vector() 110 void (*func)(const void *arg), in arch_irq_connect_dynamic() argument 111 const void *arg, uint32_t flags) in arch_irq_connect_dynamic() 134 z_x86_irq_connect_on_vector(irq, vector, func, arg); in arch_irq_connect_dynamic()
|
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/common/ |
D | multiprocessing.c | 31 void *arg; member 109 start_rec.fn(start_rec.arg); in z_mp_entry() 119 arch_cpustart_t fn, void *arg) in arch_start_cpu() argument 125 start_rec.arg = arg; in arch_start_cpu()
|
/Zephyr-Core-3.4.0/arch/x86/core/ |
D | prep_c.c | 25 FUNC_NORETURN void z_x86_prep_c(void *arg) in z_x86_prep_c() argument 27 x86_boot_arg_t *cpu_arg = arg; in z_x86_prep_c() 45 z_multiboot_init((struct multiboot_info *)cpu_arg->arg); in z_x86_prep_c() 48 efi_init((struct efi_boot_arg *)cpu_arg->arg); in z_x86_prep_c()
|
/Zephyr-Core-3.4.0/include/zephyr/debug/ |
D | coredump.h | 179 void *arg); 181 void *arg); 205 int coredump_query(enum coredump_query_id query_id, void *arg); 206 int coredump_cmd(enum coredump_cmd_id cmd_id, void *arg); 223 int coredump_query(enum coredump_query_id query_id, void *arg) in coredump_query() argument 228 int coredump_cmd(enum coredump_cmd_id query_id, void *arg) in coredump_cmd() argument
|
/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | semaphore.c | 14 void thread_sema(void *arg) in thread_sema() argument 19 status = osSemaphoreAcquire((osSemaphoreId_t)arg, 0); in thread_sema() 24 status = osSemaphoreAcquire((osSemaphoreId_t)arg, TIMEOUT_TICKS - 5); in thread_sema() 36 status = osSemaphoreAcquire((osSemaphoreId_t)arg, 0); in thread_sema() 39 zassert_true(osSemaphoreRelease((osSemaphoreId_t)arg) == osOK, in thread_sema() 44 osSemaphoreRelease((osSemaphoreId_t)arg) == osErrorResource, in thread_sema()
|
/Zephyr-Core-3.4.0/drivers/interrupt_controller/ |
D | intc_vexriscv_litex.c | 73 ite->isr(ite->arg); in vexriscv_litex_irq_handler() 80 ite->isr(ite->arg); in vexriscv_litex_irq_handler() 87 ite->isr(ite->arg); in vexriscv_litex_irq_handler() 94 ite->isr(ite->arg); in vexriscv_litex_irq_handler() 98 ite->isr(ite->arg); in vexriscv_litex_irq_handler() 104 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
|
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/common/include/ |
D | intel_adsp_ipc.h | 38 typedef bool (*intel_adsp_ipc_handler_t)(const struct device *dev, void *arg, 63 typedef bool (*intel_adsp_ipc_done_t)(const struct device *dev, void *arg); 87 intel_adsp_ipc_handler_t fn, void *arg); 100 intel_adsp_ipc_done_t fn, void *arg);
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/ |
D | has.c | 88 const char *arg = argv[argn]; in cmd_features_set() local 90 if (strcmp(arg, "binaural") == 0) { in cmd_features_set() 92 } else if (strcmp(arg, "monaural") == 0) { in cmd_features_set() 94 } else if (strcmp(arg, "banded") == 0) { in cmd_features_set() 96 } else if (strcmp(arg, "sync") == 0) { in cmd_features_set() 98 } else if (strcmp(arg, "independent") == 0) { in cmd_features_set() 125 const char *arg = argv[argn]; in cmd_has_register() local 127 if (strcmp(arg, "binaural") == 0) { in cmd_has_register() 129 } else if (strcmp(arg, "monaural") == 0) { in cmd_has_register() 131 } else if (strcmp(arg, "banded") == 0) { in cmd_has_register() [all …]
|
/Zephyr-Core-3.4.0/soc/xtensa/esp32/ |
D | esp32-mp.c | 36 void *arg; member 109 start_rec->fn(start_rec->arg); in appcpu_entry2() 230 IRAM_ATTR static void esp_crosscore_isr(void *arg) in esp_crosscore_isr() argument 232 ARG_UNUSED(arg); in esp_crosscore_isr() 247 arch_cpustart_t fn, void *arg) in arch_start_cpu() argument 262 sr.arg = arg; in arch_start_cpu()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fcb/src/ |
D | fcb_test.h | 38 int fcb_test_empty_walk_cb(struct fcb_entry_ctx *entry_ctx, void *arg); 40 int fcb_test_data_walk_cb(struct fcb_entry_ctx *entry_ctx, void *arg); 41 int fcb_test_cnt_elems_cb(struct fcb_entry_ctx *entry_ctx, void *arg);
|
/Zephyr-Core-3.4.0/scripts/utils/ |
D | migrate_sys_init.py | 45 arg = None 57 b, sys_init, arg, e = m.groups() 60 elif arg: 61 m = re.match(r"^\s?ARG_UNUSED\(" + arg + r"\);.*$", line) 63 arg = None
|
/Zephyr-Core-3.4.0/arch/arm64/core/ |
D | smp.c | 39 void *arg; member 64 arch_cpustart_t fn, void *arg) in arch_start_cpu() argument 95 arm64_cpu_boot_params.arg = arg; in arch_start_cpu() 127 void *arg; in z_arm64_secondary_start() local 152 arg = arm64_cpu_boot_params.arg; in z_arm64_secondary_start() 164 fn(arg); in z_arm64_secondary_start()
|
/Zephyr-Core-3.4.0/include/zephyr/tracing/ |
D | tracing_format.h | 55 struct tracing_data arg[] = {__VA_ARGS__}; \ 57 tracing_format_data(arg, sizeof(arg) / \
|