/illumos-gate/usr/src/uts/sun4u/serengeti/os/ |
H A D | serengeti.c | 223 plat_cpu_poweron(struct cpu *cp) in plat_cpu_poweron() 225 int (*serengeti_cpu_poweron)(struct cpu *) = NULL; in plat_cpu_poweron() 228 (int (*)(struct cpu *))modgetsymvalue("sbdp_cpu_poweron", 0); in plat_cpu_poweron() 238 plat_cpu_poweroff(struct cpu *cp) in plat_cpu_poweroff() 240 int (*serengeti_cpu_poweroff)(struct cpu *) = NULL; in plat_cpu_poweroff() 243 (int (*)(struct cpu *))modgetsymvalue("sbdp_cpu_poweroff", 0); in plat_cpu_poweroff() 1279 if (cpu[i] == NULL || !(cpu[i]->cpu_flags & in cpu_sgn_update()
|
/illumos-gate/usr/src/uts/sun4u/littleneck/os/ |
H A D | littleneck.c | 112 plat_cpu_poweron(struct cpu *cp) in plat_cpu_poweron() 119 plat_cpu_poweroff(struct cpu *cp) in plat_cpu_poweroff()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 1714 trapstat_setup(processorid_t cpu) in trapstat_setup() argument 1716 tstat_percpu_t *tcpu = &tstat_percpu[cpu]; in trapstat_setup() 1743 cp = cpu_get(cpu); in trapstat_setup() 1788 tcpu->tcpu_data->tdata_cpuid = cpu; in trapstat_setup() 1819 cpu * TSTAT_DATA_SIZE; in trapstat_setup() 1824 offset = TSTAT_INSTR_SIZE + cpu * TSTAT_DATA_SIZE; in trapstat_setup() 1860 xc_one(cpu, (xcfunc_t *)trapstat_load_tlb, 0, 0); in trapstat_setup() 1864 trapstat_teardown(processorid_t cpu) in trapstat_teardown() argument 1866 tstat_percpu_t *tcpu = &tstat_percpu[cpu]; in trapstat_teardown() 1885 xt_one(cpu, vtag_flushpage_tl1, (uint64_t)va, in trapstat_teardown() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 212 if ((cpuid >= 0) && cpu[cpuid]) in dr_init_cpu_unit() 213 cp->sbc_cpu_flags = cpu[cpuid]->cpu_flags; in dr_init_cpu_unit() 312 struct cpu *cp; in dr_post_attach_cpu() 362 struct cpu *cp; in dr_pre_release_cpu() 491 struct cpu *cp; in dr_pre_detach_cpu() 816 struct cpu *cp; in dr_cancel_cpu() 825 cp = cpu[up->sbc_cpu_id]; in dr_cancel_cpu()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 255 if ((cpuid >= 0) && cpu[cpuid]) in dr_init_cpu_unit() 256 cp->sbc_cpu_flags = cpu[cpuid]->cpu_flags; in dr_init_cpu_unit() 368 struct cpu *cp; in dr_post_attach_cpu() 418 struct cpu *cp; in dr_pre_release_cpu() 546 struct cpu *cp; in dr_pre_detach_cpu() 867 struct cpu *cp; in dr_cancel_cpu() 876 cp = cpu[up->sbc_cpu_id]; in dr_cancel_cpu()
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic.c | 154 cpu_map_exec_units(struct cpu *cp) in cpu_map_exec_units() 190 cpu_init_private(struct cpu *cp) in cpu_init_private() 197 cpu_uninit_private(struct cpu *cp) in cpu_uninit_private()
|
/illumos-gate/usr/src/uts/sun4u/taco/os/ |
H A D | taco.c | 174 plat_cpu_poweron(struct cpu *cp) in plat_cpu_poweron() 181 plat_cpu_poweroff(struct cpu *cp) in plat_cpu_poweroff()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 1297 struct cpu_info *cpu; in jtag_get_board_info() local 1336 for (i = 0, cpu = &sc->bd.cpu[i]; i < 2; i++, cpu++) { in jtag_get_board_info() 1337 bzero(cpu, sizeof (*cpu)); in jtag_get_board_info() 1351 cpu->cpu_detected = 1; in jtag_get_board_info() 1356 cpu->cpu_detected = 1; in jtag_get_board_info() 1365 if (!cpu->cpu_detected) in jtag_get_board_info() 1371 cpu->cpu_compid = in jtag_get_board_info() 1382 cpu->ec_compid = in jtag_get_board_info() 1388 cpu->sdb0_compid = in jtag_get_board_info() 1394 cpu->sdb1_compid = in jtag_get_board_info() [all …]
|
H A D | fhc_bd.c | 863 sc->bd.cpu[i].cpu_speed = 0; in set_cpu_info() 864 sc->bd.cpu[i].cpu_sram_mode = 0; in set_cpu_info() 866 if (!sc->bd.cpu[i].cpu_detected) in set_cpu_info() 872 switch (sc->bd.cpu[i].cpu_compid & CID_REV_MASK) { in set_cpu_info() 883 sc->bd.cpu[i].cpu_speed = -1; in set_cpu_info() 887 sc->bd.cpu[i].cpu_speed = table[speed_pins].cpu_freq; in set_cpu_info() 888 sc->bd.cpu[i].cpu_sram_mode = table[speed_pins].sram_mode; in set_cpu_info()
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | platform_module.h | 62 extern int plat_cpu_poweron(struct cpu *cp); /* power on CPU */ 63 extern int plat_cpu_poweroff(struct cpu *cp); /* power off CPU */
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 882 sbdp_stop_cpu(processorid_t cpu) in sbdp_stop_cpu() argument 893 sbdp_init_msg_pkt(reqp, DR_MBOX_STOP_CPU, len, (caddr_t)&cpu); in sbdp_stop_cpu() 907 sbdp_start_cpu(processorid_t cpu) in sbdp_start_cpu() argument 917 len = sizeof (cpu); in sbdp_start_cpu() 918 sbdp_init_msg_pkt(reqp, DR_MBOX_START_CPU, len, (caddr_t)&cpu); in sbdp_start_cpu() 936 sbdp_start_cpu_pairs(processorid_t cpu) in sbdp_start_cpu_pairs() argument 946 len = sizeof (cpu); in sbdp_start_cpu_pairs() 947 sbdp_init_msg_pkt(reqp, DR_MBOX_START_CPU_PAIRS, len, (caddr_t)&cpu); in sbdp_start_cpu_pairs()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_squeue.c | 419 cpu_t *cpu; in ip_squeue_cpu_move() local 427 cpu = cpu_get(cpuid); in ip_squeue_cpu_move() 428 if (!CPU_ISON(cpu)) in ip_squeue_cpu_move() 432 set = cpu->cpu_squeue_set; in ip_squeue_cpu_move() 689 ip_squeue_set_destroy(cpu_t *cpu) in ip_squeue_set_destroy() argument 696 if ((sqs = cpu->cpu_squeue_set) == NULL) { in ip_squeue_set_destroy()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pg.c | 361 cpu_t *cpu; in pg_cpu_next() local 364 cpu = group_iterate(&pg->pg_cpus, &itr->position); in pg_cpu_next() 365 return (cpu); in pg_cpu_next() 795 pg_ev_thread_swtch(struct cpu *cp, hrtime_t now, kthread_t *old, kthread_t *new) in pg_ev_thread_swtch() 816 pg_ev_thread_remain(struct cpu *cp, kthread_t *t) in pg_ev_thread_remain()
|
/illumos-gate/usr/src/tools/quick/ |
H A D | make-zfs | 28 cpu=`uname -p` 29 case $cpu in 118 (cd $SRC/lib/libzpool/$cpu && $make ../common/zfs.h) 214 (cd $SRC/cmd/devfsadm/$cpu && $make SUNW_zfs_link.so \
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 995 Prom_node *cpu; in display_cpus() local 1012 for (cpu = dev_find_type(board->nodes, "cpu"); cpu != NULL; in display_cpus() 1013 cpu = dev_next_type(cpu, "cpu")) { in display_cpus() 1017 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus() 1019 mid = (int *)get_prop_val(find_prop(cpu, "cpuid")); in display_cpus() 1020 freq = SG_CLK_FREQ_TO_MHZ(get_cpu_freq(cpu)); in display_cpus() 1021 ecache_size = get_ecache_size(cpu); in display_cpus() 1022 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); in display_cpus() 1023 mask = (int *)get_prop_val(find_prop(cpu, "mask#")); in display_cpus() 1026 if ((impl == NULL) || (freq == 0) || (node_failed(cpu))) in display_cpus() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 1566 coargs.cpu = (cpu_t *)Ctmp; in callout() 3027 cpu_t cpu, panic_cpu; in cpu_walk_init() local 3073 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in cpu_walk_init() 3095 cpu_t cpu; in cpu_walk_step() local 3101 if (mdb_vread(&cpu, sizeof (cpu), addr) == -1) { in cpu_walk_step() 3222 bspl = cpu->cpu_base_spl; in cpuinfo_walk_cpu() 3230 cpu->cpu_id, CPUINFO_CPUWIDTH, addr, cpu->cpu_flags, in cpuinfo_walk_cpu() 3242 if (cpu->cpu_last_swtch) { in cpuinfo_walk_cpu() 3251 if (cpu->cpu_thread == cpu->cpu_idle_thread) in cpuinfo_walk_cpu() 3478 cpu_t cpu; in cpuinfo() local [all …]
|
/illumos-gate/usr/src/uts/sun4u/cherrystone/ml/ |
H A D | cherrystone_asm.S | 53 ! Load the safari address for a specific cpu 77 ! Load the mc_decode reg for this cpu.
|
/illumos-gate/usr/src/uts/sun4u/daktari/ml/ |
H A D | daktari_asm.S | 47 ! Load the safari address for a specific cpu 71 ! Load the mc_decode reg for this cpu.
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcms.c | 228 ulong_t cpu; in tdofile() local 259 cpu = expand(acct.oab.ac_stime)+ in tdofile() 261 cmt.tcm_cpu = MINT(cpu); in tdofile() 276 cpu = expand(acct.oab.ac_stime)+ in tdofile() 278 cmt.tcm_cpu = MINT(cpu); in tdofile() 306 ulong_t cpu; in dofile() local 359 cpu = expand(acct.oab.ac_stime)+ in dofile() 361 dtmp = MINT(cpu); in dofile() 407 cpu = expand(acct.ab.ac_stime)+ in dofile() 409 dtmp = MINT(cpu); in dofile()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | envmodel.info | 41 #define ENV_CPU_FAN cpu-fan 46 #define SENSOR_CPU_DIE cpu 97 _class:/jbus/cpu?ID=0
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | mach_mp_startup.c | 44 init_cpu_info(struct cpu *cp) in init_cpu_info() 177 populate_idstr(struct cpu *cp) in populate_idstr()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | SystemSolver.java | 526 Component cpu = (Component) itProcessor. in solve() local 540 donor, receiver, cpu)); in solve() 881 Component cpu = (Component) it.next(); in getProcessors() local 884 if (cpu.getBoolProperty("cpu.pinned") == false) in getProcessors() 885 ret.add(cpu); in getProcessors() 888 ret.add(cpu); in getProcessors()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_ib.c | 353 if (cpu[orig_cpuid] == NULL) in px_ib_intr_redist() 367 cpu[ino_p->ino_default_cpuid] && in px_ib_intr_redist() 368 cpu_intr_on(cpu[ino_p->ino_default_cpuid])) in px_ib_intr_redist() 370 else if (!cpu_intr_on(cpu[ino_p->ino_cpuid])) in px_ib_intr_redist() 877 extern cpu_t *cpu[]; in px_ib_set_intr_target() 898 if ((cpu_id < _ncpu) && (cpu[cpu_id] && cpu_is_online(cpu[cpu_id]))) { in px_ib_set_intr_target() 938 extern cpu_t *cpu[]; in px_ib_set_msix_target() 984 if (!((cpu_id < _ncpu) && (cpu[cpu_id] && in px_ib_set_msix_target() 985 cpu_is_online(cpu[cpu_id])))) { in px_ib_set_msix_target()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 193 <TSTATE>dedicated-cpu { return PSET; } 195 <TSTATE>capped-cpu { return PCAP; } 277 <TSTATE>cpu-shares { return SHARES; } 278 <CSTATE>cpu-shares { return SHARES; }
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | memscrub.c | 436 if (!cpu[cpu_id]) in system_is_idle() 441 if (cpu[cpu_id]->cpu_thread != cpu[cpu_id]->cpu_idle_thread) { in system_is_idle()
|