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