Searched refs:cfga_listp (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/pcidr/plugins/default/ |
H A D | pcidr_plugin.c | 54 cfga_list_data_t *cfga_listp = NULL; in PCIDR_PLUGIN_PROTO() local 71 rv = config_list_ext(1, &dr.dr_ap_id, &cfga_listp, &cfga_list_len, in PCIDR_PLUGIN_PROTO() 104 pcidr_print_cfga(DINFO, &cfga_listp[0], " .. "); in PCIDR_PLUGIN_PROTO() 105 apid = cfga_listp[0].ap_phys_id; in PCIDR_PLUGIN_PROTO() 111 rv = pcidr_cfga_do_cmd(cmd, &cfga_listp[0]); in PCIDR_PLUGIN_PROTO() 125 rv = pcidr_cfga_do_cmd(cmd, &cfga_listp[0]); in PCIDR_PLUGIN_PROTO() 141 if (cfga_listp != NULL) in PCIDR_PLUGIN_PROTO() 142 free(cfga_listp); in PCIDR_PLUGIN_PROTO()
|
H A D | pcidr_cfga.c | 229 pcidr_cfga_do_cmd(cfga_cmd_t cmd, cfga_list_data_t *cfga_listp) in pcidr_cfga_do_cmd() argument 245 apid = cfga_listp->ap_phys_id; in pcidr_cfga_do_cmd() 254 if (cfga_listp->ap_busy != 0) { in pcidr_cfga_do_cmd() 256 fn, cfga_listp->ap_phys_id); in pcidr_cfga_do_cmd() 267 if (cfga_listp->ap_o_state < CFGA_STAT_CONNECTED) { in pcidr_cfga_do_cmd() 271 if (cfga_listp->ap_o_state < CFGA_STAT_CONFIGURED) { in pcidr_cfga_do_cmd() 275 if (cfga_listp->ap_o_state >= CFGA_STAT_CONFIGURED) in pcidr_cfga_do_cmd() 279 if (cfga_listp->ap_o_state >= CFGA_STAT_CONFIGURED) { in pcidr_cfga_do_cmd() 283 if (cfga_listp->ap_o_state >= CFGA_STAT_CONNECTED) { in pcidr_cfga_do_cmd() 287 if (cfga_listp->ap_r_state <= CFGA_STAT_DISCONNECTED) in pcidr_cfga_do_cmd()
|