Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-kempld.c225 u16 prescale_corr; in kempld_i2c_device_init() local
248 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()