Searched refs:i2c_clk (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/i2c/ |
A D | fsl_i2c.c | 124 uint i2c_clk, uint speed) in set_i2c_bus_speed() argument 144 dfsr = (5 * (i2c_clk / 1000)) / 100000; in set_i2c_bus_speed() 148 speed = i2c_clk / divider; /* Fake something */ in set_i2c_bus_speed() 166 speed = i2c_clk / est_div; in set_i2c_bus_speed() 176 (i2c_clk / 1000)); in set_i2c_bus_speed() 197 speed = i2c_clk / fsl_i2c_speed_map[i].divider; in set_i2c_bus_speed() 265 slaveadd, int i2c_clk, int busnum) in __i2c_init() argument 279 set_i2c_bus_speed(base, i2c_clk, speed); in __i2c_init() 491 uint speed, int i2c_clk) in __i2c_set_bus_speed() argument 494 set_i2c_bus_speed(base, i2c_clk, speed); in __i2c_set_bus_speed() [all …]
|
A D | at91_i2c.c | 157 static void at91_calc_i2c_clock(struct udevice *dev, int i2c_clk) in at91_calc_i2c_clock() argument 168 div = max(0, (int)DIV_ROUND_UP(src_rate, 2 * i2c_clk) - offset); in at91_calc_i2c_clock()
|
/u-boot/arch/powerpc/include/asm/ |
A D | fsl_i2c.h | 74 u32 i2c_clk; member
|
Completed in 5 milliseconds