Home
last modified time | relevance | path

Searched refs:DT_INST_ON_BUS (Results 1 – 25 of 53) sorted by relevance

123

/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh.c313 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), IIS2DH_I2C(inst), ()) \
314 COND_CODE_1(DT_INST_ON_BUS(inst, spi), IIS2DH_SPI(inst), ()) \
/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dlps2xdf.c212 DT_INST_ON_BUS(inst, spi), \
214 (COND_CODE_1(DT_INST_ON_BUS(inst, i3c), \
/Zephyr-latest/drivers/sensor/st/lps22hh/
Dlps22hh.c349 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
351 (COND_CODE_1(DT_INST_ON_BUS(inst, i3c), \
/Zephyr-latest/drivers/mfd/
Dmfd_ad559x.c96 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), (MDF_AD559X_DEFINE_I2C_BUS(inst)), \
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345.c543 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
546 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), \
595 COND_CODE_1(DT_INST_ON_BUS(inst, spi), (ADXL345_CONFIG_SPI(inst)), \
/Zephyr-latest/drivers/sensor/st/stts751/
Dstts751.c206 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), \
/Zephyr-latest/drivers/sensor/ist8310/
Dist8310.c205 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), (IST8310_CONFIG_I2C(inst)), \
/Zephyr-latest/drivers/sensor/nxp/p3t1755/
Dp3t1755.c186 COND_CODE_1(DT_INST_ON_BUS(n, i3c), \
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro.c468 COND_CODE_1(DT_INST_ON_BUS(inst, spi), (BMI08X_CONFIG_SPI(inst)), \
470 .api = COND_CODE_1(DT_INST_ON_BUS(inst, spi), (&bmi08x_spi_api), \
Dbmi08x_accel.c796 COND_CODE_1(DT_INST_ON_BUS(inst, spi), (BMI08X_CONFIG_SPI(inst)), \
798 .api = COND_CODE_1(DT_INST_ON_BUS(inst, spi), (&bmi08x_spi_api), \
/Zephyr-latest/drivers/sensor/st/hts221/
Dhts221.c269 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/i2c/
Di2c_dw.c1152 #define I2C_DW_INIT_PCIE(n) _CONCAT(I2C_DW_INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1156 #define I2C_PCIE_DEFINE(n) _CONCAT(I2C_DEFINE_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1192 #define I2C_DW_IRQ_CONFIG(n) _CONCAT(I2C_DW_IRQ_CONFIG_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1196 #define I2C_CONFIG_REG_INIT(n) _CONCAT(I2C_CONFIG_REG_INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n)
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc.c380 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12.c298 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sdhc/
Dintel_emmc_host.c1315 #define EMMC_HOST_IRQ_CONFIG(n) _CONCAT(EMMC_HOST_IRQ_CONFIG_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1319 #define INIT_PCIE(n) _CONCAT(INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1323 #define REG_INIT(n) _CONCAT(REG_INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n)
1327 #define EMMC_HOST_PCIE_DEFINE(n) _CONCAT(DEFINE_PCIE, DT_INST_ON_BUS(n, pcie))(n)
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c320 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607.c345 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c483 zassert_equal(DT_INST_ON_BUS(0, spi), 1, ""); in ZTEST()
484 zassert_equal(DT_INST_ON_BUS(0, i2c), 0, ""); in ZTEST()
485 zassert_equal(DT_INST_ON_BUS(0, i3c), 0, ""); in ZTEST()
495 zassert_equal(DT_INST_ON_BUS(0, i2c), 1, ""); in ZTEST()
496 zassert_equal(DT_INST_ON_BUS(0, i3c), 0, ""); in ZTEST()
497 zassert_equal(DT_INST_ON_BUS(0, spi), 0, ""); in ZTEST()
507 zassert_equal(DT_INST_ON_BUS(0, i2c), 1, ""); in ZTEST()
508 zassert_equal(DT_INST_ON_BUS(0, i3c), 1, ""); in ZTEST()
509 zassert_equal(DT_INST_ON_BUS(0, spi), 0, ""); in ZTEST()
519 zassert_equal(DT_INST_ON_BUS(0, i2c), 1, ""); in ZTEST()
[all …]
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx.c793 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
799 COND_CODE_1(DT_INST_ON_BUS(inst, i2c), \
/Zephyr-latest/drivers/sensor/st/lis2ds12/
Dlis2ds12.c400 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/st/lis2de12/
Dlis2de12.c466 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.c466 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c493 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
/Zephyr-latest/drivers/sensor/st/iis328dq/
Diis328dq.c436 COND_CODE_1(DT_INST_ON_BUS(inst, spi), (IIS328DQ_CONFIG_SPI(inst)), \
/Zephyr-latest/drivers/sensor/st/lis2mdl/
Dlis2mdl.c559 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \

123