Lines Matching refs:cdip
805 dev_info_t *cdip; in pci_child_cfg_save() local
813 for (cdip = ddi_get_child(dip); cdip != NULL; in pci_child_cfg_save()
814 cdip = ddi_get_next_sibling(cdip)) { in pci_child_cfg_save()
820 if (i_ddi_node_state(cdip) < DS_INITIALIZED) { in pci_child_cfg_save()
822 "%s%d not in CF1\n", ddi_driver_name(cdip), in pci_child_cfg_save()
823 ddi_get_instance(cdip)); in pci_child_cfg_save()
831 if (ddi_prop_exists(DDI_DEV_T_ANY, cdip, DDI_PROP_DONTPASS, in pci_child_cfg_save()
841 ret = ndi_prop_create_boolean(DDI_DEV_T_NONE, cdip, in pci_child_cfg_save()
846 ddi_driver_name(cdip), ddi_get_instance(cdip), in pci_child_cfg_save()
850 (void) pci_save_config_regs(cdip); in pci_child_cfg_save()
857 dev_info_t *cdip; in pci_child_cfg_restore() local
865 for (cdip = ddi_get_child(dip); cdip != NULL; in pci_child_cfg_restore()
866 cdip = ddi_get_next_sibling(cdip)) { in pci_child_cfg_restore()
872 if (i_ddi_node_state(cdip) < DS_INITIALIZED) { in pci_child_cfg_restore()
875 ddi_driver_name(cdip), ddi_get_instance(cdip)); in pci_child_cfg_restore()
882 if (ddi_prop_exists(DDI_DEV_T_ANY, cdip, DDI_PROP_DONTPASS, in pci_child_cfg_restore()
884 (void) pci_restore_config_regs(cdip); in pci_child_cfg_restore()
888 ddi_driver_name(cdip), ddi_get_instance(cdip)); in pci_child_cfg_restore()
890 if (ndi_prop_remove(DDI_DEV_T_NONE, cdip, in pci_child_cfg_restore()
893 ddi_driver_name(cdip), in pci_child_cfg_restore()
894 ddi_get_instance(cdip), in pci_child_cfg_restore()