Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/cavium-octeon/executive/
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()
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()
Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
Dcvmx-pko.c595 cvmx_sysinfo_get()->cpu_clock_hz / packets_s / 16; in cvmx_pko_rate_limit_packets()
624 uint64_t clock_rate = cvmx_sysinfo_get()->cpu_clock_hz; in cvmx_pko_rate_limit_bits()
Dcvmx-helper-sgmii.c54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h75 uint32_t cpu_clock_hz; member
Dcvmx.h462 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
/Linux-v4.19/arch/mips/cavium-octeon/
Dsetup.c334 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate()
697 sysinfo->cpu_clock_hz = octeon_bootinfo->eclock_hz; in prom_init()
727 octeon_io_clock_rate = sysinfo->cpu_clock_hz; in prom_init()