HomeSort by relevance Sort by last modified time
    Searched refs:clkrate (Results 1 - 2 of 2) sorted by null

  /external/u-boot/drivers/i2c/
rcar_iic.c 199 int clkrate, denom; local
201 clkrate = clk_get_rate(&priv->clk);
202 if (clkrate < 0)
203 return clkrate;
212 priv->iccl = DIV_ROUND_CLOSEST(clkrate * ratio_low, denom);
213 priv->icch = DIV_ROUND_CLOSEST(clkrate * ratio_high, denom);
  /external/u-boot/drivers/spi/
fsl_dspi.c 326 * Formula: SCK = (clkrate/pbr) x ((1+dbr)/br)
332 * @clkrate: input clk frequency
335 int speed_hz, uint clkrate)
345 temp = clkrate / speed_hz;
357 debug("clkrate is %d, we use the max prescaler value.\n", clkrate);

Completed in 312 milliseconds