Home
last modified time | relevance | path

Searched refs:DT_ON_BUS (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/
Demul.h121 COND_CODE_1(DT_ON_BUS(_dev_node_id, i2c), (_i2c), \
122 (COND_CODE_1(DT_ON_BUS(_dev_node_id, espi), (_espi), \
123 (COND_CODE_1(DT_ON_BUS(_dev_node_id, spi), (_spi), \
124 (COND_CODE_1(DT_ON_BUS(_dev_node_id, mspi), (_mspi), \
125 (COND_CODE_1(DT_ON_BUS(_dev_node_id, uart), (_uart), \
Di2c.h122 COND_CODE_1(DT_ON_BUS(node_id, i3c), \
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dcodec.h9 #if DT_ON_BUS(WM8731_NODE, i2c)
Dcodec.c12 #if DT_ON_BUS(WM8731_NODE, i2c)
Dmain.c255 #if DT_ON_BUS(DT_NODELABEL(wm8731), i2c) in main()
/Zephyr-latest/soc/intel/elkhart_lake/
Dsoc.h30 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
/Zephyr-latest/soc/intel/alder_lake/
Dsoc.h34 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
/Zephyr-latest/soc/intel/raptor_lake/
Dsoc.h32 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
/Zephyr-latest/drivers/display/
Dssd1306.c523 COND_CODE_1(DT_ON_BUS(node_id, spi), (SSD1306_CONFIG_SPI(node_id)), \
/Zephyr-latest/include/zephyr/
Ddevicetree.h3851 #define DT_ON_BUS(node_id, bus) IS_ENABLED(DT_CAT3(node_id, _BUS_, bus)) macro
4632 #define DT_INST_ON_BUS(inst, bus) DT_ON_BUS(DT_DRV_INST(inst), bus)
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c471 zassert_equal(DT_ON_BUS(TEST_SPI_DEV_0, spi), 1, ""); in ZTEST()
472 zassert_equal(DT_ON_BUS(TEST_SPI_DEV_0, i2c), 0, ""); in ZTEST()
473 zassert_equal(DT_ON_BUS(TEST_SPI_DEV_0, i3c), 0, ""); in ZTEST()
475 zassert_equal(DT_ON_BUS(TEST_I2C_DEV, i2c), 1, ""); in ZTEST()
476 zassert_equal(DT_ON_BUS(TEST_I2C_DEV, i3c), 0, ""); in ZTEST()
477 zassert_equal(DT_ON_BUS(TEST_I2C_DEV, spi), 0, ""); in ZTEST()