Searched refs:div_high (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | 445 * @div_high: Divider output for high 455 unsigned long *div_low, unsigned long *div_high) rk3x_i2c_calc_divs() 563 *div_high = min_high_div; rk3x_i2c_calc_divs() 593 *div_high = min_high_div + (extra_div - extra_low_div); rk3x_i2c_calc_divs() 598 * NOTE: Above calculations always produce div_low > 0 and div_high > 0. rk3x_i2c_calc_divs() 601 *div_high = *div_high - 1; rk3x_i2c_calc_divs() 609 if (*div_high > 0xffff) { rk3x_i2c_calc_divs() 610 *div_high = 0xffff; rk3x_i2c_calc_divs() 619 unsigned long div_low, div_high; rk3x_i2c_adapt_div() local 625 &div_low, &div_high); rk3x_i2c_adapt_div() 629 i2c_writel(i2c, (div_high << 16) | (div_low & 0xffff), REG_CLKDIV); rk3x_i2c_adapt_div() 633 t_high_ns = div_u64(((u64)div_high + 1) * 8 * 1000000000, clk_rate); rk3x_i2c_adapt_div() 663 unsigned long div_low, div_high; rk3x_i2c_clk_notifier_cb() local 670 &div_low, &div_high) != 0) rk3x_i2c_clk_notifier_cb() 451 rk3x_i2c_calc_divs(unsigned long clk_rate, unsigned long scl_rate, unsigned long scl_rise_ns, unsigned long scl_fall_ns, unsigned long sda_fall_ns, unsigned long *div_low, unsigned long *div_high) rk3x_i2c_calc_divs() argument
|
Completed in 100 milliseconds