Searched refs:DT_NUM_INST_STATUS_OKAY (Results 1 – 25 of 68) sorted by relevance
123
/Zephyr-Core-3.5.0/soc/riscv/riscv-ite/it8xxx2/ |
D | soc.h | 26 #define SOC_USBPD_ITE_ACTIVE_PORT_COUNT DT_NUM_INST_STATUS_OKAY(ite_it8xxx2_usbpd)
|
/Zephyr-Core-3.5.0/drivers/pinctrl/ |
D | pinctrl_kinetis.c | 18 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 3 21 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 4
|
D | pinctrl_xlnx_zynq.c | 17 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32g0/ |
D | soc.c | 39 uint32_t addr_inst[DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT)]; in stm32g0_disable_dead_battery()
|
/Zephyr-Core-3.5.0/drivers/hwinfo/ |
D | hwinfo_sam_rstc.c | 14 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
D | hwinfo_mcux_src_rev2.c | 42 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1, "No nxp,imx-src compatible device found");
|
D | hwinfo_mcux_src.c | 16 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1, "No nxp,imx-src compatible device found");
|
/Zephyr-Core-3.5.0/drivers/gpio/ |
D | gpio_b91.c | 481 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 0 493 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 1 505 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 2 517 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 3 529 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 4
|
/Zephyr-Core-3.5.0/drivers/lora/ |
D | sx126x.c | 21 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(semtech_sx1261) + 22 DT_NUM_INST_STATUS_OKAY(semtech_sx1262) + 23 DT_NUM_INST_STATUS_OKAY(st_stm32wl_subghz_radio) <= 1,
|
/Zephyr-Core-3.5.0/drivers/sensor/wsen_pdus/ |
D | wsen_pdus.c | 86 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
|
/Zephyr-Core-3.5.0/drivers/timer/ |
D | mcux_lptmr_timer.c | 16 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_b91.c | 155 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
|
/Zephyr-Core-3.5.0/drivers/dac/ |
D | dac_ltc166x.c | 137 LISTIFY(DT_NUM_INST_STATUS_OKAY(lltc_ltc##t), \
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_numaker_scc.c | 107 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
|
/Zephyr-Core-3.5.0/tests/kernel/mem_heap/shared_multi_heap/src/ |
D | main.c | 104 for (size_t idx = 0; idx < DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT); idx++) { in fill_multi_heap()
|
/Zephyr-Core-3.5.0/drivers/watchdog/ |
D | wdt_mchp_xec.c | 20 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
/Zephyr-Core-3.5.0/drivers/crypto/ |
D | crypto_it8xxx2_sha.c | 18 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
D | crypto_npcx_sha.c | 215 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
|
/Zephyr-Core-3.5.0/drivers/fuel_gauge/max17048/ |
D | max17048.c | 24 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
|
/Zephyr-Core-3.5.0/drivers/usb_c/vbus/ |
D | usbc_vbus_adc.c | 203 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 0,
|
/Zephyr-Core-3.5.0/subsys/usb/device/class/audio/ |
D | usb_audio_internal.h | 76 #define HEADPHONES_DEVICE_COUNT DT_NUM_INST_STATUS_OKAY(COMPAT_HP) 77 #define MICROPHONE_DEVICE_COUNT DT_NUM_INST_STATUS_OKAY(COMPAT_MIC) 78 #define HEADSET_DEVICE_COUNT DT_NUM_INST_STATUS_OKAY(COMPAT_HS)
|
/Zephyr-Core-3.5.0/drivers/sensor/nxp_kinetis_temp/ |
D | temp_kinetis.c | 181 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
|
/Zephyr-Core-3.5.0/drivers/sensor/wsen_tids/ |
D | wsen_tids.c | 186 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_nxp_s32_netc_vsi.c | 83 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(nxp_s32_netc_vsi) == 1, "Only one VSI enabled supported");
|
/Zephyr-Core-3.5.0/tests/lib/devicetree/api/src/ |
D | main.c | 286 zassert_equal(DT_NUM_INST_STATUS_OKAY(vnd_gpio_device), 2, ""); in ZTEST() 287 zassert_equal(DT_NUM_INST_STATUS_OKAY(xxxx), 0, ""); in ZTEST() 420 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 2, ""); in ZTEST() 436 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 2, ""); in ZTEST() 452 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() 468 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() 595 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() 712 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() 917 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() 1060 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST() [all …]
|
123