Home
last modified time | relevance | path

Searched refs:DT_ENUM_HAS_VALUE (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/soc/nordic/nrf54l/
Dsoc.c54 #if DT_ENUM_HAS_VALUE(LFXO_NODE, load_capacitors, internal) in nordicsemi_nrf54l_init()
100 #elif DT_ENUM_HAS_VALUE(LFXO_NODE, load_capacitors, external) in nordicsemi_nrf54l_init()
104 #if DT_ENUM_HAS_VALUE(HFXO_NODE, load_capacitors, internal) in nordicsemi_nrf54l_init()
148 #elif DT_ENUM_HAS_VALUE(HFXO_NODE, load_capacitors, external) in nordicsemi_nrf54l_init()
/Zephyr-latest/soc/nxp/mcx/mcxc/
Dsoc.c72 #if DT_ENUM_HAS_VALUE(OSC_NODE, mode, external)
74 #elif DT_ENUM_HAS_VALUE(OSC_NODE, mode, low_power)
76 #elif DT_ENUM_HAS_VALUE(OSC_NODE, mode, high_gain)
/Zephyr-latest/soc/nordic/common/
Dsoc_secure.h38 DT_ENUM_HAS_VALUE(DT_NODELABEL(hfxo), load_capacitors, internal)
65 DT_ENUM_HAS_VALUE(DT_NODELABEL(hfxo), load_capacitors, internal)
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_s32_emios.c568 COND_CODE_1(DT_ENUM_HAS_VALUE(node_id, mode, MCB_UP_DOWN_COUNTER), \
573 DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWFMB)
576 UTIL_OR(DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWMCB_TRAIL_EDGE), \
577 DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWMCB_LEAD_EDGE)) \
580 DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWMB)
583 DT_ENUM_HAS_VALUE(node_id, pwm_mode, SAIC)
622 BUILD_ASSERT(DT_ENUM_HAS_VALUE(DT_PHANDLE(node_id, master_bus), mode, \
638 BUILD_ASSERT(DT_ENUM_HAS_VALUE(node_id, prescaler_src, PRESCALED_CLOCK), \
644 BUILD_ASSERT(DT_ENUM_HAS_VALUE(DT_PHANDLE(node_id, master_bus), mode, MCB_UP_COUNTER), \
656 BUILD_ASSERT(DT_ENUM_HAS_VALUE(node_id, prescaler_src, PRESCALED_CLOCK), \
[all …]
/Zephyr-latest/soc/nordic/nrf53/
Dsoc.c64 #if DT_ENUM_HAS_VALUE(LFXO_NODE, load_capacitors, external)
66 #elif DT_ENUM_HAS_VALUE(LFXO_NODE, load_capacitors, internal)
82 #if DT_ENUM_HAS_VALUE(HFXO_NODE, load_capacitors, internal)
548 DT_ENUM_HAS_VALUE(HFXO_NODE, load_capacitors, external) in nordicsemi_nrf53_init()
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c921 DT_ENUM_HAS_VALUE(node_id, phy_connection_type, mii) ? NXP_ENET_MII_MODE : \
922 (DT_ENUM_HAS_VALUE(node_id, phy_connection_type, rmii) ? NXP_ENET_RMII_MODE : \
923 (DT_ENUM_HAS_VALUE(node_id, phy_connection_type, rgmii) ? NXP_ENET_RGMII_MODE : \
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/
Dsoc.c429 #if DT_ENUM_HAS_VALUE(DT_CHILD(DT_NODELABEL(enet1g), ethernet), phy_connection_type, rgmii) in clock_init()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c2373 (DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), pin_dt, high_active) ? UTCPD_PINPL_##pin_utcpd##_Msk \
2380 COND_CODE_1(DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), vbus_divide, divide_20), \
2385 COND_CODE_1(DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), vbus_divide, divide_10), \
/Zephyr-latest/include/zephyr/
Ddevicetree.h1044 #define DT_ENUM_HAS_VALUE(node_id, prop, value) \ macro
4139 DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), prop, value)
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c2123 zassert_true(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, zero), ""); in ZTEST()
2124 zassert_false(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, one), ""); in ZTEST()
2125 zassert_false(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, two), ""); in ZTEST()
2129 zassert_true(DT_ENUM_HAS_VALUE(DT_NODELABEL(test_enum_int_default_0), val, 5), ""); in ZTEST()
2130 zassert_false(DT_ENUM_HAS_VALUE(DT_NODELABEL(test_enum_int_default_0), val, 6), ""); in ZTEST()
2131 zassert_false(DT_ENUM_HAS_VALUE(DT_NODELABEL(test_enum_int_default_0), val, 7), ""); in ZTEST()