Lines Matching refs:syndrome_code
204 static int syndrome_to_qword_code(int syndrome_code) in syndrome_to_qword_code() argument
206 if (syndrome_code < 128) in syndrome_to_qword_code()
207 syndrome_code += 16; in syndrome_to_qword_code()
208 else if (syndrome_code < 128 + 9) in syndrome_to_qword_code()
209 syndrome_code -= (128 - 7); in syndrome_to_qword_code()
210 else if (syndrome_code < (128 + 9 + 3)) in syndrome_to_qword_code()
211 syndrome_code -= (128 + 9 - 4); in syndrome_to_qword_code()
213 syndrome_code -= (128 + 9 + 3); in syndrome_to_qword_code()
214 return syndrome_code; in syndrome_to_qword_code()
230 static void get_pin_and_dimm_str(int syndrome_code, unsigned long paddr, in get_pin_and_dimm_str() argument
234 int qword_code = syndrome_to_qword_code(syndrome_code); in get_pin_and_dimm_str()
293 static int jbusmc_print_dimm(int syndrome_code, in jbusmc_print_dimm() argument
304 syndrome_code < SYNDROME_MIN || in jbusmc_print_dimm()
305 syndrome_code > SYNDROME_MAX) { in jbusmc_print_dimm()
317 if (syndrome_code != SYNDROME_MIN) { in jbusmc_print_dimm()
321 get_pin_and_dimm_str(syndrome_code, phys_addr, &pin, in jbusmc_print_dimm()
539 static int chmc_print_dimm(int syndrome_code, in chmc_print_dimm() argument
549 syndrome_code < SYNDROME_MIN || in chmc_print_dimm()
550 syndrome_code > SYNDROME_MAX) { in chmc_print_dimm()
563 if (syndrome_code != SYNDROME_MIN) { in chmc_print_dimm()
567 get_pin_and_dimm_str(syndrome_code, phys_addr, &pin, in chmc_print_dimm()