Home
last modified time | relevance | path

Searched refs:UTIL_CAT (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.6.0/include/zephyr/sys/
Dutil_internal.h104 #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) macro
120 #define _CONCAT_1(arg, ...) UTIL_CAT(arg, _CONCAT_0(__VA_ARGS__))
121 #define _CONCAT_2(arg, ...) UTIL_CAT(arg, _CONCAT_1(__VA_ARGS__))
122 #define _CONCAT_3(arg, ...) UTIL_CAT(arg, _CONCAT_2(__VA_ARGS__))
123 #define _CONCAT_4(arg, ...) UTIL_CAT(arg, _CONCAT_3(__VA_ARGS__))
124 #define _CONCAT_5(arg, ...) UTIL_CAT(arg, _CONCAT_4(__VA_ARGS__))
125 #define _CONCAT_6(arg, ...) UTIL_CAT(arg, _CONCAT_5(__VA_ARGS__))
126 #define _CONCAT_7(arg, ...) UTIL_CAT(arg, _CONCAT_6(__VA_ARGS__))
143 #define MACRO_MAP_CAT_N_(N, ...) UTIL_CAT(MACRO_MC_, N)(__VA_ARGS__,)
146 #define MACRO_MC_2(m, a, ...) UTIL_CAT(m(a), MACRO_MC_1(m, __VA_ARGS__,))
[all …]
Dutil_macro.h442 #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
/Zephyr-Core-3.6.0/soc/arm/atmel_sam0/common/
Dadc_fixup_sam0.h78 UTIL_CAT(ADC_CALIB_, val)( \
79 (((*(uint32_t *)UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _ADDR)) \
80 >> UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Pos)) \
81 & UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Msk)) \
87 # define ADC_FUSES_PREFIX(n) UTIL_CAT(AD, UTIL_CAT(C, UTIL_CAT(n, _)))
/Zephyr-Core-3.6.0/include/zephyr/linker/
Ddevicetree_regions.h89 #define _DT_SECTION_PREFIX(node_id) UTIL_CAT(__, LINKER_DT_NODE_REGION_NAME_TOKEN(node_id))
90 #define _DT_SECTION_START(node_id) UTIL_CAT(_DT_SECTION_PREFIX(node_id), _start)
91 #define _DT_SECTION_END(node_id) UTIL_CAT(_DT_SECTION_PREFIX(node_id), _end)
92 #define _DT_SECTION_SIZE(node_id) UTIL_CAT(_DT_SECTION_PREFIX(node_id), _size)
93 #define _DT_SECTION_LOAD(node_id) UTIL_CAT(_DT_SECTION_PREFIX(node_id), _load_start)
/Zephyr-Core-3.6.0/drivers/timer/
Dxtensa_sys_timer.c12 #define TIMER_IRQ UTIL_CAT(XCHAL_TIMER, \
13 UTIL_CAT(CONFIG_XTENSA_TIMER_ID, _INTERRUPT))
25 const int32_t z_sys_timer_irq_for_test = UTIL_CAT(XCHAL_TIMER,
26 UTIL_CAT(CONFIG_XTENSA_TIMER_ID, _INTERRUPT));
/Zephyr-Core-3.6.0/include/zephyr/logging/
Dlog_instance.h51 #define Z_LOG_ITEM_CONST_DATA(_name) UTIL_CAT(log_const_, _name)
89 UTIL_CAT(_module_name, UTIL_CAT(_, _inst_name))
Dlog_backend.h111 static struct log_backend_control_block UTIL_CAT(backend_cb_, _name) = \
121 .cb = &UTIL_CAT(backend_cb_, _name), \
Dlog.h303 static const char UTIL_CAT(_name, _str)[] \
312 (UTIL_CAT(_name, _str)), (STRINGIFY(_name))), \
Dlog_core.h140 COND_CODE_1(UTIL_CAT(Z_LOG_FUNC_PREFIX_##_level), \
478 #define LOG_ITEM_DYNAMIC_DATA(_name) UTIL_CAT(log_dynamic_, _name)
Dlog_msg.h238 COND_CODE_1(UTIL_CAT(_LOG_MSG_SIMPLE_XXXX, NUM_VA_ARGS_LESS_1(__VA_ARGS__)), (1), (0))
251 UTIL_CAT(LOG_MSG_SIMPLE_ARG_TYPE_CHECK_, NUM_VA_ARGS_LESS_1(__VA_ARGS__))(__VA_ARGS__)
589 Z_LOG_MSG_CREATE2(_try_0cpy, _mode, UTIL_CAT(Z_LOG_FUNC_PREFIX_, _level), \
/Zephyr-Core-3.6.0/include/zephyr/shell/
Dshell.h198 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \
201 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \
202 UTIL_CAT(shell_cmd_, syntax) \
204 .entry = &UTIL_CAT(_shell_, syntax) \
300 UTIL_CAT(shell_subcmds, MACRO_MAP_CAT(Z_SHELL_UNDERSCORE, __VA_ARGS__))
507 static int UTIL_CAT(UTIL_CAT(cmd_dict_, UTIL_CAT(_handler, _)), \
518 UTIL_CAT(UTIL_CAT(cmd_dict_, UTIL_CAT(_handler, _)), \
893 static struct shell_ctx UTIL_CAT(_name, _ctx); \
909 .ctx = &UTIL_CAT(_name, _ctx), \
/Zephyr-Core-3.6.0/soc/arm/xilinx_zynq7000/common/
Dpinctrl_soc.h382 UTIL_CAT(UTIL_CAT(MIO_GROUP_, \
402 (UTIL_CAT(MIO_PIN_SPECIAL_FUNCTION_, DT_STRING_UPPER_TOKEN(node_id, function))), \
408 .mask = UTIL_CAT(MIO_PIN_SPECIAL_MASK_, \
410 .val = pin << UTIL_CAT(MIO_PIN_SPECIAL_SHIFT_, \
412 .offset = UTIL_CAT(MIO_PIN_SPECIAL_OFFSET_, \
434 (UTIL_CAT(MIO_PIN_FUNCTION_, DT_STRING_UPPER_TOKEN(node_id, function))), (0U)) | \
/Zephyr-Core-3.6.0/subsys/testsuite/ztest/include/zephyr/
Dztest_test.h60 UTIL_CAT(UTIL_CAT(z_ztest_expected_result_, _suite_name), _test_name)) = { \
220 struct ztest_suite_stats UTIL_CAT(z_ztest_suite_node_stats_, SUITE_NAME); \
222 UTIL_CAT(z_ztest_test_node_, SUITE_NAME)) = { \
229 .stats = &UTIL_CAT(z_ztest_suite_node_stats_, SUITE_NAME), \
/Zephyr-Core-3.6.0/drivers/adc/
Dadc_sam0.c519 .gclk_mask = UTIL_CAT(GCLK_PCHCTRL_GEN_GCLK, \
522 .prescaler = UTIL_CAT(ADC_CTRLx_PRESCALER_DIV, \
523 UTIL_CAT(DT_INST_PROP(n, prescaler), _Val)),
537 .gclk = UTIL_CAT(GCLK_CLKCTRL_GEN_GCLK, DT_INST_PROP(n, gclk)) |\
539 .prescaler = UTIL_CAT(ADC_CTRLx_PRESCALER_DIV, \
540 UTIL_CAT(DT_INST_PROP(n, prescaler), _Val)),
567 .freq = UTIL_CAT(UTIL_CAT(SOC_ATMEL_SAM0_GCLK, \
/Zephyr-Core-3.6.0/soc/arm/nxp_s32/common/
Dpinctrl_soc.h61 (UTIL_CAT(PORT_SLEW_RATE_, DT_STRING_UPPER_TOKEN(group, slew_rate))), \
66 (UTIL_CAT(PORT_SLEW_RATE_CONTROL, DT_PROP(group, slew_rate))), \
/Zephyr-Core-3.6.0/drivers/w1/
Dw1_ds2482-800_channel.c167 .reg_channel = UTIL_CAT(CHSL_IO, DT_INST_REG_ADDR(inst)), \
168 .reg_channel_rb = UTIL_CAT(CHSL_RB_IO, DT_INST_REG_ADDR(inst)), \
/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_rpi_pico.c174 .integral = DT_INST_PROP(idx, UTIL_CAT(divider_int_, n)), \
175 .frac = DT_INST_PROP(idx, UTIL_CAT(divider_frac_, n)), \
Dpwm_sam0_tcc.c161 .prescaler = UTIL_CAT(TCC_CTRLA_PRESCALER_DIV, \
Dpwm_mchp_xec_bbled.c422 .clk_sel = UTIL_CAT(XEC_PWM_BBLED_CLKSEL_, XEC_PWM_BBLED_CLKSEL(inst)), \
/Zephyr-Core-3.6.0/drivers/dac/
Ddac_sam0.c121 .refsel = UTIL_CAT(SAM0_DAC_REFSEL_, SAM0_DAC_REFSEL(n)), \
/Zephyr-Core-3.6.0/include/zephyr/
Ddevicetree.h334 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
421 #define DT_CHILD(node_id, child) UTIL_CAT(node_id, DT_S_PREFIX(child))
3223 UTIL_CAT(DT_N_INST, DT_DASH(compat, NUM_OKAY)))
4261 (UTIL_CAT(DT_FOREACH_OKAY_INST_, \
4278 (UTIL_CAT(DT_FOREACH_OKAY_INST_VARGS_, \
4428 UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dsensor.h1405 #define SENSOR_DECODER_NAME() UTIL_CAT(DT_DRV_COMPAT, __decoder_api)
1415 &UTIL_CAT(DT_STRING_TOKEN_BY_IDX(node_id, compatible, 0), __decoder_api)
1437 extern const struct sensor_decoder_api UTIL_CAT( \
Dsmbus.h441 UTIL_CAT(dev_name, _init)(const struct device *dev) \
510 &UTIL_CAT(Z_DEVICE_DT_DEV_NAME(node_id), _init),\
Dcan.h703 static inline int UTIL_CAT(dev_id, _init)(const struct device *dev) \
745 &UTIL_CAT(Z_DEVICE_DT_DEV_ID(node_id), _init), \
/Zephyr-Core-3.6.0/drivers/sensor/ti_hdc20xx/
Dti_hdc20xx.c263 (UTIL_CAT(DT_FOREACH_OKAY_INST_, \

12