Home
last modified time | relevance | path

Searched refs:DT_INST_ENUM_HAS_VALUE (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/sensor/veaa_x_3/
Dveaa_x_3.c192 COND_CODE_1(DT_INST_ENUM_HAS_VALUE(n, pressure_range_type, d11), ({.max = 1000, min = 5}), \
193 (COND_CODE_1(DT_INST_ENUM_HAS_VALUE(n, pressure_range_type, d9), \
197 COND_CODE_1(DT_INST_ENUM_HAS_VALUE(n, pressure_range_type, d11), \
199 (COND_CODE_1(DT_INST_ENUM_HAS_VALUE(n, pressure_range_type, d9), \
/Zephyr-latest/drivers/input/
Dinput_gpio_kbd_matrix.c294 IF_ENABLED(DT_INST_ENUM_HAS_VALUE(n, idle_mode, interrupt), ( \
302 IF_ENABLED(DT_INST_ENUM_HAS_VALUE(n, idle_mode, poll), ( \
309 IF_ENABLED(DT_INST_ENUM_HAS_VALUE(n, idle_mode, scan), ( \
320 IF_ENABLED(DT_INST_ENUM_HAS_VALUE(n, idle_mode, interrupt), ( \
324 IF_ENABLED(DT_INST_ENUM_HAS_VALUE(n, idle_mode, poll), ( \
/Zephyr-latest/drivers/comparator/
Dcomparator_nrf_comp.c19 DT_INST_ENUM_HAS_VALUE(inst, refsel, AREF)
25 DT_INST_ENUM_HAS_VALUE(inst, main_mode, SE)
28 DT_INST_ENUM_HAS_VALUE(inst, main_mode, DIFF)
Dcomparator_nrf_lpcomp.c21 DT_INST_ENUM_HAS_VALUE(inst, refsel, AREF)
/Zephyr-latest/drivers/sdhc/
Dintel_emmc_host.c1336 .dw_4bit = DT_INST_ENUM_HAS_VALUE(n, bus_width, 4), \
1337 .dw_8bit = DT_INST_ENUM_HAS_VALUE(n, bus_width, 8), \
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c2205 zassert_true(DT_INST_ENUM_HAS_VALUE(0, val, zero), ""); in ZTEST()
2206 zassert_false(DT_INST_ENUM_HAS_VALUE(0, val, one), ""); in ZTEST()
2207 zassert_false(DT_INST_ENUM_HAS_VALUE(0, val, two), ""); in ZTEST()
2212 zassert_false(DT_INST_ENUM_HAS_VALUE(0, val, zero), ""); in ZTEST()
2213 zassert_false(DT_INST_ENUM_HAS_VALUE(0, val, one), ""); in ZTEST()
2214 zassert_false(DT_INST_ENUM_HAS_VALUE(0, val, two), ""); in ZTEST()
/Zephyr-latest/include/zephyr/
Ddevicetree.h4138 #define DT_INST_ENUM_HAS_VALUE(inst, prop, value) \ macro