Lines Matching refs:compat
245 #define TI_HDC20XX_DEFINE(inst, compat) \ argument
246 static struct ti_hdc20xx_data ti_hdc20xx_data_##compat##inst; \
247 static const struct ti_hdc20xx_config ti_hdc20xx_config_##compat##inst = { \
248 .bus = I2C_DT_SPEC_GET(DT_INST(inst, compat)), \
249 .gpio_int = GPIO_DT_SPEC_GET_OR(DT_INST(inst, compat), int_gpios, {0}), \
251 DEVICE_DT_DEFINE(DT_INST(inst, compat), \
254 &ti_hdc20xx_data_##compat##inst, \
255 &ti_hdc20xx_config_##compat##inst, \
261 #define TI_HDC20XX_FOREACH_STATUS_OKAY(compat, fn) \ argument
262 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
264 compat)(fn)), \