Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-npcm7xx.c1796 #define clk_coef(freq, mul) DIV_ROUND_UP((freq) * (mul), 1000000) macro
1855 hldt = clk_coef(src_clk_khz, 300) + 7; in npcm_i2c_init_clk()
1856 k1 = clk_coef(src_clk_khz, 1600); in npcm_i2c_init_clk()
1857 k2 = clk_coef(src_clk_khz, 900); in npcm_i2c_init_clk()
1870 k1 = clk_coef(src_clk_khz, 620); in npcm_i2c_init_clk()
1871 k2 = clk_coef(src_clk_khz, 380); in npcm_i2c_init_clk()
1880 hldt = clk_coef(src_clk_khz, 120) + 7; in npcm_i2c_init_clk()