Lines Matching refs:elog
296 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog)
298 return (elog->byte1 & 0xE0) >> 5;
301 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog)
303 return (elog->byte1 & 0x18) >> 3;
307 void rtas_set_disposition_recovered(struct rtas_error_log *elog)
309 elog->byte1 &= ~0x18;
310 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3);
313 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog)
315 return (elog->byte1 & 0x04) >> 2;
318 static inline uint8_t rtas_error_initiator(const struct rtas_error_log *elog)
320 return (elog->byte2 & 0xf0) >> 4;
326 uint32_t rtas_error_extended_log_length(const struct rtas_error_log *elog)
328 return be32_to_cpu(elog->extended_log_length);