Lines Matching refs:bdp
64 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep)
89 bdp = &sys_kstat->bd_ksp_list[board];
105 bdp->fhc_kstats_ok = 1;
113 bdp->fhc_csr = knp->value.ul;
115 bdp->fhc_kstats_ok = 0;
119 bdp->fhc_bsr = knp->value.ul;
121 bdp->fhc_kstats_ok = 0;
139 bdp->ac_kstats_ok = 1;
140 bdp->ac_memstat_ok = 1;
149 bdp->ac_memctl = knp->value.ull;
151 bdp->ac_kstats_ok = 0;
156 bdp->ac_memdecode[0] = knp->value.ull;
158 bdp->ac_kstats_ok = 0;
163 bdp->ac_memdecode[1] = knp->value.ull;
165 bdp->ac_kstats_ok = 0;
170 bdp->mem_stat[0].status = knp->value.c[0];
171 bdp->mem_stat[0].condition = knp->value.c[1];
173 bdp->ac_memstat_ok = 0;
178 bdp->mem_stat[1].status = knp->value.c[0];
179 bdp->mem_stat[1].condition = knp->value.c[1];
181 bdp->ac_memstat_ok = 0;
191 bdp->simmstat_kstats_ok = 0;
193 bdp->simmstat_kstats_ok = 1;
194 (void) memcpy(&bdp->simm_status, ksp->ks_data,
195 sizeof (bdp->simm_status));
204 bdp->temp_kstat_ok = 0;
206 bdp->temp_kstat_ok = 1;
207 (void) memcpy(&bdp->tempstat, ksp->ks_data,
208 sizeof (bdp->tempstat));
210 if (sizeof (bdp->tempstat) > ksp->ks_data_size)
211 bdp->tempstat.trend = TREND_UNKNOWN;
395 struct bd_kstat_data *bdp;
412 bdp = &sys_kstat->bd_ksp_list[i];
413 bdp->ac_kstats_ok = 0;
414 bdp->fhc_kstats_ok = 0;
415 bdp->simmstat_kstats_ok = 0;
416 bdp->temp_kstat_ok = 0;
427 read_platform_kstats(tree, sys_kstat, bdp, ep);