Searched refs:DT_ON_BUS (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/ |
D | emul.h | 121 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), \
|
D | i2c.h | 122 COND_CODE_1(DT_ON_BUS(node_id, i3c), \
|
/Zephyr-latest/samples/drivers/i2s/echo/src/ |
D | codec.h | 9 #if DT_ON_BUS(WM8731_NODE, i2c)
|
D | codec.c | 12 #if DT_ON_BUS(WM8731_NODE, i2c)
|
D | main.c | 255 #if DT_ON_BUS(DT_NODELABEL(wm8731), i2c) in main()
|
/Zephyr-latest/soc/intel/elkhart_lake/ |
D | soc.h | 30 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/soc/intel/alder_lake/ |
D | soc.h | 34 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/soc/intel/raptor_lake/ |
D | soc.h | 32 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/drivers/display/ |
D | ssd1306.c | 523 COND_CODE_1(DT_ON_BUS(node_id, spi), (SSD1306_CONFIG_SPI(node_id)), \
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 3851 #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/ |
D | main.c | 471 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()
|