Home
last modified time | relevance | path

Searched refs:DT_BUS (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/include/zephyr/devicetree/
Dspi.h117 #define DT_SPI_DEV_HAS_CS_GPIOS(spi_dev) DT_SPI_HAS_CS_GPIOS(DT_BUS(spi_dev))
151 DT_GPIO_CTLR_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR_RAW(spi_dev))
184 DT_GPIO_PIN_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR_RAW(spi_dev))
212 DT_GPIO_FLAGS_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR_RAW(spi_dev))
/Zephyr-latest/include/zephyr/drivers/i3c/
Ddevicetree.h67 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
181 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dcodec.c14 #define WM8731_I2C_NODE DT_BUS(WM8731_NODE)
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/
Dmain.c172 const struct device *const i2c_0 = DEVICE_DT_GET(DT_BUS(NODE_EP0)); in ZTEST()
176 const struct device *const i2c_1 = DEVICE_DT_GET(DT_BUS(NODE_EP1)); in ZTEST()
/Zephyr-latest/include/zephyr/drivers/mspi/
Ddevicetree.h215 GPIO_DT_SPEC_GET_BY_IDX_OR(DT_BUS(mspi_dev), ce_gpios, \
/Zephyr-latest/samples/drivers/memc/src/
Dmain.c23 #define MSPI_ DT_BUS(DT_ALIAS(psram0))
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/src/
Dmain.c81 .dev = DEVICE_DT_GET(DT_BUS(NODE_SENSOR)), in test_setup()
/Zephyr-latest/samples/drivers/mspi/mspi_async/src/
Dmain.c15 #define MSPI_BUS DT_BUS(DT_ALIAS(dev0))
/Zephyr-latest/include/zephyr/drivers/
Dspi.h213 GPIO_DT_SPEC_GET_BY_IDX_OR(DT_BUS(spi_dev), cs_gpios, \
403 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
Di2c.h93 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
107 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
Dsmbus.h320 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
Di3c.h2516 .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
/Zephyr-latest/samples/bluetooth/hci_spi/src/
Dmain.c86 static const struct device *const spi_hci_dev = DEVICE_DT_GET(DT_BUS(HCI_SPI_NODE));
/Zephyr-latest/drivers/i2c/
Di2c_sc18im704.c335 .bus = DEVICE_DT_GET(DT_BUS(DT_INST_PARENT(n))), \
/Zephyr-latest/drivers/bluetooth/hci/
Dapollox_blue.c37 #define SPI_DEV_NODE DT_BUS(HCI_SPI_NODE)
/Zephyr-latest/tests/drivers/spi/spi_error_cases/src/
Dmain.c30 static uint8_t spim_buffer[32] MEMORY_SECTION(DT_BUS(DT_NODELABEL(dut_spi_dt)));
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/
Dmain.c48 static uint8_t spim_buffer[32] MEMORY_SECTION(DT_BUS(DT_NODELABEL(dut_spi_dt)));
/Zephyr-latest/include/zephyr/
Ddevicetree.h3861 #define DT_BUS(node_id) DT_CAT(node_id, _BUS) macro
4663 #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c35 #define TEST_I2C_BUS DT_BUS(TEST_I2C_DEV)
45 #define TEST_I3C_BUS DT_BUS(TEST_I3C_DEV)
58 #define TEST_SPI_BUS_0 DT_BUS(TEST_SPI_DEV_0)
61 #define TEST_SPI_BUS_1 DT_BUS(TEST_SPI_DEV_1)
448 DT_BUS(TEST_MUXED_I2C_DEV_1)), ""); in ZTEST()
450 DT_BUS(TEST_MUXED_I2C_DEV_2)), ""); in ZTEST()
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst154 - ``DT_PROP(DT_BUS(node_id), label)``
160 - ``DT_PROP(DT_BUS(DT_DRV_INST(inst)), label)``
Drelease-notes-3.2.rst149 in favor of utilizing :c:macro:`DT_BUS` and variants.
1022 * ``DT_BUS_LABEL(node_id)``: use ``DT_PROP(DT_BUS(node_id), label))`` instead.
/Zephyr-latest/drivers/spi/
Dspi_andes_atcspi200.c937 #define SPI_ROM_CFG_XIP(node_id) DT_SAME_NODE(node_id, DT_BUS(DT_CHOSEN(zephyr_flash)))
/Zephyr-latest/doc/build/dts/
Dapi-usage.rst337 - :c:macro:`DT_BUS`: get a node's bus controller, if there is one
Dhowtos.rst624 use of APIs like :c:macro:`DT_BUS` to obtain a node identifier for the bus