Lines Matching refs:xstop_reason
39 struct xstop_reason { struct
40 uint32_t xstop_reason; argument
52 static const struct xstop_reason xstop_reason[] = { in print_core_checkstop_reason() argument
84 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason()
91 for (i = 0; i < ARRAY_SIZE(xstop_reason); i++) in print_core_checkstop_reason()
92 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason()
93 xstop_reason[i].xstop_reason) in print_core_checkstop_reason()
95 xstop_reason[i].unit_failed, in print_core_checkstop_reason()
96 xstop_reason[i].description); in print_core_checkstop_reason()
103 static const struct xstop_reason xstop_reason[] = { in print_nx_checkstop_reason() local
135 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_nx_checkstop_reason()
142 for (i = 0; i < ARRAY_SIZE(xstop_reason); i++) in print_nx_checkstop_reason()
143 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason()
144 xstop_reason[i].xstop_reason) in print_nx_checkstop_reason()
146 xstop_reason[i].unit_failed, in print_nx_checkstop_reason()
147 xstop_reason[i].description); in print_nx_checkstop_reason()