Home
last modified time | relevance | path

Searched refs:crystal_freq (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/timer/
H A Dtsc_timer.c38 unsigned int crystal_freq; in native_calibrate_tsc() local
51 crystal_freq = tsc_info.ecx / 1000; in native_calibrate_tsc()
53 if (!crystal_freq) { in native_calibrate_tsc()
59 crystal_freq = 24000; /* 24.0 MHz */ in native_calibrate_tsc()
62 crystal_freq = 25000; /* 25.0 MHz */ in native_calibrate_tsc()
65 crystal_freq = 19200; /* 19.2 MHz */ in native_calibrate_tsc()
72 return (crystal_freq * tsc_info.ebx / tsc_info.eax) / 1000; in native_calibrate_tsc()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1275 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_rev2plus_rc_calib() local
1306 if (crystal_freq == 24000000) { in lpphy_rev2plus_rc_calib()
2392 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2062_tune() local
2417 tmp1 = crystal_freq / 1000; in lpphy_b2062_tune()
2483 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2063_tune() local
2487 int i, div = (crystal_freq <= 26000000 ? 1 : 2); in lpphy_b2063_tune()
2520 freqref = crystal_freq * 3; in lpphy_b2063_tune()
2521 val1 = lpphy_qdiv_roundup(crystal_freq, 1000000, 16); in lpphy_b2063_tune()
2522 val2 = lpphy_qdiv_roundup(crystal_freq, 1000000 * div, 16); in lpphy_b2063_tune()
2524 timeout = ((((8 * crystal_freq) / (div * 5000000)) + 1) >> 1) - 1; in lpphy_b2063_tune()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dsaa7115.c90 u32 crystal_freq; member
778 do_div(f, state->crystal_freq); in saa711x_s_clock_freq()
1383 state->crystal_freq = freq; in saa711x_s_crystal_freq()
1893 state->crystal_freq = SAA7115_FREQ_24_576_MHZ; in saa711x_probe()
1910 state->crystal_freq = SAA7115_FREQ_32_11_MHZ; in saa711x_probe()