Lines Matching +full:clock +full:- +full:1000000000
1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <asm/octeon/cvmx-ciu-defs.h>
38 max = (curr_li.max_latency * 1000000000) / cpuclk; in oct_ilm_show()
39 min = (curr_li.min_latency * 1000000000) / cpuclk; in oct_ilm_show()
40 avg = (curr_li.latency_sum * 1000000000) / (cpuclk * curr_li.interrupt_cnt); in oct_ilm_show()
71 /* Calculating by the amounts io clock and cpu clock would in init_latency_info()
74 li->io_interval = (octeon_get_io_clock_rate() * interval) / 1000; in init_latency_info()
75 li->cpu_interval = (octeon_get_clock_rate() * interval) / 1000; in init_latency_info()
77 li->timer_start1 = 0; in init_latency_info()
78 li->timer_start2 = 0; in init_latency_info()
79 li->max_latency = 0; in init_latency_info()
80 li->min_latency = (u64)-1; in init_latency_info()
81 li->latency_sum = 0; in init_latency_info()
82 li->interrupt_cnt = 0; in init_latency_info()
114 last_latency = last_int_cnt - (li.timer_start1 + li.cpu_interval); in cvm_oct_ciu_timer_interrupt()