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

/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-hmi.c36 struct OpalHMIEvent hmi_evt; member in struct:OpalHmiEvtNode
49 struct OpalHMIEvent *hmi_evt) print_core_checkstop_reason()
84 if (!hmi_evt->u.xstop_error.xstop_reason) { print_core_checkstop_reason()
90 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); print_core_checkstop_reason()
92 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & print_core_checkstop_reason()
100 struct OpalHMIEvent *hmi_evt) print_nx_checkstop_reason()
135 if (!hmi_evt->u.xstop_error.xstop_reason) { print_nx_checkstop_reason()
141 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); print_nx_checkstop_reason()
143 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & print_nx_checkstop_reason()
151 struct OpalHMIEvent *hmi_evt) print_checkstop_reason()
153 switch (hmi_evt->u.xstop_error.xstop_type) { print_checkstop_reason()
155 print_core_checkstop_reason(level, hmi_evt); print_checkstop_reason()
158 print_nx_checkstop_reason(level, hmi_evt); print_checkstop_reason()
166 static void print_hmi_event_info(struct OpalHMIEvent *hmi_evt) print_hmi_event_info() argument
185 if (hmi_evt->version < OpalHMIEvt_V1) { print_hmi_event_info()
187 hmi_evt->version); print_hmi_event_info()
190 switch (hmi_evt->severity) { print_hmi_event_info()
212 hmi_evt->disposition == OpalHMI_DISPOSITION_RECOVERED ? print_hmi_event_info()
214 error_info = hmi_evt->type < ARRAY_SIZE(hmi_error_types) ? print_hmi_event_info()
215 hmi_error_types[hmi_evt->type] print_hmi_event_info()
218 printk("%s HMER: %016llx\n", level, be64_to_cpu(hmi_evt->hmer)); print_hmi_event_info()
219 if ((hmi_evt->type == OpalHMI_ERROR_TFAC) || print_hmi_event_info()
220 (hmi_evt->type == OpalHMI_ERROR_TFMR_PARITY)) print_hmi_event_info()
222 be64_to_cpu(hmi_evt->tfmr)); print_hmi_event_info()
224 if (hmi_evt->version < OpalHMIEvt_V2) print_hmi_event_info()
228 if (hmi_evt->type == OpalHMI_ERROR_MALFUNC_ALERT) print_hmi_event_info()
229 print_checkstop_reason(level, hmi_evt); print_hmi_event_info()
235 struct OpalHMIEvent *hmi_evt; hmi_event_handler() local
248 hmi_evt = (struct OpalHMIEvent *) &msg_node->hmi_evt; hmi_event_handler()
249 print_hmi_event_info(hmi_evt); hmi_event_handler()
250 disposition = hmi_evt->disposition; hmi_event_handler()
280 hmi_evt = (struct OpalHMIEvent *)&msg.params[0]; hmi_event_handler()
281 print_hmi_event_info(hmi_evt); hmi_event_handler()
313 struct OpalHMIEvent *hmi_evt; opal_handle_hmi_event() local
322 hmi_evt = (struct OpalHMIEvent *)&hmi_msg->params[0]; opal_handle_hmi_event()
330 memcpy(&msg_node->hmi_evt, hmi_evt, sizeof(struct OpalHMIEvent)); opal_handle_hmi_event()
48 print_core_checkstop_reason(const char *level, struct OpalHMIEvent *hmi_evt) print_core_checkstop_reason() argument
99 print_nx_checkstop_reason(const char *level, struct OpalHMIEvent *hmi_evt) print_nx_checkstop_reason() argument
150 print_checkstop_reason(const char *level, struct OpalHMIEvent *hmi_evt) print_checkstop_reason() argument

Completed in 46 milliseconds