Lines Matching refs:cp
46 init_cpu_info(struct cpu *cp)
48 processor_info_t *pi = &cp->cpu_type_info;
49 int cpuid = cp->cpu_id;
52 cp->cpu_fpowner = NULL; /* not used for V9 */
62 cp->cpu_curr_clock = cpunode->clock_freq;
67 cpu_set_supp_freqs(cp, NULL);
273 populate_idstr(struct cpu *cp)
279 cpunode = &cpunodes[cp->cpu_id];
280 pi = &cp->cpu_type_info;
281 if (cp->cpu_m.cpu_chip == CPU_CHIPID_INVALID) {
288 cpunode->name, cp->cpu_m.cpu_chip, pi->pi_clock);
291 cp->cpu_idstr = kmem_alloc(strlen(buf) + 1, KM_SLEEP);
292 (void) strcpy(cp->cpu_idstr, buf);
294 cp->cpu_brandstr = kmem_alloc(strlen(cpunode->name) + 1, KM_SLEEP);
295 (void) strcpy(cp->cpu_brandstr, cpunode->name);
297 cmn_err(CE_CONT, "?cpu%d: %s\n", cp->cpu_id, cp->cpu_idstr);