Lines Matching refs:pdn
74 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val)
80 if (!pdn)
82 if (!config_access_valid(pdn, where))
85 addr = rtas_config_addr(pdn->busno, pdn->devfn, where);
86 buid = pdn->phb->buid;
99 eeh_dn_check_failure (pdn->node, NULL))
118 struct pci_dn *pdn = PCI_DN(dn);
119 if (pdn && pdn->devfn == devfn
121 return rtas_read_config(pdn, where, size, val);
127 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val)
132 if (!pdn)
134 if (!config_access_valid(pdn, where))
137 addr = rtas_config_addr(pdn->busno, pdn->devfn, where);
138 buid = pdn->phb->buid;
165 struct pci_dn *pdn = PCI_DN(dn);
166 if (pdn && pdn->devfn == devfn
168 return rtas_write_config(pdn, where, size, val);