Lines Matching refs:edev
103 #define eeh_pe_for_each_dev(pe, edev, tmp) \ argument
104 list_for_each_entry_safe(edev, tmp, &pe->edevs, list)
145 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() argument
147 return edev ? edev->pdn : NULL; in eeh_dev_to_pdn()
150 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev() argument
152 return edev ? edev->pdev : NULL; in eeh_dev_to_pci_dev()
155 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe() argument
157 return edev ? edev->pe : NULL; in eeh_dev_to_pe()
263 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev);
264 int eeh_add_to_parent_pe(struct eeh_dev *edev);
265 int eeh_rmv_from_parent_pe(struct eeh_dev *edev);
281 int eeh_dev_check_failure(struct eeh_dev *edev);