Lines Matching refs:cpus
232 for (i = 0; i < block->hdr.cpus; i++) { in fill_diag_mac()
233 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in fill_diag_mac()
235 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
241 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
261 if (!(block->cpus[i].cflag & DIAG204_CPU_ONLINE)) in lpar_cpu_inf()
264 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in lpar_cpu_inf()
267 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
268 weight_cp |= block->cpus[i].cur_weight; in lpar_cpu_inf()
272 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
273 weight_ifl |= block->cpus[i].cur_weight; in lpar_cpu_inf()
282 capped |= block->cpus[i].cflag & DIAG204_CPU_CAPPED; in lpar_cpu_inf()
283 cpu_inf->lpar_cap |= block->cpus[i].cpu_type_cap; in lpar_cpu_inf()
284 cpu_inf->lpar_grp_cap |= block->cpus[i].group_cpu_type_cap; in lpar_cpu_inf()
286 if (block->cpus[i].weight == DED_WEIGHT) in lpar_cpu_inf()
298 return (struct diag204_x_part_block *)&block->cpus[i]; in lpar_cpu_inf()