Lines Matching refs:cpu_data
444 cpu_set_core(&cpu_data[cpu], in loongson3_init_secondary()
446 cpu_data[cpu].package = in loongson3_init_secondary()
459 if (cpu_data[cpu].package) in loongson3_init_secondary()
497 cpu_set_cluster(&cpu_data[num], i / 4); in loongson3_smp_setup()
517 cpu_set_core(&cpu_data[0], in loongson3_smp_setup()
519 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson3_smp_setup()
602 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets)); in loongson3_type1_play_dead()
664 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets)); in loongson3_type2_play_dead()
748 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets), in loongson3_type3_play_dead()
749 [vsets] "r" (cpu_data[smp_processor_id()].vcache.sets)); in loongson3_type3_play_dead()
829 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_disable_clock()
830 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock()
843 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_enable_clock()
844 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock()