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()
603 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets)); in loongson3_type1_play_dead()
665 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets)); in loongson3_type2_play_dead()
749 [sets] "r" (cpu_data[smp_processor_id()].dcache.sets), in loongson3_type3_play_dead()
750 [vsets] "r" (cpu_data[smp_processor_id()].vcache.sets)); in loongson3_type3_play_dead()
830 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_disable_clock()
831 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock()
844 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_enable_clock()
845 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock()