Searched refs:cpunodes (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dsg_unum.c91 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation) ||
92 IS_JAGUAR(cpunodes[CPU->cpu_id].implementation))
/illumos-gate/usr/src/uts/sun4u/os/
H A Dcmp.c56 chipid = cpunodes[cpuid].portid;
79 chipid = cpunodes[cpuid].portid;
103 chipid = cpunodes[cpuid].portid;
139 return (cpunodes[cpuid].portid);
148 impl = cpunodes[cp->cpu_id].implementation;
173 impl = cpunodes[cpu_a->cpu_id].implementation;
197 impl = cpunodes[cpu->cpu_id].implementation;
H A Dfillsysinfo.c100 struct cpu_node cpunodes[NCPU]; variable in typeref:struct:cpu_node
469 cpunode = &cpunodes[cpuid];
693 cpunode = &cpunodes[cpuid];
825 bzero(&cpunodes[cpuid], sizeof (struct cpu_node));
853 ASSERT(cpunodes[cpuid].nodeid != 0);
855 impl = cpunodes[cpuid].implementation;
869 if (cpunodes[i].nodeid == 0)
873 if (cpunodes[i].version < min_supported_rev) {
886 if (cpunodes[i].version < 0x22) {
903 if (cpunodes[
[all...]
H A Dmach_mp_startup.c45 struct cpu_node *cpunode = &cpunodes[cpuid];
50 * Get clock-frequency property from cpunodes[] for the CPU.
163 * Note: uses cpu_lock to protect cpunodes and ncpunodes
184 cpunode = &cpunodes[cp->cpu_id];
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dmach_subr_asm.s197 sethi %hi(cpunodes), %o4
198 or %o4, %lo(cpunodes), %o4 ! %o4 = &cpunodes
202 ! o2 = byte offset into cpunodes for tick_nsec_scale of this CPU
203 ! o4 = &cpunodes
205 mulx %o1, CPU_NODE_SIZE, %o2 ! %o2 = byte offset into cpunodes
207 ld [%o4 + %o2], %o2 ! %o2 = cpunodes[cpuid].tick_nsec_scale
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_cheetahplus.c419 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation))
817 if (!(IS_CHEETAH_PLUS(cpunodes[cp->cpu_id].implementation) ||
818 IS_JAGUAR(cpunodes[cp->cpu_id].implementation) ||
819 IS_PANTHER(cpunodes[cp->cpu_id].implementation))) {
845 if (IS_PANTHER(cpunodes[cp->cpu_id].implementation)) {
860 if (IS_PANTHER(cpunodes[cp->cpu_id].implementation)) {
869 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size /
872 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size);
886 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
903 if (!IS_PANTHER(cpunodes[afl
[all...]
H A Dus3_jalapeno.c826 if (!IS_SERRANO(cpunodes[cp->cpu_id].implementation)) {
829 cpunodes[cp->cpu_id].implementation);
832 if (!IS_JALAPENO(cpunodes[cp->cpu_id].implementation)) {
835 cpunodes[cp->cpu_id].implementation);
863 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size /
866 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size);
H A Dus3_common.c1423 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
2139 IS_JALAPENO(cpunodes[CPU->cpu_id].implementation)) {
2187 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
2214 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
2238 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
2296 if (IS_PANTHER(cpunodes[aflt->flt_inst].implementation))
2311 if (IS_PANTHER(cpunodes[aflt->flt_inst].implementation))
2586 if (IS_PANTHER(cpunodes[cpuid].implementation))
2877 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation)) {
2886 totalsize = cpunodes[CP
[all...]
H A Dus3_cheetah.c612 if (!IS_CHEETAH(cpunodes[cp->cpu_id].implementation)) {
641 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size /
644 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size);
H A Dspitfire.c659 sys_tick_freq = cpunodes[CPU->cpu_id].clock_freq;
757 * too early in the boot flow and the cpunodes are not initialized.
758 * This routine will be called once after cpunodes[] is ready, so do
761 if (cpunodes[CPU->cpu_id].implementation == SABRE_IMPL) {
780 } else if (cpunodes[CPU->cpu_id].implementation == HUMMBRD_IMPL) {
1025 cpunodes[CPU->cpu_id].ecache_size);
1456 ec_set_size = cpunodes[CPU->cpu_id].ecache_size /
1511 cpunodes[CPU->cpu_id].ecache_size);
1755 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size * 2,
1756 cpunodes[CP
[all...]
H A Dopl_olympus.c536 if (!((IS_OLYMPUS_C(cpunodes[cp->cpu_id].implementation)) ||
537 (IS_JUPITER(cpunodes[cp->cpu_id].implementation)))) {
540 cpunodes[cp->cpu_id].implementation);
543 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size);
1351 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size,
1352 cpunodes[CPU->cpu_id].ecache_linesize);
1419 (u_longlong_t)cpunodes[opl_flt->flt_eid_sid].device_id);
1422 (uint8_t *)&cpunodes[opl_flt->flt_eid_sid].version, sbuf);
1528 switch (cpunodes[aflt->flt_inst].implementation) {
1540 (u_longlong_t)cpunodes[afl
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c50 struct cpu_node *cpunode = &cpunodes[cpuid];
55 * Get clock-frequency property from cpunodes[] for the CPU.
221 * Note: uses cpu_lock to protect cpunodes
279 cpunode = &cpunodes[cp->cpu_id];
H A Dmpo.c308 mde_cookie_t rootnode, foundnode, *cpunodes; local
320 "fwd", &cpunodes);
325 if (md_get_prop_val(md, cpunodes[i], PROP_LG_CPU_ID,
329 foundnode = cpunodes[i];
330 md_free_scan_dag(md, &cpunodes);
336 md_free_scan_dag(md, &cpunodes);
565 mde_cookie_t root, *cpunodes, *mblocknodes; local
615 n_cpunodes = md_alloc_scan_dag(md, root, PROP_LG_CPU, "fwd", &cpunodes);
715 result = get_int(md, cpunodes[i], PROP_LG_CPU_ID, &k);
722 o = mpo_cpu_to_lgroup(md, cpunodes[
[all...]
H A Dmach_mp_states.c121 cpu_stop_time_limit = cpunodes[CPU->cpu_id].clock_freq;
H A Dfillsysinfo.c54 struct cpu_node cpunodes[NCPU]; variable in typeref:struct:cpu_node
127 cpunode = &cpunodes[cpuid];
210 bzero(&cpunodes[cpuid], sizeof (struct cpu_node));
261 cpunodes[cpuid].l2_cache_mapping = idx;
348 cpunodes[cpuid].exec_unit_mapping = idx;
351 cpunodes[cpuid].fpu_mapping = idx;
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric.c163 cp->cpu_m.cpu_ipipe = cpunodes[cp->cpu_id].exec_unit_mapping;
167 cp->cpu_m.cpu_fpu = cpunodes[cp->cpu_id].fpu_mapping;
177 cp->cpu_m.cpu_mpipe = cpunodes[cp->cpu_id].l2_cache_mapping;
H A Dniagara2.c209 cp->cpu_m.cpu_ipipe = cpunodes[cp->cpu_id].exec_unit_mapping;
213 cp->cpu_m.cpu_fpu = cpunodes[cp->cpu_id].fpu_mapping;
228 cp->cpu_m.cpu_mpipe = cpunodes[cp->cpu_id].l2_cache_mapping;
232 cp->cpu_m.cpu_chip = cpunodes[cp->cpu_id].l2_cache_mapping;
H A Dniagara.c182 cp->cpu_m.cpu_ipipe = cpunodes[cp->cpu_id].exec_unit_mapping;
186 cp->cpu_m.cpu_fpu = cpunodes[cp->cpu_id].fpu_mapping;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachcpuvar.h199 extern struct cpu_node cpunodes[];
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodstarcat.c262 return (cpunodes[CPU->cpu_id].clock_freq);
H A Dtodstarfire.c195 return (cpunodes[CPU->cpu_id].clock_freq);
H A Dtodsg.c526 cpunodes[CPU->cpu_id].clock_freq/1000000);
528 return (cpunodes[CPU->cpu_id].clock_freq);
H A Dtodopl.c320 return (cpunodes[CPU->cpu_id].clock_freq);
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c299 nodeid = cpunodes[cpuid].nodeid;
378 nodeid = cpunodes[cpuid].nodeid;
677 sht.size = (uint32_t)cpunodes[cpuid].ecache_size << 1;
678 sht.linesize = (uint32_t)cpunodes[cpuid].ecache_linesize;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachcpuvar.h241 extern struct cpu_node cpunodes[];

Completed in 91 milliseconds

123