Home
last modified time | relevance | path

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

12345678910>>...63

/Zephyr-Core-3.4.0/include/zephyr/sys/
Ddevice_mmio.h65 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
67 .phys_addr = DT_REG_ADDR_BY_NAME(node_id, name), \
68 .size = DT_REG_SIZE_BY_NAME(node_id, name) \
122 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
124 .addr = DT_REG_ADDR_BY_NAME(node_id, name) \
342 #define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name argument
344 #define DEVICE_MMIO_NAMED_RAM(name) argument
358 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument
359 (&(DEV_DATA(dev)->name))
393 #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.h124 #define _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf, mbmod) \ argument
125 _SYS_BITARRAY_DEFINE(_sys_mem_blocks_bitmap_##name, \
127 mbmod sys_mem_blocks_t name = { \
131 .bitmap = &_sys_mem_blocks_bitmap_##name, \
143 #define _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, balign, mbmod) \ argument
144 mbmod uint8_t __noinit_named(sys_mem_blocks_buf_##name) \
146 _sys_mem_blocks_buf_##name[num_blks * WB_UP(blk_sz)]; \
147 _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, \
148 _sys_mem_blocks_buf_##name, \
163 #define SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align) \ argument
[all …]
/Zephyr-Core-3.4.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.4.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.4.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.4.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.4.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.4.0/include/zephyr/app_memory/
Dapp_memdomain.h100 #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-3.4.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.4.0/include/zephyr/xen/public/
Darch-arm.h176 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument
178 __guest_handle_ ## name; \
180 __guest_handle_64_ ## name
189 #define __DEFINE_XEN_GUEST_HANDLE(name, type) \ argument
190 ___DEFINE_XEN_GUEST_HANDLE(name, type); \
191 ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
192 #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name) argument
193 #define __XEN_GUEST_HANDLE(name) __guest_handle_64_ ## name argument
194 #define XEN_GUEST_HANDLE(name) __XEN_GUEST_HANDLE(name) argument
195 #define XEN_GUEST_HANDLE_PARAM(name) __guest_handle_ ## name argument
/Zephyr-Core-3.4.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.4.0/include/zephyr/toolchain/
Dgcc.h185 #define __in_section_unique_named(seg, name) \ argument
186 ___in_section(seg, __FILE__, name)
451 #define GEN_OFFSET_EXTERN(name) extern const char name[] argument
453 #define GEN_ABS_SYM_BEGIN(name) \ argument
454 EXTERN_C void name(void); \
455 void name(void) \
487 #define GEN_ABSOLUTE_SYM(name, value) \ argument
488 __asm__(".globl\t" #name "\n\t.equ\t" #name \
490 "\n\t.type\t" #name ",%%object" : : "n"(~(value)))
492 #define GEN_ABSOLUTE_SYM_KCONFIG(name, value) \ argument
[all …]
/Zephyr-Core-3.4.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 …]
/Zephyr-Core-3.4.0/subsys/testsuite/include/zephyr/
Dtc_util.h145 #define TC_START_PRINT(name) PRINT_DATA("START - %s\n", name); argument
147 #define TC_START_PRINT(name) print_nothing(name) argument
150 #define TC_START_PRINT(name) PRINT_DATA("START - %s\n", name); argument
155 #define TC_START(name) \ argument
157 TC_START_PRINT(name); \
202 #define TC_SUITE_START(name) \ argument
204 TC_SUITE_PRINT("Running TESTSUITE %s\n", name); \
210 #define TC_SUITE_END(name, result) \ argument
213 TC_SUITE_PRINT("TESTSUITE %s succeeded\n", name); \
215 TC_SUITE_PRINT("TESTSUITE %s failed.\n", name); \
[all …]
/Zephyr-Core-3.4.0/include/zephyr/
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.4.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.4.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.4.0/include/zephyr/fs/
Dlittlefs.h70 #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-3.4.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.4.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.4.0/arch/arm/include/aarch32/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.4.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>>...63