Lines Matching refs:phbc
8447 mdi_phci_bus_config_t *phbc = (mdi_phci_bus_config_t *)arg; in bus_config_phci() local
8448 mdi_vhci_bus_config_t *vhbc = phbc->phbc_vhbusconfig; in bus_config_phci()
8455 if ((ph_dip = e_ddi_hold_devi_by_path(phbc->phbc_phci_path, 0)) in bus_config_phci()
8470 kmem_free(phbc->phbc_phci_path, strlen(phbc->phbc_phci_path) + 1); in bus_config_phci()
8471 kmem_free(phbc, sizeof (*phbc)); in bus_config_phci()
8488 mdi_phci_bus_config_t *phbc_head = NULL, *phbc, *phbc_next; in bus_config_all_phcis() local
8505 phbc = kmem_zalloc(sizeof (*phbc), KM_SLEEP); in bus_config_all_phcis()
8506 phbc->phbc_phci_path = i_ddi_strdup(cphci->cphci_path, in bus_config_all_phcis()
8508 phbc->phbc_vhbusconfig = vhbc; in bus_config_all_phcis()
8509 phbc->phbc_next = phbc_head; in bus_config_all_phcis()
8510 phbc_head = phbc; in bus_config_all_phcis()
8523 for (phbc = phbc_head; phbc != NULL; phbc = phbc_next) { in bus_config_all_phcis()
8524 phbc_next = phbc->phbc_next; in bus_config_all_phcis()
8526 bus_config_phci((void *)phbc); in bus_config_all_phcis()
8528 (void) thread_create(NULL, 0, bus_config_phci, phbc, in bus_config_all_phcis()