Searched refs:prescale_corr (Results 1 – 1 of 1) sorted by relevance
225 u16 prescale_corr; in kempld_i2c_device_init() local248 prescale_corr = prescale / 1000; in kempld_i2c_device_init()250 prescale_corr++; in kempld_i2c_device_init()252 kempld_write8(pld, KEMPLD_I2C_PRELOW, prescale_corr & 0xff); in kempld_i2c_device_init()253 kempld_write8(pld, KEMPLD_I2C_PREHIGH, prescale_corr >> 8); in kempld_i2c_device_init()