Searched refs:I2C_MODE_CONTROLLER (Results 1 – 25 of 54) sorted by relevance
123
/Zephyr-latest/drivers/i2c/ |
D | i2c_npcx_port.c | 65 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()
|
D | i2c_b91.c | 44 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()
|
D | i2c_nios2.c | 38 if (!(I2C_MODE_CONTROLLER & dev_config)) { in i2c_nios2_configure() 181 I2C_MODE_CONTROLLER | in i2c_nios2_init()
|
D | i2c_ene_kb1200.c | 208 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()
|
D | i2c_rcar.c | 273 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()
|
D | i2c_smartbond.c | 134 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()
|
D | i2c_sifive.c | 246 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()
|
D | i2c_rv32m1_lpi2c.c | 51 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()
|
D | i2c_cc32xx.c | 90 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()
|
D | i2c_ifx_xmc4.c | 116 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()
|
D | i2c_ambiq.c | 190 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()
|
D | i2c_sam_twihs.c | 111 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()
|
D | i2c_sc18im704.c | 95 if (!(I2C_MODE_CONTROLLER & config)) { in i2c_sc18im_configure() 340 .i2c_config = I2C_MODE_CONTROLLER | (I2C_SPEED_STANDARD << I2C_SPEED_SHIFT), \
|
D | i2c_sbcon.c | 135 I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(config->bitrate)); in i2c_sbcon_init()
|
D | i2c_sam_twi.c | 113 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()
|
D | i2c_gecko.c | 54 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()
|
D | i2c_sam_twihs_rtio.c | 99 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()
|
D | i2c_imx.c | 132 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()
|
D | i2c_mcux.c | 60 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()
|
D | i2c_cc13xx_cc26xx.c | 249 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/ |
D | main.c | 29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST()
|
/Zephyr-latest/tests/boards/mec172xevb_assy6906/i2c_api/src/ |
D | main.c | 29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST()
|
/Zephyr-latest/tests/boards/altera_max10/i2c_master/src/ |
D | i2c_master.c | 69 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/ |
D | test_i2c.c | 29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER;
|
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | main.c | 204 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