Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-axxia.c140 u32 tmo_clk; in axxia_i2c_init() local
184 tmo_clk = ns_to_clk(SCL_WAIT_TIMEOUT_NS, clk_mhz); in axxia_i2c_init()
188 if (tmo_clk <= 0x7fff) in axxia_i2c_init()
190 tmo_clk >>= 1; in axxia_i2c_init()
192 if (tmo_clk > 0x7fff) in axxia_i2c_init()
193 tmo_clk = 0x7fff; in axxia_i2c_init()
198 writel(WT_EN | WT_VALUE(tmo_clk), idev->base + WAIT_TIMER_CONTROL); in axxia_i2c_init()