Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Domap24xx_i2c.c166 static int omap24_i2c_findpsc(u32 *pscl, u32 *psch, uint speed) in omap24_i2c_findpsc() argument
199 *pscl = scl - (scl / 3) - I2C_FASTSPEED_SCLL_TRIM; in omap24_i2c_findpsc()
203 *pscl = internal_clk / (speed * 2) - I2C_FASTSPEED_SCLL_TRIM; in omap24_i2c_findpsc()
208 __func__, speed, prescaler, *pscl, *psch); in omap24_i2c_findpsc()
210 if (*pscl <= 0 || *psch <= 0 || prescaler <= 0) in omap24_i2c_findpsc()