Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-digicolor.c260 unsigned int clocktime; in dc_i2c_init_hw() local
267 clocktime = DIV_ROUND_UP(clk_rate, 64 * i2c->frequency); in dc_i2c_init_hw()
268 if (clocktime < 1 || clocktime > 0xff) { in dc_i2c_init_hw()
273 writeb_relaxed(clocktime - 1, i2c->regs + II_CLOCKTIME); in dc_i2c_init_hw()