Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dtsc.c58 struct cyc2ns { struct
64 static DEFINE_PER_CPU_ALIGNED(struct cyc2ns, cyc2ns); argument
77 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in __cyc2ns_read()
148 struct cyc2ns *c2n; in __set_cyc2ns_scale()
174 c2n = per_cpu_ptr(&cyc2ns, cpu); in __set_cyc2ns_scale()
201 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_boot_cpu()
215 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_secondary_cpus()
221 c2n = per_cpu_ptr(&cyc2ns, cpu); in cyc2ns_init_secondary_cpus()
989 this_cpu_write(cyc2ns.data[0].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
990 this_cpu_write(cyc2ns.data[1].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
[all …]