Home
last modified time | relevance | path

Searched refs:_inst (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/dma/
Ddma_emul.c556 #define DMA_EMUL_INST_HAS_PROP(_inst, _prop) DT_NODE_HAS_PROP(DT_DRV_INST(_inst), _prop) argument
558 #define DMA_EMUL_INST_CHANNEL_MASK(_inst) \ argument
559 DT_INST_PROP_OR(_inst, dma_channel_mask, \
560 DMA_EMUL_INST_HAS_PROP(_inst, dma_channels) \
561 ? ((DT_INST_PROP(_inst, dma_channels) > 0) \
562 ? BIT_MASK(DT_INST_PROP_OR(_inst, dma_channels, 0)) \
566 #define DMA_EMUL_INST_NUM_CHANNELS(_inst) \ argument
567 DT_INST_PROP_OR(_inst, dma_channels, \
568 DMA_EMUL_INST_HAS_PROP(_inst, dma_channel_mask) \
569 ? POPCOUNT(DT_INST_PROP_OR(_inst, dma_channel_mask, 0)) \
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_agilex5.c84 #define CLOCK_CONTROL_DEVICE(_inst) \ argument
86 static struct clock_control_data clock_control_data_##_inst; \
88 static const struct clock_control_config clock_control_config_##_inst = { \
89 DEVICE_MMIO_ROM_INIT(DT_DRV_INST(_inst)), \
92 DEVICE_DT_INST_DEFINE(_inst, clock_init, NULL, &clock_control_data_##_inst, \
93 &clock_control_config_##_inst, PRE_KERNEL_1, \
/Zephyr-latest/subsys/logging/frontends/stmesp/
Dzephyr_custom_log.h105 #define LOG_INST_ERR(_inst, ...) Z_LOG_STMESP(LOG_LEVEL_ERR, Z_LOG_INST(_inst), __VA_ARGS__) argument
106 #define LOG_INST_WRN(_inst, ...) Z_LOG_STMESP(LOG_LEVEL_WRN, Z_LOG_INST(_inst), __VA_ARGS__) argument
107 #define LOG_INST_INF(_inst, ...) Z_LOG_STMESP(LOG_LEVEL_INF, Z_LOG_INST(_inst), __VA_ARGS__) argument
108 #define LOG_INST_DBG(_inst, ...) Z_LOG_STMESP(LOG_LEVEL_DBG, Z_LOG_INST(_inst), __VA_ARGS__) argument
140 #define LOG_INST_HEXDUMP_ERR(_inst, _data, _length, _str) (void)_data argument
141 #define LOG_INST_HEXDUMP_WRN(_inst, _data, _length, _str) (void)_data argument
142 #define LOG_INST_HEXDUMP_INF(_inst, _data, _length, _str) (void)_data argument
143 #define LOG_INST_HEXDUMP_DBG(_inst, _data, _length, _str) (void)_data argument
/Zephyr-latest/drivers/reset/
Dreset_intel_socfpga.c99 #define INTEL_SOC_RESET_INIT(_inst) \ argument
100 static struct reset_intel_soc_data reset_intel_soc_data_##_inst; \
101 static const struct reset_intel_config reset_intel_config_##_inst = { \
102 DEVICE_MMIO_ROM_INIT(DT_DRV_INST(_inst)), \
103 .active_low = DT_INST_PROP(_inst, active_low), \
106 DEVICE_DT_INST_DEFINE(_inst, \
109 &reset_intel_soc_data_##_inst, \
110 &reset_intel_config_##_inst, \
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.c225 #define SENSING_PHY_3D_SENSOR_DT_DEFINE(_inst) \ argument
226 static struct rtio_iodev_sqe _CONCAT(sqes, _inst)[DT_INST_PROP_LEN(_inst, \
228 static const struct phy_3d_sensor_custom *_CONCAT(customs, _inst) \
229 [DT_INST_PROP_LEN(_inst, sensor_types)]; \
230 static struct phy_3d_sensor_data _CONCAT(data, _inst) = { \
231 .sqes = _CONCAT(sqes, _inst), \
232 .customs = _CONCAT(customs, _inst), \
234 static const struct phy_3d_sensor_config _CONCAT(cfg, _inst) = { \
236 DT_PHANDLE(DT_DRV_INST(_inst), \
238 .sensor_num = DT_INST_PROP_LEN(_inst, sensor_types), \
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_core.h170 #define Z_LOG_STATIC_INST_LEVEL_CHECK(_level, _inst, _source) \ argument
171 (IS_ENABLED(CONFIG_LOG_RUNTIME_FILTERING) || !_inst || \
199 #define Z_LOG_LEVEL_ALL_CHECK(_level, _inst, _source) \ argument
201 Z_LOG_STATIC_INST_LEVEL_CHECK(_level, _inst, _source) && \
248 #define Z_LOG_INST(_inst) COND_CODE_1(CONFIG_LOG, (_inst), NULL) argument
292 #define Z_LOG2(_level, _inst, _source, ...) \ argument
294 if (!Z_LOG_LEVEL_ALL_CHECK(_level, _inst, _source)) { \
320 #define Z_LOG_INSTANCE(_level, _inst, ...) Z_LOG2(_level, 1, Z_LOG_INST(_inst), __VA_ARGS__) argument
345 #define Z_LOG_HEXDUMP2(_level, _inst, _source, _data, _len, ...) \ argument
347 if (!Z_LOG_LEVEL_ALL_CHECK(_level, _inst, _source)) { \
[all …]
/Zephyr-latest/subsys/sensing/sensor/hinge_angle/
Dhinge_angle.c156 #define SENSING_HINGE_ANGLE_DT_DEFINE(_inst) \ argument
157 static struct hinge_angle_context _CONCAT(hinge_ctx, _inst); \
158 static struct sensing_callback_list _CONCAT(hinge_cb, _inst) = { \
160 .context = &_CONCAT(hinge_ctx, _inst), \
162 SENSING_SENSORS_DT_INST_DEFINE(_inst, &hinge_reg, \
163 &_CONCAT(hinge_cb, _inst), \
165 &_CONCAT(hinge_ctx, _inst), NULL, \
/Zephyr-latest/subsys/bluetooth/audio/
Dtbs.c1470 #define BT_TBS_SERVICE_DEFINE(_uuid, _inst) \ argument
1471 BT_GATT_PRIMARY_SERVICE(_uuid), BT_TBS_CHR_PROVIDER_NAME(_inst), BT_TBS_CHR_UCI(_inst), \
1472 BT_TBS_CHR_TECHNOLOGY(_inst), BT_TBS_CHR_URI_LIST(_inst), \
1473 BT_TBS_CHR_SIGNAL_STRENGTH(_inst), BT_TBS_CHR_SIGNAL_INTERVAL(_inst), \
1474 BT_TBS_CHR_CURRENT_CALLS(_inst), BT_TBS_CHR_CCID(_inst), \
1475 BT_TBS_CHR_STATUS_FLAGS(_inst), BT_TBS_CHR_INCOMING_URI(_inst), \
1476 BT_TBS_CHR_CALL_STATE(_inst), BT_TBS_CHR_CONTROL_POINT(_inst), \
1477 BT_TBS_CHR_OPTIONAL_OPCODES(_inst), BT_TBS_CHR_TERMINATE_REASON(_inst), \
1478 BT_TBS_CHR_INCOMING_CALL(_inst), BT_TBS_CHR_FRIENDLY_NAME(_inst)
1480 #define BT_TBS_SERVICE_DEFINITION(_inst) \ argument
[all …]
/Zephyr-latest/drivers/modem/
Dmodem_cellular.c2333 #define MODEM_CELLULAR_INIT_USER_PIPE(_inst, _name, _dlci_address) \ argument
2336 .dlci_receive_buf = MODEM_CELLULAR_INST_NAME(_name, _inst), \
2337 .dlci_receive_buf_size = sizeof(MODEM_CELLULAR_INST_NAME(_name, _inst)), \
2338 .pipelink = MODEM_PIPELINK_DT_INST_GET(_inst, _name), \