Searched refs:sys_freq (Results 1 – 4 of 4) sorted by relevance
140 u32 sys_freq, val, clockdiv = 1, freq = 0; in mpc512x_can_get_clock() local189 sys_freq = 1000000 * in mpc512x_can_get_clock()194 if ((sys_freq % 16000000) == 0) { in mpc512x_can_get_clock()196 clockdiv = sys_freq / 16000000; in mpc512x_can_get_clock()197 freq = sys_freq / clockdiv; in mpc512x_can_get_clock()201 freq = sys_freq / clockdiv; in mpc512x_can_get_clock()
69 int sys_freq; member468 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_setclock()474 foscl = i2c->sys_freq / (2 * (thp_idx + 1)); in octeon_i2c_setclock()552 i2c->sys_freq = i2c_data->sys_freq; in octeon_i2c_probe()
219 unsigned int sys_freq; member
203 octeon_i2c_data[port].sys_freq = octeon_get_io_clock_rate(); in octeon_i2c_device_init()