Home
last modified time | relevance | path

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/
Dsoc.h26 #define SOC_USBPD_ITE_ACTIVE_PORT_COUNT DT_NUM_INST_STATUS_OKAY(ite_it8xxx2_usbpd)
/Zephyr-Core-3.5.0/drivers/pinctrl/
Dpinctrl_kinetis.c18 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 3
21 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 4
Dpinctrl_xlnx_zynq.c17 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32g0/
Dsoc.c39 uint32_t addr_inst[DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT)]; in stm32g0_disable_dead_battery()
/Zephyr-Core-3.5.0/drivers/hwinfo/
Dhwinfo_sam_rstc.c14 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
Dhwinfo_mcux_src_rev2.c42 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1, "No nxp,imx-src compatible device found");
Dhwinfo_mcux_src.c16 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/
Dgpio_b91.c481 #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/
Dsx126x.c21 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/
Dwsen_pdus.c86 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.5.0/drivers/timer/
Dmcux_lptmr_timer.c16 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_b91.c155 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
/Zephyr-Core-3.5.0/drivers/dac/
Ddac_ltc166x.c137 LISTIFY(DT_NUM_INST_STATUS_OKAY(lltc_ltc##t), \
/Zephyr-Core-3.5.0/drivers/clock_control/
Dclock_control_numaker_scc.c107 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
/Zephyr-Core-3.5.0/tests/kernel/mem_heap/shared_multi_heap/src/
Dmain.c104 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/
Dwdt_mchp_xec.c20 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.5.0/drivers/crypto/
Dcrypto_it8xxx2_sha.c18 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
Dcrypto_npcx_sha.c215 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.5.0/drivers/fuel_gauge/max17048/
Dmax17048.c24 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.5.0/drivers/usb_c/vbus/
Dusbc_vbus_adc.c203 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 0,
/Zephyr-Core-3.5.0/subsys/usb/device/class/audio/
Dusb_audio_internal.h76 #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/
Dtemp_kinetis.c181 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
/Zephyr-Core-3.5.0/drivers/sensor/wsen_tids/
Dwsen_tids.c186 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_nxp_s32_netc_vsi.c83 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/
Dmain.c286 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