Searched refs:eeh_dev (Results 1 - 21 of 21) sorted by relevance

/linux-master/arch/powerpc/include/asm/
H A Ddevice.h36 struct eeh_dev *edev;
H A Deeh.h88 struct list_head edevs; /* List of eeh_dev in this PE */
132 struct eeh_dev { struct
165 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev)
170 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev)
175 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev)
217 struct eeh_dev *(*probe)(struct pci_dev *pdev);
225 int (*read_config)(struct eeh_dev *edev, int where, int size, u32 *val);
226 int (*write_config)(struct eeh_dev *edev, int where, int size, u32 val);
228 int (*restore_config)(struct eeh_dev *edev);
229 int (*notify_resume)(struct eeh_dev *ede
[all...]
H A Dppc-pci.h55 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr);
59 void eeh_save_bars(struct eeh_dev *edev);
H A Dpci-bridge.h217 struct eeh_dev *edev; /* eeh device */
252 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn)
/linux-master/arch/powerpc/kernel/
H A Deeh_sysfs.c18 * @_memb: name of member in struct eeh_dev to access
29 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \
45 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
84 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
98 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
139 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
161 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev);
H A Deeh_pe.c239 struct eeh_dev *edev, *tmp;
307 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent)
403 int eeh_pe_tree_remove(struct eeh_dev *edev)
537 struct eeh_dev *edev;
554 static void __eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag)
585 struct eeh_dev *edev, *tmp;
632 static void eeh_bridge_check_link(struct eeh_dev *edev)
701 static void eeh_restore_bridge_bars(struct eeh_dev *edev)
730 static void eeh_restore_device_bars(struct eeh_dev *edev)
773 static void eeh_restore_one_device_bars(struct eeh_dev *ede
[all...]
H A Deeh_driver.c76 static bool eeh_dev_removed(struct eeh_dev *edev)
81 static bool eeh_edev_actionable(struct eeh_dev *edev)
140 static void eeh_disable_irq(struct eeh_dev *edev)
163 static void eeh_enable_irq(struct eeh_dev *edev)
192 static void eeh_dev_save_state(struct eeh_dev *edev, void *userdata)
219 struct eeh_dev *edev, *tmp;
230 struct eeh_dev *edev, *tmp;
250 typedef enum pci_ers_result (*eeh_report_fn)(struct eeh_dev *,
253 static void eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn,
304 struct eeh_dev *ede
[all...]
H A Deeh_cache.c44 struct eeh_dev *edev;
54 static inline struct eeh_dev *__eeh_addr_cache_get_device(unsigned long addr)
82 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr)
84 struct eeh_dev *edev;
162 struct eeh_dev *edev;
H A Dpci_dn.c128 static struct eeh_dev *eeh_dev_init(struct pci_dn *pdn)
130 struct eeh_dev *edev;
193 struct eeh_dev *edev __maybe_unused;
243 struct eeh_dev *edev __maybe_unused;
255 * we're responsible to removing the eeh_dev since it
290 struct eeh_dev *edev;
347 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
H A Deeh.c168 static size_t eeh_dump_dev_log(struct eeh_dev *edev, char *buf, size_t len)
271 struct eeh_dev *edev, *tmp;
424 int eeh_dev_check_failure(struct eeh_dev *edev)
582 struct eeh_dev *edev;
675 static void eeh_disable_and_save_dev_state(struct eeh_dev *edev,
701 static void eeh_restore_dev_state(struct eeh_dev *edev, void *userdata)
728 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev);
782 static void eeh_set_dev_freset(struct eeh_dev *edev, void *flag)
893 void eeh_save_bars(struct eeh_dev *edev)
1000 struct eeh_dev *ede
[all...]
H A Dpci_of_scan.c355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn));
/linux-master/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c77 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
290 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
325 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev)
327 struct eeh_dev *parent;
355 * pseries_eeh_init_edev - initialise the eeh_dev and eeh_pe for a pci_dn
360 * corresponding pci_dn and we allocate, but don't initialise, an eeh_dev.
361 * This function takes care of the initialisation and inserts the eeh_dev
367 struct eeh_dev *edev;
375 * Find the eeh_dev for this pdn. The storage for the eeh_dev wa
[all...]
H A Dmsi.c184 struct eeh_dev *edev;
195 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev,
/linux-master/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c268 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
320 * Create, or find the existing, eeh_dev for this pci_dev.
322 static struct eeh_dev *pnv_eeh_probe(struct pci_dev *pdev)
327 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
805 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
911 struct eeh_dev *edev = pdn->edev;
931 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
969 struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
1005 struct eeh_dev *edev;
1010 edev = list_first_entry_or_null(&pe->edevs, struct eeh_dev, entr
[all...]
H A Dpci.c649 struct eeh_dev *edev = NULL;
/linux-master/drivers/pci/hotplug/
H A Dpnv_php.c767 struct eeh_dev *edev;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsiena.c215 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev);
H A Defx_common.c702 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev);
/linux-master/drivers/net/ethernet/sfc/
H A Defx_common.c691 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Defx.c2485 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev);
/linux-master/include/linux/
H A Dpci.h2630 static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev)

Completed in 177 milliseconds