Lines Matching refs:pip
486 mdi_pathinfo_t *pip; in tphci_bus_config() local
512 rval = mdi_pi_alloc(parent, cname, guid, paddr, 0, &pip); in tphci_bus_config()
524 mdi_hold_path(pip); in tphci_bus_config()
526 rval = mdi_pi_online(pip, 0); in tphci_bus_config()
528 mdi_rele_path(pip); in tphci_bus_config()
532 (void) mdi_pi_free(pip, 0); in tphci_bus_config()
538 *childp = mdi_pi_get_client(pip); in tphci_bus_config()
552 mdi_pathinfo_t *pip, *next; in tphci_bus_unconfig() local
563 pip = mdi_pi_find(parent, NULL, caddr); in tphci_bus_unconfig()
564 if (pip) { in tphci_bus_unconfig()
565 mdi_hold_path(pip); in tphci_bus_unconfig()
567 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig()
569 mdi_rele_path(pip); in tphci_bus_unconfig()
572 (void) mdi_pi_free(pip, 0); in tphci_bus_unconfig()
583 while ((pip = next) != NULL) { in tphci_bus_unconfig()
584 next = mdi_get_next_client_path(parent, pip); in tphci_bus_unconfig()
586 mdi_hold_path(pip); in tphci_bus_unconfig()
588 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig()
590 mdi_rele_path(pip); in tphci_bus_unconfig()
594 (void) mdi_pi_free(pip, 0); in tphci_bus_unconfig()