| /illumos-gate/usr/src/lib/libprtdiag/common/ |
| H A D | cpu.c | 159 int ecache_size; /* External cache size */ local 170 ecache_size = get_ecache_size(cpu); 189 if (ecache_size == 0) 193 (float)ecache_size / (float)(1<<20),
|
| /illumos-gate/usr/src/uts/sun4u/sys/ |
| H A D | machsystm.h | 261 extern int ecache_size; /* Maximum ecache size */ 343 extern void scrubphys(uint64_t paddr, int ecache_size); 344 extern void clearphys(uint64_t paddr, int ecache_size, int ecache_linesize); 345 extern void flushecacheline(uint64_t paddr, int ecache_size);
|
| H A D | machcpuvar.h | 189 int ecache_size; member in struct:cpu_node
|
| /illumos-gate/usr/src/uts/sun4u/cpu/ |
| H A D | us3_cheetah_asm.s | 64 #define ECACHE_REFLUSH_LINE(ecache_size, alias_address, scr2) \ 67 #define ECACHE_FLUSH_LINE(physaddr, ecache_size, scr1, scr2) \ 68 xor physaddr, ecache_size, scr1; \ 69 add ecache_size, ecache_size, scr2; \ 74 ECACHE_REFLUSH_LINE(ecache_size, scr1, scr2)
|
| H A D | us3_cheetah.c | 123 "ecache-size", &ecache_size, CH_ECACHE_MAX_SIZE, 131 ecache_setsize = ecache_size / ecache_associativity; 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 D | opl_olympus.c | 268 "l2-cache-size", &ecache_size, OPL_ECACHE_SIZE, 276 ecache_setsize = ecache_size / ecache_associativity; 543 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size); 1351 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size, 1598 adjust_hw_copy_limits(int ecache_size) argument 1661 min_ecache_size = ecache_size; 1669 if (ecache_size == min_ecache_size) { 1683 if ((ecache_size > 1048576) && 1685 if (ecache_size <= 2097152) 1688 else if (ecache_size < [all...] |
| H A D | us3_jalapeno.c | 157 "ecache-size", &ecache_size, JP_ECACHE_MAX_SIZE, 165 ecache_setsize = ecache_size / ecache_associativity; 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 D | us3_cheetahplus.c | 122 ecache_size = CH_ECACHE_MAX_SIZE; 130 ASSERT(ecache_setsize >= (ecache_size / ecache_associativity)); 152 ecache_size = PN_L3_SIZE; 156 ASSERT(ecache_setsize >= (ecache_size / ecache_associativity)); 869 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size / 872 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size);
|
| H A D | spitfire.c | 565 "ecache-size", &ecache_size, 578 ecache_setsize = ecache_size / ecache_associativity; 607 if (ecache_size <= 524288) { 611 } else if (ecache_size == 1048576) { 615 } else if (ecache_size == 2097152) { 619 } else if (ecache_size == 4194304) { 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 * [all...] |
| H A D | us3_common.c | 2886 totalsize = cpunodes[CPU->cpu_id].ecache_size; 3806 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size, 3824 return (cpunodes[cp->cpu_id].ecache_size / cpu_ecache_nway()); 3878 int totalsize = cpunodes[CPU->cpu_id].ecache_size; 3923 totalsize = cpunodes[CPU->cpu_id].ecache_size; 5810 csmp->chsm_ecache_nlines = cpunodes[cpuid].ecache_size / 6817 adjust_hw_copy_limits(int ecache_size) argument 6880 min_ecache_size = ecache_size; 6888 if (ecache_size == min_ecache_size) { 6902 if ((ecache_size > 104857 [all...] |
| /illumos-gate/usr/src/uts/sun4u/os/ |
| H A D | mach_startup.c | 528 flush_size = ecache_size * 2; 530 ret_val = P2ROUNDUP(pmem->ml_address, ecache_size); 553 "ecache_flush_address(): failed, ecache_size=%x", 554 ecache_size);
|
| H A D | fillsysinfo.c | 556 cpunode->ecache_size = size; 576 cpunode->ecache_size = size; 605 cpunode->ecache_size / cpunode->ecache_associativity; 768 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, 770 if (cpunode->ecache_size == 0) 771 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, 773 ASSERT(cpunode->ecache_size != 0); 789 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, 791 ASSERT(cpunode->ecache_size != 0); 815 cpunode->ecache_size / cpunod [all...] |
| /illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
| H A D | cherrystone.c | 119 int ecache_size; local 142 ecache_size = get_ecache_size(cpu); 163 ecache_size_prev = ecache_size; 179 ecache_size += ecache_size_prev; 197 if (ecache_size == 0) 201 (float)ecache_size / (float)(1<<20));
|
| /illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
| H A D | starcat.c | 778 int ecache_size; /* External cache size */ local 796 ecache_size = get_ecache_size(cpu); 821 ecache_size_prev = ecache_size; 833 ecache_size += ecache_size_prev; 862 if (ecache_size == 0) 866 (float)ecache_size / (float)(1<<20),
|
| /illumos-gate/usr/src/uts/sun4v/cpu/ |
| H A D | generic.c | 123 if (cpunode->ecache_size == 0) 124 cpunode->ecache_size = 0x100000;
|
| H A D | niagara.c | 164 if (cpunode->ecache_size == 0) 165 cpunode->ecache_size = MB(3);
|
| H A D | niagara2.c | 191 if (cpunode->ecache_size == 0) 192 cpunode->ecache_size = L2CACHE_SIZE;
|
| /illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
| H A D | littleneck.c | 166 int ecache_size; /* External cache size */ local 173 ecache_size = get_ecache_size(cpu); 202 if (ecache_size == 0) 206 (float)ecache_size / (float)(1<<20));
|
| /illumos-gate/usr/src/uts/sun4v/sys/ |
| H A D | machcpuvar.h | 230 int ecache_size; member in struct:cpu_node
|
| /illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
| H A D | dr_cpu.c | 138 int ecache_size = 0; local 204 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, 208 ASSERT(ecache_size != 0); 212 cp->sbc_ecache = ecache_size / (1024 * 1024);
|
| /illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
| H A D | daktari.c | 319 int ecache_size; /* External cache size */ local 341 ecache_size = get_ecache_size(cpu); 364 ecache_size_prev = ecache_size; 380 ecache_size += ecache_size_prev; 399 if (ecache_size == 0) 404 (float)ecache_size / (float)(1<<20));
|
| /illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
| H A D | serengeti.c | 1000 int ecache_size; /* External cache size */ local 1024 ecache_size = get_ecache_size(cpu); 1071 ecache_size_prev = ecache_size; 1087 ecache_size += ecache_size_prev; 1095 ecache_size_prev = ecache_size; 1128 if (ecache_size == 0) 1132 (float)ecache_size / (float)(1<<20),
|
| /illumos-gate/usr/src/uts/sun4u/io/ |
| H A D | gptwo_cpu.c | 466 int ecache_size, ecache_line_size; local 568 ecache_size = pcd->spcd_cache * 0x100000; 571 "ecache-size", ecache_size) != DDI_SUCCESS) { 577 switch (ecache_size) { 589 "ecache-size 0x%x\b", ecache_size);
|
| H A D | sbd_cpu.c | 78 int ecache_size = 0; local 111 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 119 ASSERT(ecache_size != 0); 123 cp->sbc_ecache = ecache_size / (1024 * 1024);
|
| /illumos-gate/usr/src/uts/i86pc/io/dr/ |
| H A D | dr_cpu.c | 112 int ecache_size = 0; local 152 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, 158 cp->sbc_ecache = ecache_size / (1024 * 1024);
|