Home
last modified time | relevance | path

Searched refs:cpu_clock_hz (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-rgmii.c134 int cpu_clock_hz) in __cvmx_helper_errata_asx_pass1() argument
137 if (cpu_clock_hz >= 325000000 && cpu_clock_hz < 375000000) in __cvmx_helper_errata_asx_pass1()
139 else if (cpu_clock_hz >= 375000000 && cpu_clock_hz < 437000000) in __cvmx_helper_errata_asx_pass1()
141 else if (cpu_clock_hz >= 437000000 && cpu_clock_hz < 550000000) in __cvmx_helper_errata_asx_pass1()
143 else if (cpu_clock_hz >= 550000000 && cpu_clock_hz < 687000000) in __cvmx_helper_errata_asx_pass1()
147 "CVMX_ASXX_TX_HI_WATERX not set\n", cpu_clock_hz); in __cvmx_helper_errata_asx_pass1()
194 cpu_clock_hz); in __cvmx_helper_rgmii_enable()
H A Dcvmx-spi.c204 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_reset_cb()
435 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_clock_detect_cb()
512 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_training_cb()
579 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_calendar_sync_cb()
H A Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
H A Dcvmx-pko.c581 cvmx_sysinfo_get()->cpu_clock_hz / packets_s / 16; in cvmx_pko_rate_limit_packets()
610 uint64_t clock_rate = cvmx_sysinfo_get()->cpu_clock_hz; in cvmx_pko_rate_limit_bits()
H A Dcvmx-helper-sgmii.c54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-sysinfo.h75 uint32_t cpu_clock_hz; member
H A Dcvmx.h462 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
/openbmc/linux/arch/mips/cavium-octeon/
H A Dsetup.c336 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate()
696 sysinfo->cpu_clock_hz = octeon_bootinfo->eclock_hz; in prom_init()
726 octeon_io_clock_rate = sysinfo->cpu_clock_hz; in prom_init()