Lines Matching defs:cs_stat
100 static uint64_t print_opl_memory_line(int lsb, struct cs_status *cs_stat,
444 struct cs_status *cs_stat;
458 cs_stat = (struct cs_status *)get_prop_val
488 if (cs_stat != NULL) {
491 cs_stat, ngrps, mode);
571 print_opl_memory_line(int lsb, struct cs_status *cs_stat, int ngrps,
587 * cs_stat[0].dimms/i_factor represents interleave factor per
588 * pseudo-mc node. Must use cs_stat[0].dimms since this will yield
592 * (i.e. cs_stat[1]).
595 * interleave factor = (# of DIMMs on cs_stat[0]/4)
598 * interleave factor = (# of DIMMs on cs_stat[0]/2)
601 if (cs_stat[0].dimms == 0)
602 interleave = cs_stat[1].dimms/i_factor;
604 interleave = cs_stat[0].dimms/i_factor;
610 mem_size = ((((uint64_t)cs_stat[i].avail_hi)<<32) +
611 cs_stat[i].avail_lo);
620 if ((cs_stat[i].cs_number) == 0)
632 cs_stat[i].status ? "partial": "okay", 0);
636 ((((uint64_t)cs_stat[i].dimm_hi)<<32)
637 + cs_stat[i].dimm_lo)/MBYTE, 0);
640 log_printf(" %2d", cs_stat[i].dimms);