Lines Matching refs:c2n
134 struct cyc2ns *c2n; in __set_cyc2ns_scale() local
160 c2n = per_cpu_ptr(&cyc2ns, cpu); in __set_cyc2ns_scale()
162 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
163 c2n->data[0] = data; in __set_cyc2ns_scale()
164 raw_write_seqcount_latch(&c2n->seq); in __set_cyc2ns_scale()
165 c2n->data[1] = data; in __set_cyc2ns_scale()
187 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_boot_cpu() local
189 seqcount_latch_init(&c2n->seq); in cyc2ns_init_boot_cpu()
201 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_secondary_cpus() local
202 struct cyc2ns_data *data = c2n->data; in cyc2ns_init_secondary_cpus()
206 seqcount_latch_init(&c2n->seq); in cyc2ns_init_secondary_cpus()
207 c2n = per_cpu_ptr(&cyc2ns, cpu); in cyc2ns_init_secondary_cpus()
208 c2n->data[0] = data[0]; in cyc2ns_init_secondary_cpus()
209 c2n->data[1] = data[1]; in cyc2ns_init_secondary_cpus()