Lines Matching refs:elog
294 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog) in rtas_error_severity() argument
296 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity()
299 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog) in rtas_error_disposition() argument
301 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition()
305 void rtas_set_disposition_recovered(struct rtas_error_log *elog) in rtas_set_disposition_recovered() argument
307 elog->byte1 &= ~0x18; in rtas_set_disposition_recovered()
308 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3); in rtas_set_disposition_recovered()
311 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog) in rtas_error_extended() argument
313 return (elog->byte1 & 0x04) >> 2; in rtas_error_extended()
316 static inline uint8_t rtas_error_initiator(const struct rtas_error_log *elog) in rtas_error_initiator() argument
318 return (elog->byte2 & 0xf0) >> 4; in rtas_error_initiator()
324 uint32_t rtas_error_extended_log_length(const struct rtas_error_log *elog) in rtas_error_extended_log_length() argument
326 return be32_to_cpu(elog->extended_log_length); in rtas_error_extended_log_length()