Home
last modified time | relevance | path

Searched refs:I2C_MODE_CONTROLLER (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-latest/drivers/i2c/
Di2c_npcx_port.c65 if (!(dev_config & I2C_MODE_CONTROLLER)) { in i2c_npcx_port_configure()
90 *dev_config = (I2C_MODE_CONTROLLER | speed); in i2c_npcx_port_get_config()
194 i2c_config = (I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(config->bitrate)); in i2c_npcx_port_init()
Di2c_b91.c44 if (!(dev_config & I2C_MODE_CONTROLLER)) { in i2c_b91_configure()
127 uint32_t dev_config = (I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(cfg->bitrate)); in i2c_b91_init()
Di2c_nios2.c38 if (!(I2C_MODE_CONTROLLER & dev_config)) { in i2c_nios2_configure()
181 I2C_MODE_CONTROLLER | in i2c_nios2_init()
Di2c_ene_kb1200.c208 if (!(dev_config & I2C_MODE_CONTROLLER)) { in i2c_kb1200_configure()
251 *dev_config = I2C_MODE_CONTROLLER | I2C_SPEED_SET(I2C_SPEED_STANDARD); in i2c_kb1200_get_config()
254 *dev_config = I2C_MODE_CONTROLLER | I2C_SPEED_SET(I2C_SPEED_FAST); in i2c_kb1200_get_config()
257 *dev_config = I2C_MODE_CONTROLLER | I2C_SPEED_SET(I2C_SPEED_FAST_PLUS); in i2c_kb1200_get_config()
Di2c_rcar.c273 if ((dev_config & I2C_MODE_CONTROLLER) != I2C_MODE_CONTROLLER) { in i2c_rcar_configure()
337 ret = i2c_rcar_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_rcar_init()
Di2c_smartbond.c134 if ((dev_config & I2C_MODE_CONTROLLER) == I2C_MODE_CONTROLLER) { in i2c_smartbond_apply_configure()
190 *dev_config |= I2C_MODE_CONTROLLER; in i2c_smartbond_get_config()
193 *dev_config &= ~I2C_MODE_CONTROLLER; in i2c_smartbond_get_config()
582 I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(config->bitrate)); in i2c_smartbond_resume()
Di2c_sifive.c246 if (!(dev_config & I2C_MODE_CONTROLLER)) { in i2c_sifive_configure()
308 dev_config = (I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(config->f_bus)); in i2c_sifive_init()
Di2c_rv32m1_lpi2c.c51 if (!(I2C_MODE_CONTROLLER & dev_config)) { in rv32m1_lpi2c_configure()
242 err = rv32m1_lpi2c_configure(dev, dev_cfg | I2C_MODE_CONTROLLER); in rv32m1_lpi2c_init()
Di2c_cc32xx.c90 if (!(dev_config_raw & I2C_MODE_CONTROLLER)) { in i2c_cc32xx_configure()
365 error = i2c_cc32xx_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_cc32xx_init()
Di2c_ifx_xmc4.c116 if (data->dev_config & I2C_MODE_CONTROLLER) { in ifx_xmc4_i2c_configure()
142 *dev_config = I2C_MODE_CONTROLLER | bitrate_cfg; in ifx_xmc4_i2c_get_config()
176 ret = ifx_xmc4_i2c_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in ifx_xmc4_i2c_transfer()
Di2c_ambiq.c190 if (!(I2C_MODE_CONTROLLER & dev_config)) { in i2c_ambiq_configure()
316 bitrate_cfg = i2c_map_dt_bitrate(config->bitrate) | I2C_MODE_CONTROLLER; in i2c_ambiq_recover_bus()
355 ret |= i2c_ambiq_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_ambiq_init()
Di2c_sam_twihs.c111 if (!(config & I2C_MODE_CONTROLLER)) { in i2c_sam_twihs_configure()
310 ret = i2c_sam_twihs_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_sam_twihs_initialize()
Di2c_sc18im704.c95 if (!(I2C_MODE_CONTROLLER & config)) { in i2c_sc18im_configure()
340 .i2c_config = I2C_MODE_CONTROLLER | (I2C_SPEED_STANDARD << I2C_SPEED_SHIFT), \
Di2c_sbcon.c135 I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(config->bitrate)); in i2c_sbcon_init()
Di2c_sam_twi.c113 if (!(config & I2C_MODE_CONTROLLER)) { in i2c_sam_twi_configure()
339 ret = i2c_sam_twi_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_sam_twi_initialize()
Di2c_gecko.c54 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_gecko_configure()
177 error = i2c_gecko_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_gecko_init()
Di2c_sam_twihs_rtio.c99 if (!(config & I2C_MODE_CONTROLLER)) { in i2c_sam_twihs_configure()
314 ret = i2c_sam_twihs_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_sam_twihs_initialize()
Di2c_imx.c132 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_imx_configure()
353 error = i2c_imx_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_imx_init()
Di2c_mcux.c60 if (!(I2C_MODE_CONTROLLER & dev_config_raw)) { in i2c_mcux_configure()
335 error = i2c_mcux_configure(dev, I2C_MODE_CONTROLLER | bitrate_cfg); in i2c_mcux_init()
Di2c_cc13xx_cc26xx.c249 if (!(dev_config & I2C_MODE_CONTROLLER)) { in i2c_cc13xx_cc26xx_configure()
411 err = i2c_cc13xx_cc26xx_configure(dev, cfg | I2C_MODE_CONTROLLER); in i2c_cc13xx_cc26xx_init()
/Zephyr-latest/tests/boards/mec15xxevb_assy6853/i2c_api/src/
Dmain.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST()
/Zephyr-latest/tests/boards/mec172xevb_assy6906/i2c_api/src/
Dmain.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST()
/Zephyr-latest/tests/boards/altera_max10/i2c_master/src/
Di2c_master.c69 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in test_i2c_adv7513()
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/
Dtest_i2c.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER;
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/
Dmain.c204 uint32_t i2c_config = I2C_SPEED_SET(CONFIG_TEST_I2C_SPEED) | I2C_MODE_CONTROLLER; in ZTEST()
254 uint32_t i2c_config = I2C_SPEED_SET(CONFIG_TEST_I2C_SPEED) | I2C_MODE_CONTROLLER; in ZTEST()

123