Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 1905) sorted by relevance

12345678910>>...77

/Zephyr-Core-3.5.0/include/zephyr/sys/
Ddevice_mmio.h69 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
71 .phys_addr = DT_REG_ADDR_BY_NAME(node_id, name), \
72 .size = DT_REG_SIZE_BY_NAME(node_id, name) \
129 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
131 .addr = (mm_reg_t)DT_REG_ADDR_BY_NAME_U64(node_id, name) \
349 #define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name argument
351 #define DEVICE_MMIO_NAMED_RAM(name) argument
365 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument
366 (&(DEV_DATA(dev)->name))
400 #define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name argument
[all …]
Dp4wq.h99 #define K_P4WQ_DEFINE(name, n_threads, stack_sz) \ argument
100 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
102 static struct k_thread _p4threads_##name[n_threads]; \
103 static struct k_p4wq name; \
105 _init_##name) = { \
108 .threads = _p4threads_##name, \
109 .stacks = &(_p4stacks_##name[0][0]), \
110 .queue = &name, \
126 #define K_P4WQ_ARRAY_DEFINE(name, n_threads, stack_sz, flg) \ argument
127 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
[all …]
Dmem_blocks.h128 #define _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf, mbmod) \ argument
129 _SYS_BITARRAY_DEFINE(_sys_mem_blocks_bitmap_##name, \
131 mbmod struct sys_mem_blocks name = { \
134 .bitmap = &_sys_mem_blocks_bitmap_##name, \
138 __##name##_ptr) = &name; \
139 LINKER_KEEP(__##name##_ptr);
150 #define _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, balign, mbmod) \ argument
151 mbmod uint8_t __noinit_named(sys_mem_blocks_buf_##name) \
153 _sys_mem_blocks_buf_##name[num_blks * WB_UP(blk_sz)]; \
154 _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, \
[all …]
/Zephyr-Core-3.5.0/subsys/settings/src/
Dsettings.c44 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-3.5.0/subsys/bluetooth/controller/util/
Dmfifo.h44 #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-3.5.0/include/zephyr/portability/
Dcmsis_os.h286 #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 SYS_BITARRAY_DEFINE_STATIC(bitarray_##name, instances); \
295 static osThreadDef_t os_thread_def_##name = \
296 { (name), (priority), (instances), (stacksz), (void *)(stacks_##name), \
[all …]
/Zephyr-Core-3.5.0/soc/nios2/nios2f-zephyr/cpu/
Dghrd_10m50da.qsf40 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-3.5.0/subsys/tracing/ctf/tsdl/
Dmetadata26 name = thread_switched_out;
30 ctf_bounded_string_t name[20];
35 name = thread_switched_in;
39 ctf_bounded_string_t name[20];
44 name = thread_priority_set;
48 ctf_bounded_string_t name[20];
55 name = thread_create;
59 ctf_bounded_string_t name[20];
64 name = thread_abort;
68 ctf_bounded_string_t name[20];
[all …]
/Zephyr-Core-3.5.0/include/zephyr/app_memory/
Dapp_memdomain.h107 #define Z_APPMEM_PLACEHOLDER(name) \ argument
109 Z_PUSHSECTION_DIRECTIV " " STRINGIFY(K_APP_DMEM_SECTION(name)) \
111 ".global " STRINGIFY(name) "_placeholder\n\t" \
112 STRINGIFY(name) "_placeholder:\n\t" \
127 #define K_APPMEM_PARTITION_DEFINE(name) \ argument
128 extern char Z_APP_START(name)[]; \
129 extern char Z_APP_SIZE(name)[]; \
130 struct k_mem_partition name = { \
131 .start = (uintptr_t) &Z_APP_START(name), \
132 .size = (size_t) &Z_APP_SIZE(name), \
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/misc/pio_rpi_pico/
Dpio_rpi_pico.h25 #define RPI_PICO_PIO_DEFINE_PROGRAM(name, wrap_target, wrap, ...) \ argument
26 static const uint32_t name ## _wrap_target = wrap_target; \
27 static const uint32_t name ## _wrap = wrap; \
28 static const uint16_t name ## _program_instructions[] = { \
31 static const struct pio_program name ## _program = { \
32 .instructions = name ## _program_instructions, \
33 .length = ARRAY_SIZE(name ## _program_instructions), \
42 #define RPI_PICO_PIO_GET_WRAP_TARGET(name) name ## _wrap_target argument
49 #define RPI_PICO_PIO_GET_WRAP(name) name ## _wrap argument
56 #define RPI_PICO_PIO_GET_PROGRAM(name) &name ## _program argument
[all …]
/Zephyr-Core-3.5.0/subsys/tracing/ctf/
Dctf_top.c14 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-3.5.0/include/zephyr/devicetree/
Dpwms.h81 #define DT_PWMS_CTLR_BY_NAME(node_id, name) \ argument
82 DT_PHANDLE_BY_NAME(node_id, pwms, name)
182 #define DT_PWMS_CELL_BY_NAME(node_id, name, cell) \ argument
183 DT_PHA_BY_NAME(node_id, pwms, name, cell)
224 #define DT_PWMS_CHANNEL_BY_NAME(node_id, name) \ argument
225 DT_PWMS_CELL_BY_NAME(node_id, name, channel)
265 #define DT_PWMS_PERIOD_BY_NAME(node_id, name) \ argument
266 DT_PWMS_CELL_BY_NAME(node_id, name, period)
310 #define DT_PWMS_FLAGS_BY_NAME(node_id, name) \ argument
311 DT_PHA_BY_NAME_OR(node_id, pwms, name, flags, 0)
[all …]
Dpinctrl.h81 #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 …]
Ddma.h80 #define DT_DMAS_CTLR_BY_NAME(node_id, name) \ argument
81 DT_PHANDLE_BY_NAME(node_id, dmas, name)
114 #define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \ argument
115 DT_DMAS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
220 #define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \ argument
221 DT_PHA_BY_NAME(node_id, dmas, name, cell)
232 #define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \ argument
233 DT_DMAS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
260 #define DT_DMAS_HAS_NAME(node_id, name) \ argument
261 DT_PROP_HAS_NAME(node_id, dmas, name)
[all …]
Dclocks.h83 #define DT_CLOCKS_HAS_NAME(node_id, name) \ argument
84 DT_PROP_HAS_NAME(node_id, clocks, name)
173 #define DT_CLOCKS_CTLR_BY_NAME(node_id, name) \ argument
174 DT_PHANDLE_BY_NAME(node_id, clocks, name)
243 #define DT_CLOCKS_CELL_BY_NAME(node_id, name, cell) \ argument
244 DT_PHA_BY_NAME(node_id, clocks, name, cell)
270 #define DT_INST_CLOCKS_HAS_NAME(inst, name) \ argument
271 DT_CLOCKS_HAS_NAME(DT_DRV_INST(inst), name)
314 #define DT_INST_CLOCKS_CTLR_BY_NAME(inst, name) \ argument
315 DT_CLOCKS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/common/
Dexc_handle.h37 #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-3.5.0/subsys/testsuite/include/zephyr/
Dtc_util.h151 #define TC_START_PRINT(name) PRINT_DATA("START - %s\n", name); argument
153 #define TC_START_PRINT(name) print_nothing(name) argument
156 #define TC_START_PRINT(name) PRINT_DATA("START - %s\n", name); argument
161 #define TC_START(name) \ argument
163 TC_START_PRINT(name); \
208 #define TC_SUITE_START(name) \ argument
210 TC_SUITE_PRINT("Running TESTSUITE %s\n", name); \
216 #define TC_SUITE_END(name, result) \ argument
219 TC_SUITE_PRINT("TESTSUITE %s succeeded\n", name); \
221 TC_SUITE_PRINT("TESTSUITE %s failed.\n", name); \
[all …]
/Zephyr-Core-3.5.0/tests/subsys/settings/fcb/src/
Dsettings_test_fcb.c29 int c1_handle_get(const char *name, char *val, int val_len_max);
30 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb,
33 int c1_handle_export(int (*cb)(const char *name,
36 int c2_handle_get(const char *name, char *val, int val_len_max);
37 int c2_handle_set(const char *name, size_t len, settings_read_cb read_cb,
39 int c2_handle_export(int (*cb)(const char *name,
42 int c3_handle_get(const char *name, char *val, int val_len_max);
43 int c3_handle_set(const char *name, size_t len, settings_read_cb read_cb,
45 int c3_handle_export(int (*cb)(const char *name,
50 .name = "myfoo",
[all …]
/Zephyr-Core-3.5.0/include/zephyr/toolchain/
Dgcc.h191 #define __in_section_unique_named(seg, name) \ argument
192 ___in_section(seg, __FILE__, name)
457 #define GEN_OFFSET_EXTERN(name) extern const char name[] argument
459 #define GEN_ABS_SYM_BEGIN(name) \ argument
460 EXTERN_C void name(void); \
461 void name(void) \
493 #define GEN_ABSOLUTE_SYM(name, value) \ argument
494 __asm__(".globl\t" #name "\n\t.equ\t" #name \
496 "\n\t.type\t" #name ",%%object" : : "n"(~(value)))
498 #define GEN_ABSOLUTE_SYM_KCONFIG(name, value) \ argument
[all …]
/Zephyr-Core-3.5.0/tests/subsys/settings/src/
Dsettings_test_getset_unknown.c13 char name[80]; in ZTEST() local
17 strcpy(name, "foo/bar"); in ZTEST()
18 rc = settings_runtime_set(name, "tmp", 4); in ZTEST()
23 strcpy(name, "foo/bar"); in ZTEST()
24 rc = settings_runtime_get(name, tmp, sizeof(tmp)); in ZTEST()
29 strcpy(name, "myfoo/bar"); in ZTEST()
30 rc = settings_runtime_set(name, "tmp", 4); in ZTEST()
36 strcpy(name, "myfoo/bar"); in ZTEST()
37 rc = settings_runtime_get(name, tmp, sizeof(tmp)); in ZTEST()
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dcmakecache.py80 name, type_, value = (m.group(g) for g in ('name', 'type', 'value'))
93 return CMakeCacheEntry(name, value)
95 def __init__(self, name, value): argument
96 self.name = name
101 return fmt.format(self.name, self.value)
122 self._entries = OrderedDict((e.name, e) for e in entries)
124 def get(self, name, default=None): argument
125 entry = self._entries.get(name)
131 def get_list(self, name, default=None): argument
134 entry = self._entries.get(name)
[all …]
/Zephyr-Core-3.5.0/include/zephyr/fs/
Dlittlefs.h70 #define FS_LITTLEFS_DECLARE_CUSTOM_CONFIG(name, alignment, read_sz, prog_sz, cache_sz, \ argument
72 static uint8_t __aligned(alignment) name ## _read_buffer[cache_sz]; \
73 static uint8_t __aligned(alignment) name ## _prog_buffer[cache_sz]; \
74 static uint32_t name ## _lookahead_buffer[(lookahead_sz) / sizeof(uint32_t)]; \
75 static struct fs_littlefs name = { \
81 .read_buffer = name ## _read_buffer, \
82 .prog_buffer = name ## _prog_buffer, \
83 .lookahead_buffer = name ## _lookahead_buffer, \
96 #define FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(name) \ argument
97 FS_LITTLEFS_DECLARE_CUSTOM_CONFIG(name, \
/Zephyr-Core-3.5.0/arch/arm/include/cortex_m/
Dtz_ns.h49 #define __TZ_WRAP_FUNC_RAW(preface, name, postface, store_lr, load_lr) \ argument
53 ".global "#name"; .type "#name", %function"); \
61 "bl " #name " \n\t" \
101 #define __TZ_WRAP_FUNC(preface, name, postface) \ argument
102 __TZ_WRAP_FUNC_RAW(preface, name, postface, "push {r4, lr}", \
133 #define TZ_THREAD_SAFE_NONSECURE_ENTRY_FUNC(name, ret, nsc_name, ...) \ argument
134 ret __attribute__((naked)) name(__VA_ARGS__) \
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztest_mock.c16 const char *name; member
80 #define DEFINE_BITFIELD(name, bits) \ argument
81 unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_UL)]
156 const char *fn, const char *name) in find_and_delete_value() argument
164 if (strcmp(param->next->name, name) || strcmp(param->next->fn, fn)) { in find_and_delete_value()
165 return find_and_delete_value(param->next, fn, name); in find_and_delete_value()
176 const char *name, uintptr_t val) in insert_value() argument
182 value->name = name; in insert_value()
198 void z_ztest_expect_value(const char *fn, const char *name, uintptr_t val) in z_ztest_expect_value() argument
200 insert_value(&parameter_list, fn, name, val); in z_ztest_expect_value()
[all …]
/Zephyr-Core-3.5.0/scripts/build/
Dgen_kobject_placeholders.py30 def write_define(out_fp, prefix, name, value): argument
87 name = one_sect.name
88 if name in sections:
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 …]

12345678910>>...77