/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | cpupm_mach.h | 74 int (*cpus_init)(cpu_t *); 75 void (*cpus_fini)(cpu_t *); 77 void (*cpus_stop)(cpu_t *); 170 extern void (*cpupm_ppm_alloc_pstate_domains)(cpu_t *); 171 extern void (*cpupm_ppm_free_pstate_domains)(cpu_t *); 176 extern void cpupm_init(cpu_t *); 177 extern void cpupm_fini(cpu_t *); 178 extern void cpupm_start(cpu_t *); 179 extern void cpupm_stop(cpu_t *); 180 extern boolean_t cpupm_is_ready(cpu_t *); [all …]
|
H A D | machsystm.h | 74 extern int mach_cpu_start(cpu_t *, void *); 76 extern int mach_cpu_stop(cpu_t *, void *); 79 extern int mach_cpu_create_device_node(cpu_t *, dev_info_t **); 80 extern int mach_cpu_get_device_node(cpu_t *, dev_info_t **); 92 extern void kcpc_hw_init(cpu_t *cp); 93 extern void kcpc_hw_fini(cpu_t *cp); 139 void (*disp_enq_thread)(cpu_t *, int); 140 void (*non_deep_idle_disp_enq_thread)(cpu_t *, int);
|
H A D | cpu_idle.h | 64 extern void cstate_wakeup(cpu_t *, int); 66 extern void cpu_wakeup(cpu_t *, int); 67 extern void cpu_wakeup_mwait(cpu_t *, int);
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | pg.h | 162 cpu_pg_t *pg_cpu_init(cpu_t *, boolean_t deferred_init); 163 void pg_cpu_fini(cpu_t *, cpu_pg_t *cpu_pg_deferred); 164 void pg_cpu_active(cpu_t *); 165 void pg_cpu_inactive(cpu_t *); 166 void pg_cpu_startup(cpu_t *); 167 void pg_cpu_bootstrap(cpu_t *); 168 int pg_cpu_is_bootstrapped(cpu_t *); 173 void pg_cpupart_in(cpu_t *, struct cpupart *); 174 void pg_cpupart_out(cpu_t *, struct cpupart *); 175 void pg_cpupart_move(cpu_t *, struct cpupart *, struct cpupart *); [all …]
|
H A D | cpuvar.h | 243 } cpu_t; typedef 553 extern cpu_t *cpu_list; /* list of CPUs */ 554 extern cpu_t *cpu_active; /* list of active CPUs */ 562 extern cpu_t *clock_cpu_list; 597 uint64_t *, cpu_t *); \ 623 void cpu_list_init(cpu_t *); 624 void cpu_add_unit(cpu_t *); 626 void cpu_add_active(cpu_t *); 627 void cpu_kstat_init(cpu_t *); 628 void cpu_visibility_add(cpu_t *, struct zone *); [all …]
|
H A D | cyclic.h | 68 void (*cyo_online)(void *, cpu_t *, cyc_handler_t *, cyc_time_t *); 69 void (*cyo_offline)(void *, cpu_t *, void *); 80 extern void cyclic_bind(cyclic_id_t, cpu_t *, cpupart_t *); 84 extern int cyclic_offline(cpu_t *cpu); 85 extern void cyclic_online(cpu_t *cpu); 86 extern int cyclic_juggle(cpu_t *cpu); 87 extern void cyclic_move_in(cpu_t *); 88 extern int cyclic_move_out(cpu_t *); 92 extern void cyclic_fire(cpu_t *cpu); 93 extern void cyclic_softint(cpu_t *cpu, cyc_level_t level);
|
H A D | pghw.h | 151 extern void pghw_init(pghw_t *, cpu_t *, pghw_type_t); 153 extern void pghw_cpu_add(pghw_t *, cpu_t *); 154 extern pghw_t *pghw_place_cpu(cpu_t *, pghw_type_t); 160 extern void pghw_physid_create(cpu_t *); 161 extern void pghw_physid_destroy(cpu_t *); 166 extern pghw_t *pghw_find_pg(cpu_t *, pghw_type_t); 171 extern int pg_plat_hw_shared(cpu_t *, pghw_type_t); 172 extern int pg_plat_cpus_share(cpu_t *, cpu_t *, pghw_type_t); 173 extern id_t pg_plat_hw_instance_id(cpu_t *, pghw_type_t); 187 extern id_t pg_plat_get_core_id(cpu_t *);
|
H A D | cmt.h | 101 void pg_cmt_load(cpu_t *, int); 102 void pg_cmt_cpu_startup(cpu_t *); 103 int pg_cmt_can_migrate(cpu_t *, cpu_t *); 114 cpu_t *cmt_balance(kthread_t *, cpu_t *);
|
/titanic_50/usr/src/uts/common/os/ |
H A D | cpu_intr.c | 50 cpu_intr_on(cpu_t *cp) in cpu_intr_on() 59 cpu_t * 60 cpu_intr_next(cpu_t *cp) in cpu_intr_next() 62 cpu_t *c; in cpu_intr_next() 80 cpu_intr_count(cpu_t *cp) in cpu_intr_count() 82 cpu_t *c; in cpu_intr_count() 99 cpu_intr_enable(cpu_t *cp) in cpu_intr_enable() 118 cpu_intr_disable(cpu_t *cp) in cpu_intr_disable()
|
H A D | pg.c | 338 pg_cpu_find_pg(cpu_t *cp, group_t *set) in pg_cpu_find_pg() 358 cpu_t * 361 cpu_t *cpu; in pg_cpu_next() 372 pg_cpu_find(pg_t *pg, cpu_t *cp) in pg_cpu_find() 462 pg_cpu_add(pg_t *pg, cpu_t *cp, cpu_pg_t *cpu_pg) in pg_cpu_add() 489 pg_cpu_delete(pg_t *pg, cpu_t *cp, cpu_pg_t *cpu_pg) in pg_cpu_delete() 553 pg_cpu_init(cpu_t *cp, boolean_t deferred_init) in pg_cpu_init() 600 pg_cpu_fini(cpu_t *cp, cpu_pg_t *cpu_pg_deferred) in pg_cpu_fini() 639 pg_cpu_active(cpu_t *cp) in pg_cpu_active() 658 pg_cpu_inactive(cpu_t *cp) in pg_cpu_inactive() [all …]
|
H A D | cap_util.c | 300 void cu_cpc_program(cpu_t *cp, int *err); 301 void cu_cpc_unprogram(cpu_t *cp, int *err); 309 static int cu_cpc_init(cpu_t *cp, kcpc_request_list_t *reqs, int nreqs); 314 static void cu_cpu_disable(cpu_t *cp); 315 static void cu_cpu_enable(cpu_t *cp); 316 static int cu_cpu_init(cpu_t *cp, kcpc_request_list_t *reqs); 317 static int cu_cpu_fini(cpu_t *cp); 320 static int cu_cpu_run(cpu_t *cp, cu_cpu_func_t func, uintptr_t arg); 331 cpu_t *cp; in cu_disable() 346 cpu_t *cp; in cu_enable() [all …]
|
H A D | cpu.c | 66 extern int mp_cpu_start(cpu_t *); 67 extern int mp_cpu_stop(cpu_t *); 68 extern int mp_cpu_poweron(cpu_t *); 69 extern int mp_cpu_poweroff(cpu_t *); 72 extern void mp_cpu_faulted_enter(cpu_t *); 73 extern void mp_cpu_faulted_exit(cpu_t *); 77 extern char *cpu_fru_fmri(cpu_t *cp); 80 static void cpu_add_active_internal(cpu_t *cp); 81 static void cpu_remove_active(cpu_t *cp); 82 static void cpu_info_kstat_create(cpu_t *cp); [all …]
|
/titanic_50/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpupm_mach.c | 52 void (*cpupm_ppm_alloc_pstate_domains)(cpu_t *); 60 void (*cpupm_ppm_free_pstate_domains)(cpu_t *); 85 static void cpupm_free_notify_handlers(cpu_t *); 121 extern boolean_t cpupm_intel_init(cpu_t *); 122 extern boolean_t cpupm_amd_init(cpu_t *); 125 boolean_t (*cpuv_init)(cpu_t *); 144 cpupm_init(cpu_t *cp) in cpupm_init() 296 cpupm_free(cpu_t *cp, boolean_t cpupm_stop) in cpupm_free() 344 cpupm_fini(cpu_t *cp) in cpupm_fini() 354 cpupm_start(cpu_t *cp) in cpupm_start() [all …]
|
H A D | cpupm_throttle.c | 34 static int cpupm_throttle_init(cpu_t *); 35 static void cpupm_throttle_fini(cpu_t *); 37 static void cpupm_throttle_stop(cpu_t *); 223 cpupm_throttle_init(cpu_t *cp) in cpupm_throttle_init() 264 cpupm_throttle_fini(cpu_t *cp) in cpupm_throttle_fini() 275 cpupm_throttle_stop(cpu_t *cp) in cpupm_throttle_stop() 292 cpu_t *cp = cpu[cpu_id]; in cpupm_throttle_get_max() 328 cpu_t *cp = ctx; in cpupm_throttle_manage_notification()
|
H A D | pwrnow.c | 36 static int pwrnow_init(cpu_t *); 37 static void pwrnow_fini(cpu_t *); 39 static void pwrnow_stop(cpu_t *); 167 pwrnow_init(cpu_t *cp) in pwrnow_init() 220 pwrnow_fini(cpu_t *cp) in pwrnow_fini() 298 pwrnow_stop(cpu_t *cp) in pwrnow_stop()
|
H A D | speedstep.c | 41 static int speedstep_init(cpu_t *); 42 static void speedstep_fini(cpu_t *); 44 static void speedstep_stop(cpu_t *); 182 speedstep_init(cpu_t *cp) in speedstep_init() 235 speedstep_fini(cpu_t *cp) in speedstep_fini() 250 speedstep_stop(cpu_t *cp) in speedstep_stop()
|
/titanic_50/usr/src/uts/sun4v/os/ |
H A D | cmp.c | 91 pg_plat_hw_shared(cpu_t *cp, pghw_type_t hw) in pg_plat_hw_shared() 105 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share() 116 pg_plat_hw_instance_id(cpu_t *cpu, pghw_type_t hw) in pg_plat_hw_instance_id() 174 pg_plat_get_core_id(cpu_t *cpu) in pg_plat_get_core_id() 219 cu_plat_cpc_init(cpu_t *cp, kcpc_request_list_t *reqs, int nreqs) in cu_plat_cpc_init()
|
/titanic_50/usr/src/uts/common/disp/ |
H A D | disp.c | 89 static void generic_enq_thread(cpu_t *, int); 90 void (*disp_enq_thread)(cpu_t *, int) = generic_enq_thread; 103 static void cpu_resched(cpu_t *cp, pri_t tpri); 154 static kthread_t *disp_getwork(cpu_t *to); 335 cpu_t *cpup; in cpu_dispqalloc() 428 disp_cpu_init(cpu_t *cp) in disp_cpu_init() 460 disp_cpu_fini(cpu_t *cp) in disp_cpu_fini() 526 cpu_t *cp = CPU; in disp_anywork() 527 cpu_t *ocp; in disp_anywork() 575 cpu_t *cp = CPU; in idle_enter() [all …]
|
H A D | cmt.c | 140 static void pg_cmt_cpu_init(cpu_t *, cpu_pg_t *); 141 static void pg_cmt_cpu_fini(cpu_t *, cpu_pg_t *); 142 static void pg_cmt_cpu_active(cpu_t *); 143 static void pg_cmt_cpu_inactive(cpu_t *); 144 static void pg_cmt_cpupart_in(cpu_t *, cpupart_t *); 145 static void pg_cmt_cpupart_move(cpu_t *, cpupart_t *, cpupart_t *); 149 static int pg_cmt_cpu_belongs(pg_t *, cpu_t *); 153 static void cmt_ev_thread_swtch(pg_t *, cpu_t *, hrtime_t, 155 static void cmt_ev_thread_swtch_pwr(pg_t *, cpu_t *, hrtime_t, 157 static void cmt_ev_thread_remain_pwr(pg_t *, cpu_t *, kthread_t *); [all …]
|
/titanic_50/usr/src/uts/sun4u/os/ |
H A D | cmp.c | 95 cpu_t *cpu; in cmp_error_resteer() 144 pg_plat_hw_shared(cpu_t *cp, pghw_type_t hw) in pg_plat_hw_shared() 169 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share() 193 pg_plat_hw_instance_id(cpu_t *cpu, pghw_type_t hw) in pg_plat_hw_instance_id() 268 pg_plat_get_core_id(cpu_t *cp) in pg_plat_get_core_id() 314 cu_plat_cpc_init(cpu_t *cp, kcpc_request_list_t *reqs, int nreqs) in cu_plat_cpc_init()
|
/titanic_50/usr/src/uts/i86pc/io/ |
H A D | cbe.c | 54 static cpu_t *volatile cbe_xcall_cpu; 81 cpu_t *cpu = CPU; in cbe_low_level() 96 cpu_t *cpu = CPU; in cbe_fire() 176 cbe_xcall(void *arg, cpu_t *dest, cyc_func_t func, void *farg) in cbe_xcall() 206 cbe_configure(cpu_t *cpu) in cbe_configure() 215 ASSERT(!CPU_IN_SET(cbe_enabled, ((cpu_t *)arg)->cpu_id)); in cbe_unconfigure() 258 processorid_t me = ((cpu_t *)arg)->cpu_id; in cbe_enable() 277 processorid_t me = ((cpu_t *)arg)->cpu_id; in cbe_disable()
|
H A D | cpudrv_mach.c | 65 cpu_t *cp = cpudsp->cp; in cpudrv_change_speed() 184 cpu_t *cp; in cpudrv_get_topspeed() 212 cpu_t *cp; in cpudrv_notify_handler() 240 cpu_t *cp = cpudsp->cp; in cpudrv_install_notify_handler() 248 cpu_t *cp = cpudsp->cp; in cpudrv_uninstall_notify_handler() 354 cpudrv_power_ready(cpu_t *cp) in cpudrv_power_ready()
|
/titanic_50/usr/src/cmd/mdb/sun4v/modules/errh/ |
H A D | errh.c | 43 cpu_t cpu; in resumable() 86 cpu_t cpu; in nonresumable() 129 cpu_t cpu; in rqueue() 139 if (mdb_vread(&cpu, sizeof (cpu_t), addr) == -1) { in rqueue() 168 cpu_t cpu; in nrqueue() 179 if (mdb_vread(&cpu, sizeof (cpu_t), addr) == -1) { in nrqueue() 215 cpu_t cpu; in rq_walk_init() 223 if (mdb_vread(&cpu, sizeof (cpu_t), wsp->walk_addr) == -1) { in rq_walk_init() 252 cpu_t cpu; in nrq_walk_init() 260 if (mdb_vread(&cpu, sizeof (cpu_t), wsp->walk_addr) == -1) { in nrq_walk_init()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 68 static int ucode_capable_amd(cpu_t *); 69 static int ucode_capable_intel(cpu_t *); 78 static uint32_t ucode_load_amd(ucode_file_t *, cpu_ucode_info_t *, cpu_t *); 79 static uint32_t ucode_load_intel(ucode_file_t *, cpu_ucode_info_t *, cpu_t *); 86 static int ucode_equiv_cpu_amd(cpu_t *, uint16_t *); 88 static ucode_errno_t ucode_locate_amd(cpu_t *, cpu_ucode_info_t *, 90 static ucode_errno_t ucode_locate_intel(cpu_t *, cpu_ucode_info_t *, 144 ucode_alloc_space(cpu_t *cp) in ucode_alloc_space() 153 ucode_free_space(cpu_t *cp) in ucode_free_space() 215 ucode_capable_amd(cpu_t *cp) in ucode_capable_amd() [all …]
|
H A D | mp_machdep.c | 91 static void cpu_wakeup(cpu_t *, int); 94 static void cpu_wakeup_mwait(cpu_t *, int); 96 static int mach_cpu_create_devinfo(cpu_t *cp, dev_info_t **dipp); 107 extern int cpuid_get_coreid(cpu_t *); 108 extern int cpuid_get_chipid(cpu_t *); 165 int (*psm_cpu_create_devinfo)(cpu_t *, dev_info_t **) = mach_cpu_create_devinfo; 166 int (*psm_cpu_get_devinfo)(cpu_t *, dev_info_t **) = NULL; 223 void (*non_deep_idle_disp_enq_thread)(cpu_t *, int); 236 pg_plat_hw_shared(cpu_t *cp, pghw_type_t hw) in pg_plat_hw_shared() 289 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share() [all …]
|