Lines Matching refs:speed
78 unsigned int speed) in __dw_i2c_set_bus_speed() argument
84 if (speed >= I2C_MAX_SPEED) in __dw_i2c_set_bus_speed()
86 else if (speed >= I2C_FAST_SPEED) in __dw_i2c_set_bus_speed()
373 static void __dw_i2c_init(struct i2c_regs *i2c_base, int speed, int slaveaddr) in __dw_i2c_init() argument
384 __dw_i2c_set_bus_speed(i2c_base, NULL, speed); in __dw_i2c_init()
422 unsigned int speed) in dw_i2c_set_bus_speed() argument
424 adap->speed = speed; in dw_i2c_set_bus_speed()
425 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); in dw_i2c_set_bus_speed()
428 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() argument
430 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init()
457 dw_i2c_init(adap, adap->speed, adap->slaveaddr); in dw_i2c_probe()
512 static int designware_i2c_set_bus_speed(struct udevice *bus, unsigned int speed)
516 return __dw_i2c_set_bus_speed(i2c->regs, i2c->scl_sda_cfg, speed);