Lines Matching refs:c2n
149 struct cyc2ns *c2n; in __set_cyc2ns_scale() local
175 c2n = per_cpu_ptr(&cyc2ns, cpu); in __set_cyc2ns_scale()
177 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
178 c2n->data[0] = data; in __set_cyc2ns_scale()
179 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
180 c2n->data[1] = data; in __set_cyc2ns_scale()
202 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_boot_cpu() local
204 seqcount_latch_init(&c2n->seq); in cyc2ns_init_boot_cpu()
216 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_secondary_cpus() local
217 struct cyc2ns_data *data = c2n->data; in cyc2ns_init_secondary_cpus()
221 seqcount_latch_init(&c2n->seq); in cyc2ns_init_secondary_cpus()
222 c2n = per_cpu_ptr(&cyc2ns, cpu); in cyc2ns_init_secondary_cpus()
223 c2n->data[0] = data[0]; in cyc2ns_init_secondary_cpus()
224 c2n->data[1] = data[1]; in cyc2ns_init_secondary_cpus()