/Zephyr-Core-2.7.6/include/sys/ |
D | device_mmio.h | 338 #define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name argument 340 #define DEVICE_MMIO_NAMED_RAM(name) argument 356 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument 357 (&(DEV_DATA(dev)->name)) 393 #define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name argument 409 #define DEVICE_MMIO_NAMED_ROM_PTR(dev, name) (&(DEV_CFG(dev)->name)) argument 435 #define DEVICE_MMIO_NAMED_ROM_INIT(name, node_id) \ argument 436 .name = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id) 467 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) \ argument 468 device_map(DEVICE_MMIO_NAMED_RAM_PTR((dev), name), \ [all …]
|
D | p4wq.h | 98 #define K_P4WQ_DEFINE(name, n_threads, stack_sz) \ argument 99 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \ 101 static struct k_thread _p4threads_##name[n_threads]; \ 102 static struct k_p4wq name; \ 104 _init_##name) = { \ 107 .threads = _p4threads_##name, \ 108 .stacks = &(_p4stacks_##name[0][0]), \ 109 .queue = &name, \ 125 #define K_P4WQ_ARRAY_DEFINE(name, n_threads, stack_sz, flg) \ argument 126 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \ [all …]
|
/Zephyr-Core-2.7.6/subsys/settings/src/ |
D | settings.c | 44 if (strcmp(handler->name, ch->name) == 0) { in settings_register() 53 if (strcmp(handler->name, ch->name) == 0) { in settings_register() 66 int settings_name_steq(const char *name, const char *key, const char **next) in settings_name_steq() argument 72 if ((!name) || (!key)) { in settings_name_steq() 81 while ((*key != '\0') && (*key == *name) && in settings_name_steq() 82 (*name != '\0') && (*name != SETTINGS_NAME_END)) { in settings_name_steq() 84 name++; in settings_name_steq() 91 if (*name == SETTINGS_NAME_SEPARATOR) { in settings_name_steq() 93 *next = name + 1; in settings_name_steq() 98 if ((*name == SETTINGS_NAME_END) || (*name == '\0')) { in settings_name_steq() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/ |
D | mfifo.h | 44 #define MFIFO_DEFINE(name, sz, cnt) \ argument 53 } mfifo_##name = { \ 64 #define MFIFO_INIT(name) \ argument 65 mfifo_##name.f = mfifo_##name.l = 0 111 #define MFIFO_ENQUEUE_IDX_GET(name, i) \ argument 112 mfifo_enqueue_idx_get(mfifo_##name.n, mfifo_##name.f, \ 113 mfifo_##name.l, (i)) 134 #define MFIFO_BY_IDX_ENQUEUE(name, i, mem) \ argument 135 mfifo_by_idx_enqueue(mfifo_##name.m, mfifo_##name.s, (i), \ 136 (mem), &mfifo_##name.l) [all …]
|
/Zephyr-Core-2.7.6/include/portability/ |
D | cmsis_os.h | 286 #define osThreadDef(name, priority, instances, stacksz) \ argument 287 extern const osThreadDef_t os_thread_def_##name 289 #define osThreadDef(name, priority, instances, stacksz) \ argument 290 static K_THREAD_STACK_ARRAY_DEFINE(stacks_##name, instances, CONFIG_CMSIS_THREAD_MAX_STACK_SIZE); \ 291 static struct k_thread cm_thread_##name[instances]; \ 292 static struct k_poll_signal wait_signal_##name; \ 293 static struct k_poll_event wait_events_##name; \ 294 static SYS_BITARRAY_DEFINE(bitarray_##name, instances); \ 295 static osThreadDef_t os_thread_def_##name = \ 296 { (name), (priority), (instances), (stacksz), (void *)(stacks_##name), \ [all …]
|
/Zephyr-Core-2.7.6/soc/nios2/nios2f-zephyr/cpu/ |
D | ghrd_10m50da.qsf | 40 set_global_assignment -name FAMILY "MAX 10" 41 set_global_assignment -name DEVICE 10M50DAF484C6GES 42 set_global_assignment -name ORIGINAL_QUARTUS_VERSION 16.0.0 43 set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:01:48 APRIL 27, 2016" 44 set_global_assignment -name LAST_QUARTUS_VERSION "17.0.0 Standard Edition" 45 set_global_assignment -name TOP_LEVEL_ENTITY ghrd_10m50da_top 46 set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files 47 set_global_assignment -name UNIPHY_SEQUENCER_DQS_CONFIG_ENABLE ON 48 set_global_assignment -name OPTIMIZE_MULTI_CORNER_TIMING ON 49 set_global_assignment -name UNIPHY_TEMP_VER_CODE 1590306432 [all …]
|
/Zephyr-Core-2.7.6/subsys/tracing/ctf/ |
D | ctf_top.c | 14 ctf_bounded_string_t *name) in _get_thread_name() argument 19 strncpy(name->buf, tname, sizeof(name->buf)); in _get_thread_name() 21 name->buf[sizeof(name->buf) - 1] = 0; in _get_thread_name() 27 ctf_bounded_string_t name = { "unknown" }; in sys_trace_k_thread_switched_out() local 31 _get_thread_name(thread, &name); in sys_trace_k_thread_switched_out() 33 ctf_top_thread_switched_out((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_switched_out() 39 ctf_bounded_string_t name = { "unknown" }; in sys_trace_k_thread_switched_in() local 42 _get_thread_name(thread, &name); in sys_trace_k_thread_switched_in() 44 ctf_top_thread_switched_in((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_switched_in() 49 ctf_bounded_string_t name = { "unknown" }; in sys_trace_k_thread_priority_set() local [all …]
|
/Zephyr-Core-2.7.6/subsys/tracing/ctf/tsdl/ |
D | metadata | 35 name = thread_switched_out; 39 ctf_bounded_string_t name[20]; 44 name = thread_switched_in; 48 ctf_bounded_string_t name[20]; 53 name = thread_priority_set; 57 ctf_bounded_string_t name[20]; 64 name = thread_create; 68 ctf_bounded_string_t name[20]; 73 name = thread_abort; 77 ctf_bounded_string_t name[20]; [all …]
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_ll_stm32.c | 272 #define STM32_I2C_IRQ_CONNECT_AND_ENABLE(name) \ argument 274 IRQ_CONNECT(DT_IRQN(DT_NODELABEL(name)), \ 275 DT_IRQ(DT_NODELABEL(name), priority), \ 277 DEVICE_DT_GET(DT_NODELABEL(name)), 0); \ 278 irq_enable(DT_IRQN(DT_NODELABEL(name))); \ 281 #define STM32_I2C_IRQ_CONNECT_AND_ENABLE(name) \ argument 283 IRQ_CONNECT(DT_IRQ_BY_NAME(DT_NODELABEL(name), event, irq),\ 284 DT_IRQ_BY_NAME(DT_NODELABEL(name), event, \ 287 DEVICE_DT_GET(DT_NODELABEL(name)), 0); \ 288 irq_enable(DT_IRQ_BY_NAME(DT_NODELABEL(name), event, irq));\ [all …]
|
/Zephyr-Core-2.7.6/include/app_memory/ |
D | app_memdomain.h | 100 #define Z_APPMEM_PLACEHOLDER(name) \ argument 102 Z_PUSHSECTION_DIRECTIV " " STRINGIFY(K_APP_DMEM_SECTION(name)) \ 104 ".global " STRINGIFY(name) "_placeholder\n\t" \ 105 STRINGIFY(name) "_placeholder:\n\t" \ 120 #define K_APPMEM_PARTITION_DEFINE(name) \ argument 121 extern char Z_APP_START(name)[]; \ 122 extern char Z_APP_SIZE(name)[]; \ 123 struct k_mem_partition name = { \ 124 .start = (uintptr_t) &Z_APP_START(name), \ 125 .size = (size_t) &Z_APP_SIZE(name), \ [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/settings/nvs/src/ |
D | settings_test_nvs.c | 24 int c1_handle_get(const char *name, char *val, int val_len_max); 25 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, 28 int c1_handle_export(int (*cb)(const char *name, 31 int c2_handle_get(const char *name, char *val, int val_len_max); 32 int c2_handle_set(const char *name, size_t len, settings_read_cb read_cb, 34 int c2_handle_export(int (*cb)(const char *name, 37 int c3_handle_get(const char *name, char *val, int val_len_max); 38 int c3_handle_set(const char *name, size_t len, settings_read_cb read_cb, 40 int c3_handle_export(int (*cb)(const char *name, 45 .name = "myfoo", [all …]
|
/Zephyr-Core-2.7.6/soc/arm/st_stm32/common/ |
D | st_stm32_dt.h | 46 #define ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i) \ argument 47 DT_PINCTRL_BY_IDX(DT_NODELABEL(name), x, i) 70 #define ST_STM32_DT_PINMUX(name, x, i) \ argument 71 DT_PROP(ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i), pinmux) 96 #define ST_STM32_DT_FUNC(name, x, i, function) \ argument 97 DT_PROP(ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i), function) 121 #define ST_STM32_DT_SLEW_RATE(name, x, i) \ argument 122 DT_ENUM_IDX(ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i), slew_rate) 173 #define ST_STM32_DT_PINCFG(name, x, i) \ argument 174 (((STM32_NO_PULL * ST_STM32_DT_FUNC(name, x, i, bias_disable)) \ [all …]
|
/Zephyr-Core-2.7.6/include/toolchain/ |
D | gcc.h | 160 #define __in_section_unique_named(seg, name) \ argument 161 ___in_section(seg, __FILE__, name) 404 #define GEN_OFFSET_EXTERN(name) extern const char name[] argument 406 #define GEN_ABS_SYM_BEGIN(name) \ argument 407 EXTERN_C void name(void); \ 408 void name(void) \ 440 #define GEN_ABSOLUTE_SYM(name, value) \ argument 441 __asm__(".globl\t" #name "\n\t.equ\t" #name \ 443 "\n\t.type\t" #name ",%%object" : : "n"(~(value))) 445 #define GEN_ABSOLUTE_SYM_KCONFIG(name, value) \ argument [all …]
|
/Zephyr-Core-2.7.6/include/devicetree/ |
D | pwms.h | 94 #define DT_PWMS_LABEL_BY_NAME(node_id, name) \ argument 96 DT_PROP(DT_PHANDLE_BY_NAME(node_id, pwms, name), label) 162 #define DT_PWMS_CTLR_BY_NAME(node_id, name) \ argument 163 DT_PHANDLE_BY_NAME(node_id, pwms, name) 267 #define DT_PWMS_CELL_BY_NAME(node_id, name, cell) \ argument 268 DT_PHA_BY_NAME(node_id, pwms, name, cell) 309 #define DT_PWMS_CHANNEL_BY_NAME(node_id, name) \ argument 310 DT_PWMS_CELL_BY_NAME(node_id, name, channel) 350 #define DT_PWMS_PERIOD_BY_NAME(node_id, name) \ argument 351 DT_PWMS_CELL_BY_NAME(node_id, name, period) [all …]
|
D | dma.h | 103 #define DT_DMAS_LABEL_BY_NAME(node_id, name) \ argument 105 DT_PROP(DT_PHANDLE_BY_NAME(node_id, dmas, name), label) 162 #define DT_DMAS_CTLR_BY_NAME(node_id, name) \ argument 163 DT_PHANDLE_BY_NAME(node_id, dmas, name) 183 #define DT_INST_DMAS_LABEL_BY_NAME(inst, name) \ argument 185 DT_DMAS_LABEL_BY_NAME(DT_DRV_INST(inst), name) 209 #define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \ argument 210 DT_DMAS_CTLR_BY_NAME(DT_DRV_INST(inst), name) 315 #define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \ argument 316 DT_PHA_BY_NAME(node_id, dmas, name, cell) [all …]
|
D | pinctrl.h | 81 #define DT_PINCTRL_BY_NAME(node_id, name, idx) \ argument 82 DT_CAT6(node_id, _PINCTRL_NAME_, name, _IDX_, idx, _PH) 104 #define DT_PINCTRL_NAME_TO_IDX(node_id, name) \ argument 105 DT_CAT4(node_id, _PINCTRL_NAME_, name, _IDX) 212 #define DT_NUM_PINCTRLS_BY_NAME(node_id, name) \ argument 213 DT_NUM_PINCTRLS_BY_IDX(node_id, DT_PINCTRL_NAME_TO_IDX(node_id, name)) 297 #define DT_PINCTRL_HAS_NAME(node_id, name) \ argument 298 IS_ENABLED(DT_CAT4(node_id, _PINCTRL_NAME_, name, _EXISTS)) 344 #define DT_INST_PINCTRL_BY_NAME(inst, name, idx) \ argument 345 DT_PINCTRL_BY_NAME(DT_DRV_INST(inst), name, idx) [all …]
|
/Zephyr-Core-2.7.6/subsys/testsuite/include/ |
D | tc_util.h | 129 #define TC_START(name) \ argument 131 PRINT_DATA("START - %s\n", name); \ 158 #define TC_SUITE_START(name) \ argument 160 TC_PRINT("Running test suite %s\n", name); \ 166 #define TC_SUITE_END(name, result) \ argument 169 TC_PRINT("Test suite %s succeeded\n", name); \ 171 TC_PRINT("Test suite %s failed.\n", name); \ 195 #define TC_CMD_DEFINE(name) \ argument 196 static int cmd_##name(const struct shell *shell, size_t argc, \ 200 name(); \ [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/settings/fcb/src/ |
D | settings_test_fcb.c | 26 int c1_handle_get(const char *name, char *val, int val_len_max); 27 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, 30 int c1_handle_export(int (*cb)(const char *name, 33 int c2_handle_get(const char *name, char *val, int val_len_max); 34 int c2_handle_set(const char *name, size_t len, settings_read_cb read_cb, 36 int c2_handle_export(int (*cb)(const char *name, 39 int c3_handle_get(const char *name, char *val, int val_len_max); 40 int c3_handle_set(const char *name, size_t len, settings_read_cb read_cb, 42 int c3_handle_export(int (*cb)(const char *name, 47 .name = "myfoo", [all …]
|
/Zephyr-Core-2.7.6/subsys/testsuite/ztest/src/ |
D | ztest_mock.c | 15 const char *name; member 66 #define DEFINE_BITFIELD(name, bits) \ argument 67 unsigned long int(name)[((bits) + BITS_PER_UL - 1) / BITS_PER_UL] 141 const char *fn, const char *name) in find_and_delete_value() argument 149 if (strcmp(param->next->name, name) || strcmp(param->next->fn, fn)) { in find_and_delete_value() 150 return find_and_delete_value(param->next, fn, name); in find_and_delete_value() 161 const char *name, uintptr_t val) in insert_value() argument 167 value->name = name; in insert_value() 183 void z_ztest_expect_value(const char *fn, const char *name, uintptr_t val) in z_ztest_expect_value() argument 185 insert_value(¶meter_list, fn, name, val); in z_ztest_expect_value() [all …]
|
/Zephyr-Core-2.7.6/include/ |
D | exc_handle.h | 37 #define Z_EXC_HANDLE(name) \ argument 38 { name ## _fault_start, name ## _fault_end, name ## _fixup } 40 #define Z_EXC_DECLARE(name) \ argument 41 void name ## _fault_start(void); \ 42 void name ## _fault_end(void); \ 43 void name ## _fixup(void)
|
/Zephyr-Core-2.7.6/tests/subsys/settings/src/ |
D | settings_test_getset_unknown.c | 13 char name[80]; in test_config_getset_unknown() local 17 strcpy(name, "foo/bar"); in test_config_getset_unknown() 18 rc = settings_runtime_set(name, "tmp", 4); in test_config_getset_unknown() 23 strcpy(name, "foo/bar"); in test_config_getset_unknown() 24 rc = settings_runtime_get(name, tmp, sizeof(tmp)); in test_config_getset_unknown() 29 strcpy(name, "myfoo/bar"); in test_config_getset_unknown() 30 rc = settings_runtime_set(name, "tmp", 4); in test_config_getset_unknown() 36 strcpy(name, "myfoo/bar"); in test_config_getset_unknown() 37 rc = settings_runtime_get(name, tmp, sizeof(tmp)); in test_config_getset_unknown()
|
/Zephyr-Core-2.7.6/include/fs/ |
D | littlefs.h | 70 #define FS_LITTLEFS_DECLARE_CUSTOM_CONFIG(name, read_sz, prog_sz, cache_sz, lookahead_sz) \ argument 71 static uint8_t __aligned(4) name ## _read_buffer[cache_sz]; \ 72 static uint8_t __aligned(4) name ## _prog_buffer[cache_sz]; \ 73 static uint32_t name ## _lookahead_buffer[(lookahead_sz) / sizeof(uint32_t)]; \ 74 static struct fs_littlefs name = { \ 80 .read_buffer = name ## _read_buffer, \ 81 .prog_buffer = name ## _prog_buffer, \ 82 .lookahead_buffer = name ## _lookahead_buffer, \ 95 #define FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(name) \ argument 96 FS_LITTLEFS_DECLARE_CUSTOM_CONFIG(name, \
|
/Zephyr-Core-2.7.6/tests/net/lib/http_header_fields/src/ |
D | main.c | 44 const char *name; member 53 .name = "proxy request", 70 .name = "proxy request with port", 88 .name = "CONNECT request", 105 .name = "CONNECT request but not connect", 112 .name = "proxy ipv6 request", 129 .name = "proxy ipv6 request with port", 147 .name = "CONNECT ipv6 address", 164 .name = "ipv4 in ipv6 address", 181 .name = "extra ? in query string", [all …]
|
/Zephyr-Core-2.7.6/include/settings/ |
D | settings.h | 66 const char *name; member 103 int (*h_export)(int (*export_func)(const char *name, const void *val, 132 const char *name; member 167 int (*h_export)(int (*export_func)(const char *name, const void *val, 204 .name = _tree, \ 322 int settings_save_one(const char *name, const void *value, size_t val_len); 334 int settings_delete(const char *name); 435 int (*csi_save)(struct settings_store *cs, const char *name, 483 struct settings_handler_static *settings_parse_and_lookup(const char *name, 499 int settings_call_set_handler(const char *name, [all …]
|
/Zephyr-Core-2.7.6/scripts/ |
D | gen_kobject_placeholders.py | 30 def write_define(out_fp, prefix, name, value): argument 87 name = one_sect.name 88 if name in sections.keys(): 90 sections[name]['align'] = one_sect['sh_addralign'] 91 sections[name]['size'] = one_sect['sh_size'] 92 sections[name]['exists'] = True 94 if "multiplier" in sections[name]: 95 sections[name]['size'] *= sections[name]['multiplier'] / 100 96 sections[name]['size'] = int(sections[name]['size']) 98 if "extra_bytes" in sections[name]: [all …]
|