Lines Matching refs:c2n
135 struct cyc2ns *c2n; in __set_cyc2ns_scale() local
161 c2n = per_cpu_ptr(&cyc2ns, cpu); in __set_cyc2ns_scale()
163 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
164 c2n->data[0] = data; in __set_cyc2ns_scale()
165 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
166 c2n->data[1] = data; in __set_cyc2ns_scale()
188 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_boot_cpu() local
190 seqcount_latch_init(&c2n->seq); in cyc2ns_init_boot_cpu()
202 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_secondary_cpus() local
203 struct cyc2ns_data *data = c2n->data; in cyc2ns_init_secondary_cpus()
207 seqcount_latch_init(&c2n->seq); in cyc2ns_init_secondary_cpus()
208 c2n = per_cpu_ptr(&cyc2ns, cpu); in cyc2ns_init_secondary_cpus()
209 c2n->data[0] = data[0]; in cyc2ns_init_secondary_cpus()
210 c2n->data[1] = data[1]; in cyc2ns_init_secondary_cpus()