Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-axxia.c182 u32 tmo_clk; in axxia_i2c_init() local
226 tmo_clk = ns_to_clk(SCL_WAIT_TIMEOUT_NS, clk_mhz); in axxia_i2c_init()
230 if (tmo_clk <= 0x7fff) in axxia_i2c_init()
232 tmo_clk >>= 1; in axxia_i2c_init()
234 if (tmo_clk > 0x7fff) in axxia_i2c_init()
235 tmo_clk = 0x7fff; in axxia_i2c_init()
240 writel(WT_EN | WT_VALUE(tmo_clk), idev->base + WAIT_TIMER_CONTROL); in axxia_i2c_init()