Lines Matching refs:elog
125 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog)
127 return (elog->byte1 & 0xE0) >> 5;
130 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog)
132 return (elog->byte1 & 0x18) >> 3;
136 void rtas_set_disposition_recovered(struct rtas_error_log *elog)
138 elog->byte1 &= ~0x18;
139 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3);
142 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog)
144 return (elog->byte1 & 0x04) >> 2;
147 static inline uint8_t rtas_error_initiator(const struct rtas_error_log *elog)
149 return (elog->byte2 & 0xf0) >> 4;
155 uint32_t rtas_error_extended_log_length(const struct rtas_error_log *elog)
157 return be32_to_cpu(elog->extended_log_length);