Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/w1/
Dw1_ds2482-800.c56 static const struct ds2482_config inst_##inst##_config = { \
59 static struct ds2482_data inst_##inst##_data; \
60 DEVICE_DT_INST_DEFINE(inst, ds2482_init, NULL, &inst_##inst##_data, &inst_##inst##_config, \
Dw1_ds2482-800_channel.c163 static const struct ds2482_config inst_##inst##_config = { \
171 static struct ds2482_data inst_##inst##_data = {0}; \
172 DEVICE_DT_INST_DEFINE(inst, ds2482_init, NULL, &inst_##inst##_data, &inst_##inst##_config, \
Dw1_ds2484.c162 static const struct ds2484_config inst_##inst##_config = { \
168 static struct ds2484_data inst_##inst##_data; \
170 DEVICE_DT_INST_DEFINE(inst, ds2484_init, PM_DEVICE_DT_INST_GET(inst), &inst_##inst##_data, \
171 &inst_##inst##_config, POST_KERNEL, CONFIG_W1_INIT_PRIORITY, \
/Zephyr-latest/drivers/adc/
Dadc_tla202x.c435 static const struct tla202x_config inst_##t##_##n##_config = { \
440 static struct tla202x_data inst_##t##_##n##_data = { \
442 ADC_CONTEXT_INIT_LOCK(inst_##t##_##n##_data, ctx), \
443 ADC_CONTEXT_INIT_TIMER(inst_##t##_##n##_data, ctx), \
444 ADC_CONTEXT_INIT_SYNC(inst_##t##_##n##_data, ctx), \
446 (.acq_lock = Z_SEM_INITIALIZER(inst_##t##_##n##_data.acq_lock, 0, 1),)) \
448 DEVICE_DT_INST_DEFINE(n, &tla202x_init, NULL, &inst_##t##_##n##_data, \
449 &inst_##t##_##n##_config, POST_KERNEL, \
/Zephyr-latest/drivers/flash/
Dspi_flash_at45.c691 static struct spi_flash_at45_data inst_##idx##_data = { \
692 .lock = Z_SEM_INITIALIZER(inst_##idx##_data.lock, 1, 1), \
696 static const struct spi_flash_at45_config inst_##idx##_config = { \
738 &inst_##idx##_data, &inst_##idx##_config, \