1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 #ifndef ASM_POWERPC_EEH_EVENT_H
8 #define ASM_POWERPC_EEH_EVENT_H
12 * structure holding pci controller data that describes a
13 * change in the isolation status of a PCI slot. A pointer
14 * to this struct is passed as the data pointer in a notify
18 struct list_head list; /* to form event queue */
19 struct eeh_pe *pe; /* EEH PE */
22 int eeh_event_init(void);
23 int eeh_send_failure_event(struct eeh_pe *pe);
24 int __eeh_send_failure_event(struct eeh_pe *pe);
25 void eeh_remove_event(struct eeh_pe *pe, bool force);
26 void eeh_handle_normal_event(struct eeh_pe *pe);
27 void eeh_handle_special_event(void);
29 #endif /* __KERNEL__ */
30 #endif /* ASM_POWERPC_EEH_EVENT_H */