Lines Matching refs:xstop_reason
29 struct xstop_reason { struct
30 uint32_t xstop_reason; member
42 static const struct xstop_reason xstop_reason[] = { in print_core_checkstop_reason() argument
74 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason()
81 for (i = 0; i < ARRAY_SIZE(xstop_reason); i++) in print_core_checkstop_reason()
82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason()
83 xstop_reason[i].xstop_reason) in print_core_checkstop_reason()
85 xstop_reason[i].unit_failed, in print_core_checkstop_reason()
86 xstop_reason[i].description); in print_core_checkstop_reason()
93 static const struct xstop_reason xstop_reason[] = { in print_nx_checkstop_reason() local
125 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_nx_checkstop_reason()
132 for (i = 0; i < ARRAY_SIZE(xstop_reason); i++) in print_nx_checkstop_reason()
133 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason()
134 xstop_reason[i].xstop_reason) in print_nx_checkstop_reason()
136 xstop_reason[i].unit_failed, in print_nx_checkstop_reason()
137 xstop_reason[i].description); in print_nx_checkstop_reason()
149 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_npu_checkstop_reason()
165 reason_count = sizeof(hmi_evt->u.xstop_error.xstop_reason) / in print_npu_checkstop_reason()
168 reason = (hmi_evt->u.xstop_error.xstop_reason >> (8 * i)) & 0xFF; in print_npu_checkstop_reason()