Home
last modified time | relevance | path

Searched refs:I2C_SPEED_SHIFT (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c-priv.h22 return I2C_SPEED_STANDARD << I2C_SPEED_SHIFT; in i2c_map_dt_bitrate()
24 return I2C_SPEED_FAST << I2C_SPEED_SHIFT; in i2c_map_dt_bitrate()
26 return I2C_SPEED_FAST_PLUS << I2C_SPEED_SHIFT; in i2c_map_dt_bitrate()
28 return I2C_SPEED_HIGH << I2C_SPEED_SHIFT; in i2c_map_dt_bitrate()
30 return I2C_SPEED_ULTRA << I2C_SPEED_SHIFT; in i2c_map_dt_bitrate()
Di2c_bitbang.c322 i2c_bitbang_configure(context, I2C_SPEED_STANDARD << I2C_SPEED_SHIFT); in i2c_bitbang_init()
Di2c_sc18im704.c340 .i2c_config = I2C_MODE_CONTROLLER | (I2C_SPEED_STANDARD << I2C_SPEED_SHIFT), \
Di2c_ite_it8xxx2.c1168 bitrate_cfg = I2C_SPEED_DT << I2C_SPEED_SHIFT; in i2c_it8xxx2_init()
Di2c_ite_enhance.c1241 bitrate_cfg = I2C_SPEED_DT << I2C_SPEED_SHIFT; in i2c_enhance_init()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h58 #define I2C_SPEED_SHIFT (1U) macro
59 #define I2C_SPEED_SET(speed) (((speed) << I2C_SPEED_SHIFT) \
61 #define I2C_SPEED_MASK (0x7U << I2C_SPEED_SHIFT) /* 3 bits */
63 >> I2C_SPEED_SHIFT)