Searched refs:I2C_SPEED_SHIFT (Results 1 – 6 of 6) sorted by relevance
22 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()
322 i2c_bitbang_configure(context, I2C_SPEED_STANDARD << I2C_SPEED_SHIFT); in i2c_bitbang_init()
340 .i2c_config = I2C_MODE_CONTROLLER | (I2C_SPEED_STANDARD << I2C_SPEED_SHIFT), \
1168 bitrate_cfg = I2C_SPEED_DT << I2C_SPEED_SHIFT; in i2c_it8xxx2_init()
1241 bitrate_cfg = I2C_SPEED_DT << I2C_SPEED_SHIFT; in i2c_enhance_init()
58 #define I2C_SPEED_SHIFT (1U) macro59 #define I2C_SPEED_SET(speed) (((speed) << I2C_SPEED_SHIFT) \61 #define I2C_SPEED_MASK (0x7U << I2C_SPEED_SHIFT) /* 3 bits */63 >> I2C_SPEED_SHIFT)