Lines Matching refs:PCI_DN
251 pdn = PCI_DN(dn);
370 while ((dn->parent) && PCI_DN(dn->parent) &&
371 (PCI_DN(dn->parent)->eeh_mode & EEH_MODE_SUPPORTED)) {
390 if (PCI_DN(dn)) {
392 struct pci_dev *dev = PCI_DN(dn)->pcidev;
394 PCI_DN(dn)->eeh_mode |= mode_flag;
410 if (!pcibios_find_pci_bus(dn) && PCI_DN(dn->parent))
413 PCI_DN(dn)->eeh_mode |= mode_flag;
416 dev = PCI_DN(dn)->pcidev;
428 if (PCI_DN(dn)) {
429 PCI_DN(dn)->eeh_mode &= ~mode_flag;
430 PCI_DN(dn)->eeh_check_count = 0;
444 if (!pcibios_find_pci_bus(dn) && PCI_DN(dn->parent))
447 PCI_DN(dn)->eeh_mode &= ~mode_flag;
448 PCI_DN(dn)->eeh_check_count = 0;
487 pdn = PCI_DN(dn);
707 struct pci_dn *pdn = PCI_DN(dn);
861 eeh_restore_bars (PCI_DN(dn));
960 struct pci_dn *pdn = PCI_DN(dn);
1020 if (dn->parent && PCI_DN(dn->parent)
1021 && (PCI_DN(dn->parent)->eeh_mode & EEH_MODE_SUPPORTED)) {
1024 pdn->eeh_config_addr = PCI_DN(dn->parent)->eeh_config_addr;
1090 if (buid == 0 || PCI_DN(phb) == NULL)
1121 if (!dn || !PCI_DN(dn))
1123 phb = PCI_DN(dn)->phb;
1162 pdn = PCI_DN(dn);
1211 if (PCI_DN(dn)->pcidev == NULL) {
1215 PCI_DN(dn)->pcidev = NULL;