Lines Matching defs:cs
1165 cfga_stat_t cs;
1169 cs = CFGA_STAT_EMPTY;
1172 cs = CFGA_STAT_DISCONNECTED;
1175 cs = CFGA_STAT_CONNECTED;
1178 cs = CFGA_STAT_NONE;
1182 return (cs);
1188 cfga_stat_t cs;
1192 cs = CFGA_STAT_UNCONFIGURED;
1195 cs = CFGA_STAT_CONFIGURED;
1198 cs = CFGA_STAT_NONE;
1202 return (cs);
1332 sysc_cvt(sysc_cfga_stat_t *sc, cfga_stat_data_t *cs, int disabled)
1334 (void) strcpy(cs->ap_type, type_str(sc->type));
1335 cs->ap_r_state = rstate_cvt(sc->rstate);
1336 cs->ap_o_state = ostate_cvt(sc->ostate);
1337 cs->ap_cond = cond_cvt(sc->condition);
1338 cs->ap_busy = (cfga_busy_t)sc->in_transition;
1339 cs->ap_status_time = sc->last_change;
1340 info_set(sc, cs->ap_info, disabled);
1341 cs->ap_log_id[0] = NULL;
1342 cs->ap_phys_id[0] = NULL;
1357 cfga_stat_data_t *cs;
1368 else if (!(cs = (cfga_stat_data_t *)malloc(MAX_BOARDS * sizeof (*cs))))
1371 *ap_list = cs;
1376 sysc_cvt(sc, cs++, 0); /* XXX - disable */
1390 struct cfga_stat_data *cs,
1424 sysc_cvt(sc + idx, cs, disabled);