Searched refs:DT_ENUM_HAS_VALUE (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/soc/nordic/nrf54l/ |
D | soc.c | 54 #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/ |
D | soc.c | 72 #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/ |
D | soc_secure.h | 38 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/ |
D | pwm_nxp_s32_emios.c | 568 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/ |
D | soc.c | 64 #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/ |
D | eth_nxp_enet.c | 921 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/ |
D | soc.c | 429 #if DT_ENUM_HAS_VALUE(DT_CHILD(DT_NODELABEL(enet1g), ethernet), phy_connection_type, rgmii) in clock_init()
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_numaker.c | 2373 (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/ |
D | devicetree.h | 1044 #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/ |
D | main.c | 2123 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()
|