Searched refs:sysclock (Results 1 – 3 of 3) sorted by relevance
123 u32 scl, sysclock; in hix5hd2_i2c_drv_setrate() local130 sysclock = clk_get_rate(priv->clk); in hix5hd2_i2c_drv_setrate()131 scl = (sysclock / (rate * 2)) / 2 - 1; in hix5hd2_i2c_drv_setrate()139 __func__, sysclock, rate, scl); in hix5hd2_i2c_drv_setrate()
21 clocks = <&sysclock>, <&refclock>;
310 int sysclock = 61003; //[kHz] in sp887x_correct_offsets() local333 divide(freq / 333, sysclock, NULL, &frequency_shift); in sp887x_correct_offsets()