Searched refs:clocktime (Results 1 – 1 of 1) sorted by relevance
261 unsigned int clocktime; in dc_i2c_init_hw() local268 clocktime = DIV_ROUND_UP(clk_rate, 64 * i2c->frequency); in dc_i2c_init_hw()269 if (clocktime < 1 || clocktime > 0xff) { in dc_i2c_init_hw()274 writeb_relaxed(clocktime - 1, i2c->regs + II_CLOCKTIME); in dc_i2c_init_hw()