Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-npcm7xx.c1775 #define clk_coef(freq, mul) DIV_ROUND_UP((freq) * (mul), 1000000) macro
1834 hldt = clk_coef(src_clk_khz, 300) + 7; in npcm_i2c_init_clk()
1835 k1 = clk_coef(src_clk_khz, 1600); in npcm_i2c_init_clk()
1836 k2 = clk_coef(src_clk_khz, 900); in npcm_i2c_init_clk()
1849 k1 = clk_coef(src_clk_khz, 620); in npcm_i2c_init_clk()
1850 k2 = clk_coef(src_clk_khz, 380); in npcm_i2c_init_clk()
1859 hldt = clk_coef(src_clk_khz, 120) + 7; in npcm_i2c_init_clk()