/linux-6.6.21/include/linux/ |
D | topology.h | 94 static inline int cpu_to_node(int cpu) in cpu_to_node() 108 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() 151 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 158 static inline void set_cpu_numa_mem(int cpu, int node) in set_cpu_numa_mem() 175 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 197 #define topology_physical_package_id(cpu) ((void)(cpu), -1) argument 200 #define topology_die_id(cpu) ((void)(cpu), -1) argument 203 #define topology_cluster_id(cpu) ((void)(cpu), -1) argument 206 #define topology_core_id(cpu) ((void)(cpu), 0) argument 209 #define topology_book_id(cpu) ((void)(cpu), -1) argument [all …]
|
D | cpumask.h | 140 static __always_inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) in cpu_max_bits_warn() 148 static __always_inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check() 281 #define for_each_cpu(cpu, mask) \ argument 315 #define for_each_cpu_wrap(cpu, mask, start) \ argument 332 #define for_each_cpu_and(cpu, mask1, mask2) \ argument 350 #define for_each_cpu_andnot(cpu, mask1, mask2) \ argument 367 #define for_each_cpu_or(cpu, mask1, mask2) \ argument 379 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but() 397 static inline unsigned int cpumask_nth(unsigned int cpu, const struct cpumask *srcp) in cpumask_nth() 411 unsigned int cpumask_nth_and(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and() [all …]
|
D | arch_topology.h | 23 static inline unsigned long topology_get_cpu_scale(int cpu) in topology_get_cpu_scale() 32 static inline unsigned long topology_get_freq_scale(int cpu) in topology_get_freq_scale() 58 static inline unsigned long topology_get_thermal_pressure(int cpu) in topology_get_thermal_pressure() 80 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id) argument 81 #define topology_cluster_id(cpu) (cpu_topology[cpu].cluster_id) argument 82 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) argument 83 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling) argument 84 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) argument 85 #define topology_cluster_cpumask(cpu) (&cpu_topology[cpu].cluster_sibling) argument 86 #define topology_llc_cpumask(cpu) (&cpu_topology[cpu].llc_sibling) argument
|
/linux-6.6.21/arch/x86/include/asm/ |
D | topology.h | 56 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 94 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 108 #define topology_logical_package_id(cpu) (cpu_data(cpu).logical_proc_id) argument 109 #define topology_physical_package_id(cpu) (cpu_data(cpu).phys_proc_id) argument 110 #define topology_logical_die_id(cpu) (cpu_data(cpu).logical_die_id) argument 111 #define topology_die_id(cpu) (cpu_data(cpu).cpu_die_id) argument 112 #define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id) argument 113 #define topology_ppin(cpu) (cpu_data(cpu).ppin) argument 118 #define topology_cluster_id(cpu) (per_cpu(cpu_l2c_id, cpu)) argument 119 #define topology_die_cpumask(cpu) (per_cpu(cpu_die_map, cpu)) argument [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | topology.h | 48 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) in update_numa_cpu_lookup_table() 53 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 76 static inline int early_cpu_to_node(int cpu) { return 0; } in early_cpu_to_node() 90 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {} in update_numa_cpu_lookup_table() 105 static inline void map_cpu_to_node(int cpu, int node) {} in map_cpu_to_node() 107 static inline void unmap_cpu_from_node(unsigned long cpu) {} in unmap_cpu_from_node() 117 static inline void find_and_update_cpu_nid(int cpu) {} in find_and_update_cpu_nid() 118 static inline int cpu_to_coregroup_id(int cpu) in cpu_to_coregroup_id() 137 #define topology_physical_package_id(cpu) (cpu_to_chip_id(cpu)) argument 139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) argument [all …]
|
D | smp.h | 97 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() 102 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id() 113 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask() 118 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask() 123 static inline struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask() 128 static inline struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask() 141 static inline const struct cpumask *cpu_smt_mask(int cpu) in cpu_smt_mask() 193 static inline const struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask() 198 static inline const struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask() 203 static inline const struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | pmu.c | 62 u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr) in cbe_read_phys_ctr() 81 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() 114 u32 cbe_read_ctr(u32 cpu, u32 ctr) in cbe_read_ctr() 128 void cbe_write_ctr(u32 cpu, u32 ctr, u32 val) in cbe_write_ctr() 153 u32 cbe_read_pm07_control(u32 cpu, u32 ctr) in cbe_read_pm07_control() 164 void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val) in cbe_write_pm07_control() 175 u32 cbe_read_pm(u32 cpu, enum pm_reg_name reg) in cbe_read_pm() 217 void cbe_write_pm(u32 cpu, enum pm_reg_name reg, u32 val) in cbe_write_pm() 259 u32 cbe_get_ctr_size(u32 cpu, u32 phys_ctr) in cbe_get_ctr_size() 272 void cbe_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size) in cbe_set_ctr_size() [all …]
|
/linux-6.6.21/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 58 unsigned int cpu, nr_cpus; in proc_cpufreq_output() local 126 static int get_boost_mode_x86(unsigned int cpu) in get_boost_mode_x86() 210 static int get_boost_mode(unsigned int cpu) in get_boost_mode() 237 static int get_freq_kernel(unsigned int cpu, unsigned int human) in get_freq_kernel() 256 static int get_freq_hardware(unsigned int cpu, unsigned int human) in get_freq_hardware() 274 static int get_hardware_limits(unsigned int cpu, unsigned int human) in get_hardware_limits() 297 static int get_driver(unsigned int cpu) in get_driver() 311 static int get_policy(unsigned int cpu) in get_policy() 333 static int get_available_governors(unsigned int cpu) in get_available_governors() 356 static int get_affected_cpus(unsigned int cpu) in get_affected_cpus() [all …]
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | smp.c | 286 void smp_muxed_ipi_set_message(int cpu, int msg) in smp_muxed_ipi_set_message() 298 void smp_muxed_ipi_message_pass(int cpu, int msg) in smp_muxed_ipi_message_pass() 360 static inline void do_message_pass(int cpu, int msg) in do_message_pass() 370 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 377 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 384 unsigned int cpu; in arch_send_call_function_ipi_mask() local 478 static void do_smp_send_nmi_ipi(int cpu, bool safe) in do_smp_send_nmi_ipi() 502 static int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), in __smp_send_nmi_ipi() 567 int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) in smp_send_nmi_ipi() 572 int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) in smp_send_safe_nmi_ipi() [all …]
|
D | watchdog.c | 148 int cpu = raw_smp_processor_id(); in wd_lockup_ipi() local 182 static bool set_cpu_stuck(int cpu) in set_cpu_stuck() 200 static void watchdog_smp_panic(int cpu) in watchdog_smp_panic() 263 static void wd_smp_clear_cpu_pending(int cpu) in wd_smp_clear_cpu_pending() 346 static void watchdog_timer_interrupt(int cpu) in watchdog_timer_interrupt() 372 int cpu = raw_smp_processor_id(); in DEFINE_INTERRUPT_HANDLER_NMI() local 439 int cpu = smp_processor_id(); in watchdog_timer_fn() local 457 int cpu = smp_processor_id(); in arch_touch_nmi_watchdog() local 474 int cpu = smp_processor_id(); in start_watchdog() local 504 static int start_watchdog_on_cpu(unsigned int cpu) in start_watchdog_on_cpu() [all …]
|
/linux-6.6.21/arch/arm/mach-bcm/ |
D | platsmp-brcmstb.c | 59 static int per_cpu_sw_state_rd(u32 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() 72 static inline void per_cpu_sw_state_wr(u32 cpu, int val) { } in per_cpu_sw_state_wr() 75 static void __iomem *pwr_ctrl_get_base(u32 cpu) in pwr_ctrl_get_base() 82 static u32 pwr_ctrl_rd(u32 cpu) in pwr_ctrl_rd() 88 static void pwr_ctrl_set(unsigned int cpu, u32 val, u32 mask) in pwr_ctrl_set() 94 static void pwr_ctrl_clr(unsigned int cpu, u32 val, u32 mask) in pwr_ctrl_clr() 101 static int pwr_ctrl_wait_tmout(unsigned int cpu, u32 set, u32 mask) in pwr_ctrl_wait_tmout() 119 static void cpu_rst_cfg_set(u32 cpu, int set) in cpu_rst_cfg_set() 130 static void cpu_set_boot_addr(u32 cpu, unsigned long boot_addr) in cpu_set_boot_addr() [all …]
|
/linux-6.6.21/drivers/base/ |
D | cacheinfo.c | 25 #define ci_cacheinfo(cpu) (&per_cpu(ci_cpu_cacheinfo, cpu)) argument 26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument 27 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument 28 #define per_cpu_cacheinfo_idx(cpu, idx) \ argument 34 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo() 57 bool last_level_cache_is_valid(unsigned int cpu) in last_level_cache_is_valid() 203 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node() 287 int init_of_cache_level(unsigned int cpu) in init_of_cache_level() 330 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node() 331 int init_of_cache_level(unsigned int cpu) { return 0; } in init_of_cache_level() [all …]
|
D | arch_topology.c | 63 int cpu; in topology_set_scale_freq_source() local 94 int cpu; in topology_clear_scale_freq_source() local 156 void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity) in topology_set_cpu_scale() 182 int cpu; in topology_update_thermal_pressure() local 213 struct cpu *cpu = container_of(dev, struct cpu, dev); in cpu_capacity_show() local 226 struct device *cpu; in register_cpu_capacity_sysctl() local 275 int cpu; in topology_normalize_cpu_scale() local 297 bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) in topology_parse_cpu_capacity() 354 int cpu; in topology_init_cpu_capacity_cppc() local 399 int cpu; in init_cpu_capacity_callback() local [all …]
|
/linux-6.6.21/arch/arm/kernel/ |
D | smp.c | 108 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() 121 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() 131 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() 206 static int platform_cpu_kill(unsigned int cpu) in platform_cpu_kill() 213 static int platform_cpu_disable(unsigned int cpu) in platform_cpu_disable() 221 int platform_can_hotplug_cpu(unsigned int cpu) in platform_can_hotplug_cpu() 238 static void ipi_teardown(int cpu) in ipi_teardown() 254 unsigned int cpu = smp_processor_id(); in __cpu_disable() local 294 void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) in arch_cpuhp_cleanup_dead_cpu() 320 unsigned int cpu = smp_processor_id(); in arch_cpu_idle_dead() local [all …]
|
/linux-6.6.21/arch/mips/loongson64/ |
D | smp.c | 45 static void csr_mail_send(uint64_t data, int cpu, int mailbox) in csr_mail_send() 64 static u32 csr_ipi_read_clear(int cpu) in csr_ipi_read_clear() 76 static void csr_ipi_write_action(int cpu, u32 action) in csr_ipi_write_action() 89 static void csr_ipi_write_enable(int cpu) in csr_ipi_write_enable() 94 static void csr_ipi_clear_buf(int cpu) in csr_ipi_clear_buf() 99 static void csr_ipi_write_buf(int cpu, struct task_struct *idle) in csr_ipi_write_buf() 118 static u32 legacy_ipi_read_clear(int cpu) in legacy_ipi_read_clear() 131 static void legacy_ipi_write_action(int cpu, u32 action) in legacy_ipi_write_action() 137 static void legacy_ipi_write_enable(int cpu) in legacy_ipi_write_enable() 142 static void legacy_ipi_clear_buf(int cpu) in legacy_ipi_clear_buf() [all …]
|
/linux-6.6.21/tools/power/cpupower/lib/ |
D | cpufreq.c | 23 static unsigned int sysfs_cpufreq_read_file(unsigned int cpu, const char *fname, in sysfs_cpufreq_read_file() 35 static unsigned int sysfs_cpufreq_write_file(unsigned int cpu, in sysfs_cpufreq_write_file() 86 unsigned long cpufreq_get_sysfs_value_from_table(unsigned int cpu, in cpufreq_get_sysfs_value_from_table() 113 static unsigned long sysfs_cpufreq_get_one_value(unsigned int cpu, in sysfs_cpufreq_get_one_value() 135 static char *sysfs_cpufreq_get_one_string(unsigned int cpu, in sysfs_cpufreq_get_one_string() 177 static int sysfs_cpufreq_write_one_value(unsigned int cpu, in sysfs_cpufreq_write_one_value() 191 unsigned long cpufreq_get_freq_kernel(unsigned int cpu) in cpufreq_get_freq_kernel() 196 unsigned long cpufreq_get_freq_hardware(unsigned int cpu) in cpufreq_get_freq_hardware() 201 unsigned long cpufreq_get_transition_latency(unsigned int cpu) in cpufreq_get_transition_latency() 206 int cpufreq_get_hardware_limits(unsigned int cpu, in cpufreq_get_hardware_limits() [all …]
|
/linux-6.6.21/kernel/ |
D | smpboot.c | 30 struct task_struct *idle_thread_get(unsigned int cpu) in idle_thread_get() 50 static __always_inline void idle_init(unsigned int cpu) in idle_init() 68 unsigned int cpu, boot_cpu; in idle_threads_init() local 85 unsigned int cpu; member 170 __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in __smpboot_create_thread() 213 int smpboot_create_threads(unsigned int cpu) in smpboot_create_threads() 228 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 236 int smpboot_unpark_threads(unsigned int cpu) in smpboot_unpark_threads() 247 static void smpboot_park_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_park_thread() 255 int smpboot_park_threads(unsigned int cpu) in smpboot_park_threads() [all …]
|
D | cpu.c | 170 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback() 309 static bool cpuhp_wait_for_sync_state(unsigned int cpu, enum cpuhp_sync_state state, in cpuhp_wait_for_sync_state() 355 void __weak arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_dead_cpu() 361 static void cpuhp_bp_sync_dead(unsigned int cpu) in cpuhp_bp_sync_dead() 382 static inline void cpuhp_bp_sync_dead(unsigned int cpu) { } in cpuhp_bp_sync_dead() 403 static bool cpuhp_can_boot_ap(unsigned int cpu) in cpuhp_can_boot_ap() 431 void __weak arch_cpuhp_cleanup_kick_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_kick_cpu() 437 static int cpuhp_bp_sync_alive(unsigned int cpu) in cpuhp_bp_sync_alive() 454 static inline int cpuhp_bp_sync_alive(unsigned int cpu) { return 0; } in cpuhp_bp_sync_alive() 455 static inline bool cpuhp_can_boot_ap(unsigned int cpu) { return true; } in cpuhp_can_boot_ap() [all …]
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | smp.c | 81 unsigned int cpu, i; in show_ipi_list() local 91 static inline void set_cpu_core_map(int cpu) in set_cpu_core_map() 105 static inline void set_cpu_sibling_map(int cpu) in set_cpu_sibling_map() 119 static inline void clear_cpu_sibling_map(int cpu) in clear_cpu_sibling_map() 159 static void csr_mail_send(uint64_t data, int cpu, int mailbox) in csr_mail_send() 178 static u32 ipi_read_clear(int cpu) in ipi_read_clear() 191 static void ipi_write_action(int cpu, u32 action) in ipi_write_action() 205 void loongson_send_ipi_single(int cpu, unsigned int action) in loongson_send_ipi_single() 223 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 232 unsigned int cpu = smp_processor_id(); in loongson_ipi_interrupt() local [all …]
|
/linux-6.6.21/arch/x86/xen/ |
D | smp_pv.c | 61 int cpu; in cpu_bringup() local 99 void xen_smp_intr_free_pv(unsigned int cpu) in xen_smp_intr_free_pv() 116 int xen_smp_intr_init_pv(unsigned int cpu) in xen_smp_intr_init_pv() 212 unsigned cpu; in xen_pv_smp_prepare_cpus() local 253 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() 318 static int xen_pv_kick_ap(unsigned int cpu, struct task_struct *idle) in xen_pv_kick_ap() 354 unsigned int cpu = smp_processor_id(); in xen_pv_cpu_disable() local 364 static void xen_pv_cpu_die(unsigned int cpu) in xen_pv_cpu_die() 372 static void xen_pv_cleanup_dead_cpu(unsigned int cpu) in xen_pv_cleanup_dead_cpu() 394 static void xen_pv_cpu_die(unsigned int cpu) in xen_pv_cpu_die() [all …]
|
/linux-6.6.21/arch/s390/include/asm/ |
D | topology.h | 29 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) argument 30 #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id) argument 31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask) argument 32 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) argument 33 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask) argument 34 #define topology_book_id(cpu) (cpu_topology[cpu].book_id) argument 35 #define topology_book_cpumask(cpu) (&cpu_topology[cpu].book_mask) argument 36 #define topology_drawer_id(cpu) (cpu_topology[cpu].drawer_id) argument 37 #define topology_drawer_cpumask(cpu) (&cpu_topology[cpu].drawer_mask) argument 38 #define topology_cpu_dedicated(cpu) (cpu_topology[cpu].dedicated) argument [all …]
|
/linux-6.6.21/arch/arm64/kernel/ |
D | smp.c | 89 static inline int op_cpu_kill(unsigned int cpu) in op_cpu_kill() 100 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() 112 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() 200 unsigned int cpu = smp_processor_id(); in secondary_start_kernel() local 268 static int op_cpu_disable(unsigned int cpu) in op_cpu_disable() 294 unsigned int cpu = smp_processor_id(); in __cpu_disable() local 319 static int op_cpu_kill(unsigned int cpu) in op_cpu_kill() 338 void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) in arch_cpuhp_cleanup_dead_cpu() 361 unsigned int cpu = smp_processor_id(); in cpu_die() local 382 static void __cpu_try_die(int cpu) in __cpu_try_die() [all …]
|
/linux-6.6.21/drivers/cpufreq/ |
D | intel_pstate.c | 229 int cpu; member 352 static void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio() 396 static int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed() 411 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling() 431 static inline void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio() 438 struct cpudata *cpu; in intel_pstate_init_acpi_perf_limits() local 494 struct cpudata *cpu; in intel_pstate_exit_perf_limits() local 518 static inline int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed() 523 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling() 529 static int intel_pstate_freq_to_hwp_rel(struct cpudata *cpu, int freq, in intel_pstate_freq_to_hwp_rel() [all …]
|
/linux-6.6.21/drivers/acpi/ |
D | processor_thermal.c | 33 #define reduction_pctg(cpu) \ argument 43 static int phys_package_first_cpu(int cpu) in phys_package_first_cpu() 54 static int cpu_has_cpufreq(unsigned int cpu) in cpu_has_cpufreq() 69 static int cpufreq_get_max_state(unsigned int cpu) in cpufreq_get_max_state() 77 static int cpufreq_get_cur_state(unsigned int cpu) in cpufreq_get_cur_state() 85 static int cpufreq_set_cur_state(unsigned int cpu, int state) in cpufreq_set_cur_state() 131 unsigned int cpu; in acpi_thermal_cpufreq_init() local 155 unsigned int cpu; in acpi_thermal_cpufreq_exit() local 169 static int cpufreq_get_max_state(unsigned int cpu) in cpufreq_get_max_state() 174 static int cpufreq_get_cur_state(unsigned int cpu) in cpufreq_get_cur_state() [all …]
|
/linux-6.6.21/kernel/time/ |
D | tick-broadcast.c | 47 static inline void tick_broadcast_clear_oneshot(int cpu) { } in tick_broadcast_clear_oneshot() 50 static inline void tick_broadcast_oneshot_offline(unsigned int cpu) { } in tick_broadcast_oneshot_offline() 69 const struct clock_event_device *tick_get_wakeup_device(int cpu) in tick_get_wakeup_device() 102 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device() 117 int cpu) in tick_set_oneshot_wakeup_device() 148 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device() 154 int cpu) in tick_set_oneshot_wakeup_device() 163 void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) in tick_install_broadcast_device() 247 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 348 int cpu = smp_processor_id(); in tick_do_broadcast() local [all …]
|