| /linux/drivers/cpufreq/ |
| H A D | intel_pstate.c | 21 #include <linux/cpu.h> 33 #include <asm/cpu.h> 100 * to account for cpu idle period 136 * Stores the per cpu model P state limits and current P state. 191 * struct cpudata - Per CPU instance data storage 192 * @cpu: CPU number for this instance data 198 * @pstate: Stores P state limits for this CPU 199 * @vid: Stores VID limits for this CPU 221 * @sched_flags: Store scheduler flags for possible cross CPU updat 230 int cpu; global() member 362 intel_pstate_set_itmt_prio(int cpu) intel_pstate_set_itmt_prio() argument 405 intel_pstate_get_cppc_guaranteed(int cpu) intel_pstate_get_cppc_guaranteed() argument 420 intel_pstate_cppc_get_scaling(int cpu) intel_pstate_cppc_get_scaling() argument 437 intel_pstate_set_itmt_prio(int cpu) intel_pstate_set_itmt_prio() argument 444 struct cpudata *cpu; intel_pstate_init_acpi_perf_limits() local 500 struct cpudata *cpu; intel_pstate_exit_perf_limits() local 524 intel_pstate_get_cppc_guaranteed(int cpu) intel_pstate_get_cppc_guaranteed() argument 529 intel_pstate_cppc_get_scaling(int cpu) intel_pstate_cppc_get_scaling() argument 535 intel_pstate_freq_to_hwp_rel(struct cpudata * cpu,int freq,unsigned int relation) intel_pstate_freq_to_hwp_rel() argument 554 intel_pstate_freq_to_hwp(struct cpudata * cpu,int freq) intel_pstate_freq_to_hwp() argument 570 intel_pstate_hybrid_hwp_adjust(struct cpudata * cpu) intel_pstate_hybrid_hwp_adjust() argument 618 struct cpudata *cpu = all_cpu_data[0]; min_perf_pct_min() local 720 intel_pstate_set_epp(struct cpudata * cpu,u32 epp) intel_pstate_set_epp() argument 797 struct cpudata *cpu = all_cpu_data[policy->cpu]; store_energy_performance_preference() local 882 struct cpudata *cpu = all_cpu_data[policy->cpu]; show_base_frequency() local 917 hybrid_get_cpu_type(unsigned int cpu) hybrid_get_cpu_type() argument 953 hybrid_has_l3(unsigned int cpu) hybrid_has_l3() argument 992 hybrid_register_perf_domain(unsigned int cpu) hybrid_register_perf_domain() argument 1022 unsigned int cpu; hybrid_register_all_perf_domains() local 1028 hybrid_update_perf_domain(struct cpudata * cpu) hybrid_update_perf_domain() argument 1034 hybrid_register_perf_domain(unsigned int cpu) hybrid_register_perf_domain() argument 1036 hybrid_update_perf_domain(struct cpudata * cpu) hybrid_update_perf_domain() argument 1039 hybrid_set_cpu_capacity(struct cpudata * cpu) hybrid_set_cpu_capacity() argument 1059 hybrid_get_capacity_perf(struct cpudata * cpu) hybrid_get_capacity_perf() argument 1074 struct cpudata *cpu = all_cpu_data[cpunum]; hybrid_set_capacity_of_cpus() local 1088 struct cpudata *cpu = all_cpu_data[cpunum]; hybrid_update_cpu_capacity_scaling() local 1186 __intel_pstate_get_hwp_cap(struct cpudata * cpu) __intel_pstate_get_hwp_cap() argument 1196 intel_pstate_get_hwp_cap(struct cpudata * cpu) intel_pstate_get_hwp_cap() argument 1214 hybrid_update_capacity(struct cpudata * cpu) hybrid_update_capacity() argument 1259 intel_pstate_hwp_set(unsigned int cpu) intel_pstate_hwp_set() argument 1323 intel_pstate_hwp_offline(struct cpudata * cpu) intel_pstate_hwp_offline() argument 1411 intel_pstate_hwp_reenable(struct cpudata * cpu) intel_pstate_hwp_reenable() argument 1419 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_suspend() local 1433 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_resume() local 1459 int cpu; intel_pstate_update_policies() local 1479 intel_pstate_update_max_freq(int cpu) intel_pstate_update_max_freq() argument 1501 int cpu; intel_pstate_update_limits_for_all() local 1551 struct cpudata *cpu; show_turbo_pct() local 1573 struct cpudata *cpu; show_num_pstates() local 1631 struct cpudata *cpu = all_cpu_data[0]; store_no_turbo() local 1647 update_cpu_qos_request(int cpu,enum freq_qos_req_type type) update_cpu_qos_request() argument 2155 core_get_min_pstate(int cpu) core_get_min_pstate() argument 2163 core_get_max_pstate_physical(int cpu) core_get_max_pstate_physical() argument 2171 core_get_tdp_ratio(int cpu,u64 plat_info) core_get_tdp_ratio() argument 2204 core_get_max_pstate(int cpu) core_get_max_pstate() argument 2239 core_get_turbo_pstate(int cpu) core_get_turbo_pstate() argument 2262 knl_get_turbo_pstate(int cpu) knl_get_turbo_pstate() argument 2275 hwp_get_cpu_scaling(int cpu) hwp_get_cpu_scaling() argument 2300 intel_pstate_set_pstate(struct cpudata * cpu,int pstate) intel_pstate_set_pstate() argument 2313 intel_pstate_set_min_pstate(struct cpudata * cpu) intel_pstate_set_min_pstate() argument 2318 intel_pstate_get_cpu_pstates(struct cpudata * cpu) intel_pstate_get_cpu_pstates() argument 2369 intel_pstate_hwp_boost_up(struct cpudata * cpu) intel_pstate_hwp_boost_up() argument 2416 intel_pstate_hwp_boost_down(struct cpudata * cpu) intel_pstate_hwp_boost_down() argument 2432 intel_pstate_update_util_hwp_local(struct cpudata * cpu,u64 time) intel_pstate_update_util_hwp_local() argument 2464 struct cpudata *cpu = container_of(data, struct cpudata, update_util); intel_pstate_update_util_hwp() local 2472 intel_pstate_calc_avg_perf(struct cpudata * cpu) intel_pstate_calc_avg_perf() argument 2479 intel_pstate_sample(struct cpudata * cpu,u64 time) intel_pstate_sample() argument 2521 get_avg_frequency(struct cpudata * cpu) get_avg_frequency() argument 2526 get_avg_pstate(struct cpudata * cpu) get_avg_pstate() argument 2532 get_target_pstate(struct cpudata * cpu) get_target_pstate() argument 2567 intel_pstate_prepare_request(struct cpudata * cpu,int pstate) intel_pstate_prepare_request() argument 2575 intel_pstate_update_pstate(struct cpudata * cpu,int pstate) intel_pstate_update_pstate() argument 2584 intel_pstate_adjust_pstate(struct cpudata * cpu) intel_pstate_adjust_pstate() argument 2610 struct cpudata *cpu = container_of(data, struct cpudata, update_util); intel_pstate_update_util() local 2745 struct cpudata *cpu; intel_pstate_init_cpu() local 2787 struct cpudata *cpu = all_cpu_data[cpu_num]; intel_pstate_set_update_util_hook() local 2804 intel_pstate_clear_update_util_hook(unsigned int cpu) intel_pstate_clear_update_util_hook() argument 2816 intel_pstate_get_max_freq(struct cpudata * cpu) intel_pstate_get_max_freq() argument 2822 intel_pstate_update_perf_limits(struct cpudata * cpu,unsigned int policy_min,unsigned int policy_max) intel_pstate_update_perf_limits() argument 2887 struct cpudata *cpu; intel_pstate_set_policy() local 2936 intel_pstate_adjust_policy_max(struct cpudata * cpu,struct cpufreq_policy_data * policy) intel_pstate_adjust_policy_max() argument 2948 intel_pstate_verify_cpu_policy(struct cpudata * cpu,struct cpufreq_policy_data * policy) intel_pstate_verify_cpu_policy() argument 2974 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_cpu_offline() local 2999 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_cpu_online() local 3035 struct cpudata *cpu; __intel_pstate_cpu_init() local 3076 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_cpu_init() local 3100 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_verify_policy() local 3124 intel_cpufreq_trace(struct cpudata * cpu,unsigned int trace_type,int old_pstate) intel_cpufreq_trace() argument 3146 intel_cpufreq_hwp_update(struct cpudata * cpu,u32 min,u32 max,u32 desired,bool fast_switch) intel_cpufreq_hwp_update() argument 3170 intel_cpufreq_perf_ctl_update(struct cpudata * cpu,u32 target_pstate,bool fast_switch) intel_cpufreq_perf_ctl_update() argument 3184 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_update_pstate() local 3210 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_target() local 3232 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_fast_switch() local 3247 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_adjust_perf() local 3290 struct cpudata *cpu; intel_cpufreq_cpu_init() local 3379 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_suspend() local 3414 unsigned int cpu; intel_pstate_driver_cleanup() local [all...] |
| /linux/arch/arm/boot/dts/intel/axm/ |
| H A D | axm5516-cpus.dtsi | 13 cpu-map { 16 cpu = <&CPU0>; 19 cpu = <&CPU1>; 22 cpu = <&CPU2>; 25 cpu = <&CPU3>; 30 cpu = <&CPU4>; 33 cpu = <&CPU5>; 36 cpu = <&CPU6>; 39 cpu = <&CPU7>; 44 cpu = <&CPU8>; [all …]
|
| /linux/arch/arm/mach-meson/ |
| H A D | platsmp.c | 38 static struct reset_control *meson_smp_get_core_reset(int cpu) in meson_smp_get_core_reset() argument 40 struct device_node *np = of_get_cpu_node(cpu, 0); in meson_smp_get_core_reset() 45 static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) in meson_smp_set_cpu_ctrl() argument 50 val |= BIT(cpu); in meson_smp_set_cpu_ctrl() 52 val &= ~BIT(cpu); in meson_smp_set_cpu_ctrl() 116 static void meson_smp_begin_secondary_boot(unsigned int cpu) in meson_smp_begin_secondary_boot() argument 119 * Set the entry point before powering on the CPU through the SCU. This in meson_smp_begin_secondary_boot() 120 * is needed if the CPU is in "warm" state (= after rebooting the in meson_smp_begin_secondary_boot() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() 125 sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu)); in meson_smp_begin_secondary_boot() [all …]
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 3 * Arch specific cpu topology information 12 #include <linux/cpu.h> 74 int cpu; in topology_set_scale_freq_source() local 85 for_each_cpu(cpu, cpus) { in topology_set_scale_freq_source() 86 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_set_scale_freq_source() 90 rcu_assign_pointer(per_cpu(sft_data, cpu), data); in topology_set_scale_freq_source() 91 cpumask_set_cpu(cpu, &scale_freq_counters_mask); in topology_set_scale_freq_source() 105 int cpu; in topology_clear_scale_freq_source() local 109 for_each_cpu(cpu, cpus) { in topology_clear_scale_freq_source() 110 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_clear_scale_freq_source() [all …]
|
| H A D | cacheinfo.c | 5 * Based on arch/x86/kernel/cpu/intel_cacheinfo.c 15 #include <linux/cpu.h> 25 /* pointer to per cpu cacheinfo */ 27 #define ci_cacheinfo(cpu) (&per_cpu(ci_cpu_cacheinfo, cpu)) argument 28 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument 29 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument 30 #define per_cpu_cacheinfo_idx(cpu, id 26 ci_cacheinfo(cpu) global() argument 35 get_cpu_cacheinfo(unsigned int cpu) get_cpu_cacheinfo() argument 58 last_level_cache_is_valid(unsigned int cpu) last_level_cache_is_valid() argument 187 match_cache_node(struct device_node * cpu,const struct device_node * cache_node) match_cache_node() argument 213 struct device_node *cpu; cache_of_set_id() local 253 cache_setup_of_node(unsigned int cpu) cache_setup_of_node() argument 327 init_of_cache_level(unsigned int cpu) init_of_cache_level() argument 365 cache_setup_of_node(unsigned int cpu) cache_setup_of_node() argument 366 init_of_cache_level(unsigned int cpu) init_of_cache_level() argument 369 cache_setup_acpi(unsigned int cpu) cache_setup_acpi() argument 376 cache_setup_properties(unsigned int cpu) cache_setup_properties() argument 392 cache_shared_cpu_map_setup(unsigned int cpu) cache_shared_cpu_map_setup() argument 451 cache_shared_cpu_map_remove(unsigned int cpu) cache_shared_cpu_map_remove() argument 488 free_cache_attributes(unsigned int cpu) free_cache_attributes() argument 496 early_cache_level(unsigned int cpu) early_cache_level() argument 501 init_cache_level(unsigned int cpu) init_cache_level() argument 506 populate_cache_leaves(unsigned int cpu) populate_cache_leaves() argument 511 allocate_cache_info(int cpu) allocate_cache_info() argument 523 fetch_cache_info(unsigned int cpu) fetch_cache_info() argument 559 init_level_allocate_ci(unsigned int cpu) init_level_allocate_ci() argument 597 detect_cache_attributes(unsigned int cpu) detect_cache_attributes() argument 639 per_cpu_cache_dev(cpu) global() argument 645 per_cpu_index_dev(cpu) global() argument 646 per_cache_index_dev(cpu,idx) global() argument 855 cpu_cache_sysfs_exit(unsigned int cpu) cpu_cache_sysfs_exit() argument 874 cpu_cache_sysfs_init(unsigned int cpu) cpu_cache_sysfs_init() argument 898 cache_add_dev(unsigned int cpu) cache_add_dev() argument 934 cpu_map_shared_cache(bool online,unsigned int cpu,cpumask_t ** map) cpu_map_shared_cache() argument 976 update_per_cpu_data_slice_size_cpu(unsigned int cpu) update_per_cpu_data_slice_size_cpu() argument 996 update_per_cpu_data_slice_size(bool cpu_online,unsigned int cpu,cpumask_t * cpu_map) update_per_cpu_data_slice_size() argument 1009 cacheinfo_cpu_online(unsigned int cpu) cacheinfo_cpu_online() argument 1027 cacheinfo_cpu_pre_down(unsigned int cpu) cacheinfo_cpu_pre_down() argument [all...] |
| /linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
| H A D | crypto6.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
| H A D | crypto6.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z17/ |
| H A D | crypto6.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/tests/ |
| H A D | topology.c | 76 struct perf_cpu cpu; in check_cpu_topology() 88 * cpu is a NULL pointer. in check_cpu_topology() 90 * CPU 0 is on core_id 0 and physical_package_id 6 in check_cpu_topology() 91 * CPU 1 is on core_id 1 and physical_package_id 3 in check_cpu_topology() 94 * dependent and might have higher numbers than the CPU id. in check_cpu_topology() 108 if (!env->cpu && e_machine != EM_S390 && e_machine != EM_AARCH64) in check_cpu_topology() 115 * test if physical_package_id returns -1 for cpu from perf_cpu_map. in check_cpu_topology() 122 TEST_ASSERT_VAL("Session header CPU map not set", env->cpu); in check_cpu_topology() 125 cpu in check_cpu_topology() 72 struct perf_cpu cpu; check_cpu_topology() local [all...] |
| /linux/arch/arm/mach-tegra/ |
| H A D | platsmp.c | 36 static void tegra_secondary_init(unsigned int cpu) in tegra_secondary_init() argument 38 cpumask_set_cpu(cpu, &tegra_cpu_init_mask); in tegra_secondary_init() 42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument 44 cpu = cpu_logical_map(cpu); in tegra20_boot_secondary() 47 * Force the CPU into reset. The CPU must remain in reset when in tegra20_boot_secondary() 49 * flow controller to stop driving reset if the CPU has been in tegra20_boot_secondary() 51 * effect on first boot of the CPU since it should already be in tegra20_boot_secondary() 54 tegra_put_cpu_in_reset(cpu); in tegra20_boot_secondary() 57 * Unhalt the CPU. If the flow controller was used to in tegra20_boot_secondary() 58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary() [all …]
|
| /linux/tools/testing/selftests/cpu-hotplug/ |
| H A D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu*/online > /dev/null 2>&1; then 28 echo $msg cpu hotplug is not supported >&2 32 echo "CPU online/offline summary:" 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 37 echo "$msg: since there is only one cpu: $online_cpus" 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cp [all...] |
| /linux/include/linux/ |
| H A D | cpumask.h | 7 * set of CPUs in a system, one bit position per CPU number. In general, 86 * cpu_possible_mask- has bit 'cpu' set iff cpu is populatable 87 * cpu_present_mask - has bit 'cpu' set iff cpu is populated 88 * cpu_enabled_mask - has bit 'cpu' set iff cpu can be brought online 89 * cpu_online_mask - has bit 'cpu' set iff cpu available to scheduler 90 * cpu_active_mask - has bit 'cpu' se 135 cpu_max_bits_warn(unsigned int cpu,unsigned int bits) cpu_max_bits_warn() argument 143 cpumask_check(unsigned int cpu) cpumask_check() argument 379 for_each_cpu(cpu,mask) global() argument 392 for_each_cpu_wrap(cpu,mask,start) global() argument 409 for_each_cpu_and(cpu,mask1,mask2) global() argument 427 for_each_cpu_andnot(cpu,mask1,mask2) global() argument 444 for_each_cpu_or(cpu,mask1,mask2) global() argument 454 for_each_cpu_from(cpu,mask) global() argument 467 cpumask_any_but(const struct cpumask * mask,int cpu) cpumask_any_but() argument 491 cpumask_any_and_but(const struct cpumask * mask1,const struct cpumask * mask2,int cpu) cpumask_any_and_but() argument 518 cpumask_any_andnot_but(const struct cpumask * mask1,const struct cpumask * mask2,int cpu) cpumask_any_andnot_but() argument 543 cpumask_nth(unsigned int cpu,const struct cpumask * srcp) cpumask_nth() argument 557 cpumask_nth_and(unsigned int cpu,const struct cpumask * srcp1,const struct cpumask * srcp2) cpumask_nth_and() argument 574 cpumask_nth_and_andnot(unsigned int cpu,const struct cpumask * srcp1,const struct cpumask * srcp2,const struct cpumask * srcp3) cpumask_nth_and_andnot() argument 600 cpumask_set_cpu(unsigned int cpu,struct cpumask * dstp) cpumask_set_cpu() argument 606 __cpumask_set_cpu(unsigned int cpu,struct cpumask * dstp) __cpumask_set_cpu() argument 618 cpumask_clear_cpus(struct cpumask * dstp,unsigned int cpu,unsigned int ncpus) cpumask_clear_cpus() argument 629 cpumask_clear_cpu(int cpu,struct cpumask * dstp) cpumask_clear_cpu() argument 634 __cpumask_clear_cpu(int cpu,struct cpumask * dstp) __cpumask_clear_cpu() argument 647 cpumask_test_cpu(int cpu,const struct cpumask * cpumask) cpumask_test_cpu() argument 662 cpumask_test_and_set_cpu(int cpu,struct cpumask * cpumask) cpumask_test_and_set_cpu() argument 677 cpumask_test_and_clear_cpu(int cpu,struct cpumask * cpumask) cpumask_test_and_clear_cpu() argument 958 cpumask_of(cpu) global() argument 1130 for_each_possible_cpu(cpu) global() argument 1131 for_each_online_cpu(cpu) global() argument 1132 for_each_present_cpu(cpu) global() argument 1134 for_each_possible_cpu_wrap(cpu,start) global() argument 1136 for_each_online_cpu_wrap(cpu,start) global() argument 1139 for_each_possible_cpu(cpu) global() argument 1140 for_each_online_cpu(cpu) global() argument 1141 for_each_enabled_cpu(cpu) global() argument 1142 for_each_present_cpu(cpu) global() argument 1144 for_each_possible_cpu_wrap(cpu,start) global() argument 1146 for_each_online_cpu_wrap(cpu,start) global() argument 1154 assign_cpu(cpu,mask,val) global() argument 1157 __assign_cpu(cpu,mask,val) global() argument 1160 set_cpu_enabled(cpu,enabled) global() argument 1161 set_cpu_present(cpu,present) global() argument 1162 set_cpu_active(cpu,active) global() argument 1163 set_cpu_dying(cpu,dying) global() argument 1197 get_cpu_mask(unsigned int cpu) get_cpu_mask() argument 1229 cpu_online(unsigned int cpu) cpu_online() argument 1234 cpu_enabled(unsigned int cpu) cpu_enabled() argument 1239 cpu_possible(unsigned int cpu) cpu_possible() argument 1244 cpu_present(unsigned int cpu) cpu_present() argument 1249 cpu_active(unsigned int cpu) cpu_active() argument 1254 cpu_dying(unsigned int cpu) cpu_dying() argument 1267 cpu_online(unsigned int cpu) cpu_online() argument 1272 cpu_possible(unsigned int cpu) cpu_possible() argument 1277 cpu_enabled(unsigned int cpu) cpu_enabled() argument 1282 cpu_present(unsigned int cpu) cpu_present() argument 1287 cpu_active(unsigned int cpu) cpu_active() argument 1292 cpu_dying(unsigned int cpu) cpu_dying() argument 1299 cpu_is_offline(cpu) global() argument [all...] |
| /linux/arch/powerpc/kernel/ |
| H A D | smp.c | 29 #include <linux/cpu.h> 76 /* State of each CPU during hotplug phases */ 117 * On big-cores system, thread_group_l1_cache_map for each CPU corresponds to 123 * On some big-cores system, thread_group_l2_cache_map for each CPU 130 * On P10, thread_group_l3_cache_map for each CPU is equal to the 144 * Returns 1 if the specified cpu should be brought up during boot. 278 void smp_muxed_ipi_set_message(int cpu, int msg) in smp_muxed_ipi_set_message() argument 280 struct cpu_messages *info = &per_cpu(ipi_message, cpu); in smp_muxed_ipi_set_message() 290 void smp_muxed_ipi_message_pass(int cpu, int msg) in smp_muxed_ipi_message_pass() argument 292 smp_muxed_ipi_set_message(cpu, msg); in smp_muxed_ipi_message_pass() [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
| H A D | crypto.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z13/ |
| H A D | crypto.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z10/ |
| H A D | crypto.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
| H A D | crypto.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z196/ |
| H A D | crypto.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /linux/arch/um/kernel/ |
| H A D | smp.c | 16 #include <linux/cpu.h> 32 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() argument 34 os_send_ipi(cpu, UML_IPI_RES); in arch_smp_send_reschedule() 37 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() argument 39 os_send_ipi(cpu, UML_IPI_CALL_SINGLE); in arch_send_call_function_single_ipi() 44 int cpu; in arch_send_call_function_ipi_mask() local 46 for_each_cpu(cpu, mask) in arch_send_call_function_ipi_mask() 47 os_send_ipi(cpu, UML_IPI_CALL); in arch_send_call_function_ipi_mask() 52 int cpu, me = smp_processor_id(); in smp_send_stop() local 54 for_each_online_cpu(cpu) { in smp_send_stop() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | smp.c | 13 * The code outside of smp.c uses logical cpu numbers, only smp.c does 14 * the translation of logical to physical cpu ids. All new code that 15 * operates on physical cpu numbers needs to go into smp.c. 18 #define pr_fmt(fmt) "cpu: " fmt 33 #include <linux/cpu.h> 80 * Pointer to the pcpu area of the boot CPU. This is required when a restart 81 * interrupt is triggered on an offline CPU. For that case accessing percpu 157 /* Status stored condition code is equivalent to cpu not running. */ in pcpu_running() 162 * Find struct pcpu by cpu address. 166 int cpu; in pcpu_find_address() 167 int cpu; pcpu_find_address() local 183 pcpu_alloc_lowcore(struct pcpu * pcpu,int cpu) pcpu_alloc_lowcore() argument 223 pcpu_free_lowcore(struct pcpu * pcpu,int cpu) pcpu_free_lowcore() argument 242 pcpu_prepare_secondary(struct pcpu * pcpu,int cpu) pcpu_prepare_secondary() argument 268 pcpu_attach_task(int cpu,struct task_struct * tsk) pcpu_attach_task() argument 288 pcpu_start_fn(int cpu,void (* func)(void *),void * data) pcpu_start_fn() argument 310 pcpu_delegate(struct pcpu * pcpu,int cpu,pcpu_delegate_fn * func,void * data,unsigned long stack) pcpu_delegate() argument 387 int cpu; smp_find_processor_id() local 400 arch_vcpu_is_preempted(int cpu) arch_vcpu_is_preempted() argument 410 smp_yield_cpu(int cpu) smp_yield_cpu() argument 429 int cpu; smp_emergency_stop() local 462 int cpu; smp_send_stop() local 515 int cpu; arch_send_call_function_ipi_mask() local 521 arch_send_call_function_single_ipi(int cpu) arch_send_call_function_single_ipi() argument 531 arch_smp_send_reschedule(int cpu) arch_smp_send_reschedule() argument 545 smp_store_status(int cpu) smp_store_status() argument 653 smp_cpu_set_polarization(int cpu,int val) smp_cpu_set_polarization() argument 658 smp_cpu_get_polarization(int cpu) smp_cpu_get_polarization() argument 663 smp_cpu_set_capacity(int cpu,unsigned long val) smp_cpu_set_capacity() argument 668 smp_cpu_get_capacity(int cpu) smp_cpu_get_capacity() argument 673 smp_set_core_capacity(int cpu,unsigned long val) smp_set_core_capacity() argument 682 smp_cpu_get_cpu_address(int cpu) smp_cpu_get_cpu_address() argument 713 int cpu, nr, i; smp_add_core() local 780 unsigned int cpu, mtid, c_cpus, s_cpus; smp_detect_cpus() local 827 int cpu = raw_smp_processor_id(); smp_start_secondary() local 856 __cpu_up(unsigned int cpu,struct task_struct * tidle) __cpu_up() argument 897 int cpu; __cpu_disable() local 917 __cpu_die(unsigned int cpu) __cpu_die() argument 940 unsigned int possible, sclp_max, cpu; smp_fill_possible_mask() local 1012 int cpu, val, rc, i; cpu_configure_store() local 1098 smp_cpu_online(unsigned int cpu) smp_cpu_online() argument 1105 smp_cpu_pre_down(unsigned int cpu) smp_cpu_pre_down() argument 1113 arch_cpu_is_hotpluggable(int cpu) arch_cpu_is_hotpluggable() argument 1118 arch_register_cpu(int cpu) arch_register_cpu() argument [all...] |
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | elba-16core.dtsi | 11 cpu-map { 13 core0 { cpu = <&cpu0>; }; 14 core1 { cpu = <&cpu1>; }; 15 core2 { cpu = <&cpu2>; }; 16 core3 { cpu = <&cpu3>; }; 20 core0 { cpu = <&cpu4>; }; 21 core1 { cpu = <&cpu5>; }; 22 core2 { cpu = <&cpu6>; }; 23 core3 { cpu = <&cpu7>; }; 27 core0 { cpu = <&cpu8>; }; [all …]
|
| /linux/drivers/cpuidle/ |
| H A D | coupled.c | 11 #include <linux/cpu.h> 25 * sequencing restrictions (on Tegra 2, cpu 0 must be the last to 26 * power down), or due to HW bugs (on OMAP4460, a cpu powering up 27 * will corrupt the gic state unless the other cpu runs a work 28 * around). Each cpu has a power state that it can enter without 29 * coordinating with the other cpu (usually Wait For Interrupt, or 35 * This file implements a solution, where each cpu will wait in the 45 * each cpu will increment the ready counter, and continue once the 47 * cpu exits idle, the other cpus will decrement their counter and 50 * requested_state stores the deepest coupled idle state each cpu [all …]
|
| /linux/arch/arm/mach-bcm/ |
| H A D | platsmp-brcmstb.c | 3 * Broadcom STB CPU SMP and hotplug support for ARM 52 * We must quiesce a dying CPU before it can be killed by the boot CPU. Because 59 static int per_cpu_sw_state_rd(u32 cpu) in per_cpu_sw_state_rd() argument 61 sync_cache_r(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_rd() 62 return per_cpu(per_cpu_sw_state, cpu); in per_cpu_sw_state_rd() 65 static void per_cpu_sw_state_wr(u32 cpu, int val) in per_cpu_sw_state_wr() argument 68 per_cpu(per_cpu_sw_state, cpu) = val; in per_cpu_sw_state_wr() 69 sync_cache_w(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_wr() 72 static inline void per_cpu_sw_state_wr(u32 cpu, int val) { } in per_cpu_sw_state_wr() argument 75 static void __iomem *pwr_ctrl_get_base(u32 cpu) in pwr_ctrl_get_base() argument [all …]
|
| /linux/arch/x86/xen/ |
| H A D | smp.c | 3 #include <linux/cpu.h> 32 void xen_smp_intr_free(unsigned int cpu) in xen_smp_intr_free() argument 34 kfree(per_cpu(xen_resched_irq, cpu).name); in xen_smp_intr_free() 35 per_cpu(xen_resched_irq, cpu).name = NULL; in xen_smp_intr_free() 36 if (per_cpu(xen_resched_irq, cpu).irq >= 0) { in xen_smp_intr_free() 37 unbind_from_irqhandler(per_cpu(xen_resched_irq, cpu).irq, NULL); in xen_smp_intr_free() 38 per_cpu(xen_resched_irq, cpu).irq = -1; in xen_smp_intr_free() 40 kfree(per_cpu(xen_callfunc_irq, cpu).name); in xen_smp_intr_free() 41 per_cpu(xen_callfunc_irq, cpu).name = NULL; in xen_smp_intr_free() 42 if (per_cpu(xen_callfunc_irq, cpu) in xen_smp_intr_free() 61 xen_smp_intr_init(unsigned int cpu) xen_smp_intr_init() argument 139 xen_smp_send_reschedule(int cpu) xen_smp_send_reschedule() argument 147 unsigned cpu; __xen_send_IPI_mask() local 155 int cpu; xen_smp_send_call_function_ipi() local 168 xen_smp_send_call_function_single_ipi(int cpu) xen_smp_send_call_function_single_ipi() argument 234 unsigned cpu; xen_send_IPI_mask_allbutself() local [all...] |
| /linux/arch/arm/kernel/ |
| H A D | smp.c | 20 #include <linux/cpu.h> 35 #include <asm/cpu.h> 86 static void ipi_setup(int cpu); 108 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() argument 110 if (!cpu_vtable[cpu]) in secondary_biglittle_prepare() 111 cpu_vtable[cpu] = kzalloc_obj(*cpu_vtable[cpu]); in secondary_biglittle_prepare() 113 return cpu_vtable[cpu] ? 0 : -ENOMEM; in secondary_biglittle_prepare() 121 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() argument 131 int __cpu_up(unsigned int cpu, struc argument 206 platform_cpu_kill(unsigned int cpu) platform_cpu_kill() argument 213 platform_cpu_disable(unsigned int cpu) platform_cpu_disable() argument 221 platform_can_hotplug_cpu(unsigned int cpu) platform_can_hotplug_cpu() argument 238 ipi_teardown(int cpu) ipi_teardown() argument 254 unsigned int cpu = smp_processor_id(); __cpu_disable() local 294 arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) arch_cpuhp_cleanup_dead_cpu() argument 320 unsigned int cpu = smp_processor_id(); arch_cpu_idle_dead() local 413 unsigned int cpu; secondary_start_kernel() local 483 int cpu; smp_cpus_done() local 548 unsigned int cpu, i; show_ipi_list() local 574 arch_send_call_function_single_ipi(int cpu) arch_send_call_function_single_ipi() argument 599 ipi_cpu_stop(unsigned int cpu) ipi_cpu_stop() argument 620 register_ipi_completion(struct completion * completion,int cpu) register_ipi_completion() argument 626 ipi_complete(unsigned int cpu) ipi_complete() argument 636 unsigned int cpu = smp_processor_id(); do_handle_IPI() local 713 ipi_setup(int cpu) ipi_setup() argument 748 arch_smp_send_reschedule(int cpu) arch_smp_send_reschedule() argument 799 int cpu, first = cpumask_first(cpus); cpufreq_callback() local [all...] |