Home
last modified time | relevance | path

Searched refs:DT_NUM_INST_STATUS_OKAY (Results 1 – 25 of 67) sorted by relevance

123

/Zephyr-Core-3.4.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.4.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.4.0/soc/arm/st_stm32/stm32g0/
Dsoc.c41 uint32_t addr_inst[DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT)]; in stm32g0_disable_dead_battery()
/Zephyr-Core-3.4.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.4.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.4.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.4.0/drivers/sensor/wsen_pdus/
Dwsen_pdus.c86 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.4.0/drivers/timer/
Dmcux_lptmr_timer.c16 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_b91.c155 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
/Zephyr-Core-3.4.0/drivers/dac/
Ddac_ltc166x.c137 LISTIFY(DT_NUM_INST_STATUS_OKAY(lltc_ltc##t), \
/Zephyr-Core-3.4.0/drivers/watchdog/
Dwdt_mchp_xec.c20 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.4.0/tests/kernel/mem_heap/shared_multi_heap/src/
Dmain.c103 for (size_t idx = 0; idx < DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT); idx++) { in fill_multi_heap()
/Zephyr-Core-3.4.0/drivers/usb_c/vbus/
Dusbc_vbus_adc.c198 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 0,
/Zephyr-Core-3.4.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.4.0/drivers/fuel_gauge/max17048/
Dmax17048.c24 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.4.0/drivers/sensor/nxp_kinetis_temp/
Dtemp_kinetis.c181 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) <= 1,
/Zephyr-Core-3.4.0/drivers/sensor/wsen_tids/
Dwsen_tids.c186 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0
/Zephyr-Core-3.4.0/drivers/crypto/
Dcrypto_npcx_sha.c215 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
/Zephyr-Core-3.4.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.4.0/tests/lib/devicetree/api/src/
Dmain.c273 zassert_equal(DT_NUM_INST_STATUS_OKAY(vnd_gpio_device), 2, ""); in ZTEST()
274 zassert_equal(DT_NUM_INST_STATUS_OKAY(xxxx), 0, ""); in ZTEST()
393 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 2, ""); in ZTEST()
409 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 2, ""); in ZTEST()
425 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
441 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
561 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
654 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
859 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
1002 zassert_equal(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT), 1, ""); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/subsys/testsuite/busy_sim/
Dbusy_sim.c37 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(vnd_busy_sim) == 1,
/Zephyr-Core-3.4.0/drivers/sensor/hts221/
Dhts221.c201 #if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 0

123