Lines Matching refs:check

48 #define CHECK_VALID_BITS(check)		(((check) & GENMASK_ULL(15, 0)))  argument
49 #define CHECK_TRANS_TYPE(check) (((check) & GENMASK_ULL(17, 16)) >> 16) argument
50 #define CHECK_OPERATION(check) (((check) & GENMASK_ULL(21, 18)) >> 18) argument
51 #define CHECK_LEVEL(check) (((check) & GENMASK_ULL(24, 22)) >> 22) argument
58 #define CHECK_BUS_PART_TYPE(check) (((check) & GENMASK_ULL(31, 30)) >> 30) argument
60 #define CHECK_BUS_ADDR_SPACE(check) (((check) & GENMASK_ULL(34, 33)) >> 33) argument
69 #define CHECK_MS_ERR_TYPE(check) (((check) & GENMASK_ULL(18, 16)) >> 16) argument
153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument
155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool()
158 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument
161 u8 err_type = CHECK_MS_ERR_TYPE(check); in print_err_info_ms()
169 print_bool("Processor Context Corrupt", pfx, check, CHECK_MS_PCC); in print_err_info_ms()
172 print_bool("Uncorrected", pfx, check, CHECK_MS_UNCORRECTED); in print_err_info_ms()
175 print_bool("Precise IP", pfx, check, CHECK_MS_PRECISE_IP); in print_err_info_ms()
178 print_bool("Restartable IP", pfx, check, CHECK_MS_RESTARTABLE_IP); in print_err_info_ms()
181 print_bool("Overflow", pfx, check, CHECK_MS_OVERFLOW); in print_err_info_ms()
184 static void print_err_info(const char *pfx, u8 err_type, u64 check) in print_err_info() argument
186 u16 validation_bits = CHECK_VALID_BITS(check); in print_err_info()
193 return print_err_info_ms(pfx, validation_bits, check); in print_err_info()
196 u8 trans_type = CHECK_TRANS_TYPE(check); in print_err_info()
204 u8 op = CHECK_OPERATION(check); in print_err_info()
217 printk("%sLevel: %llu\n", pfx, CHECK_LEVEL(check)); in print_err_info()
220 print_bool("Processor Context Corrupt", pfx, check, CHECK_PCC); in print_err_info()
223 print_bool("Uncorrected", pfx, check, CHECK_UNCORRECTED); in print_err_info()
226 print_bool("Precise IP", pfx, check, CHECK_PRECISE_IP); in print_err_info()
229 print_bool("Restartable IP", pfx, check, CHECK_RESTARTABLE_IP); in print_err_info()
232 print_bool("Overflow", pfx, check, CHECK_OVERFLOW); in print_err_info()
238 u8 part_type = CHECK_BUS_PART_TYPE(check); in print_err_info()
246 print_bool("Time Out", pfx, check, CHECK_BUS_TIME_OUT); in print_err_info()
249 u8 addr_space = CHECK_BUS_ADDR_SPACE(check); in print_err_info()