Lines Matching refs:syndrome_code
203 static int syndrome_to_qword_code(int syndrome_code) in syndrome_to_qword_code() argument
205 if (syndrome_code < 128) in syndrome_to_qword_code()
206 syndrome_code += 16; in syndrome_to_qword_code()
207 else if (syndrome_code < 128 + 9) in syndrome_to_qword_code()
208 syndrome_code -= (128 - 7); in syndrome_to_qword_code()
209 else if (syndrome_code < (128 + 9 + 3)) in syndrome_to_qword_code()
210 syndrome_code -= (128 + 9 - 4); in syndrome_to_qword_code()
212 syndrome_code -= (128 + 9 + 3); in syndrome_to_qword_code()
213 return syndrome_code; in syndrome_to_qword_code()
229 static void get_pin_and_dimm_str(int syndrome_code, unsigned long paddr, in get_pin_and_dimm_str() argument
233 int qword_code = syndrome_to_qword_code(syndrome_code); in get_pin_and_dimm_str()
292 static int jbusmc_print_dimm(int syndrome_code, in jbusmc_print_dimm() argument
303 syndrome_code < SYNDROME_MIN || in jbusmc_print_dimm()
304 syndrome_code > SYNDROME_MAX) { in jbusmc_print_dimm()
316 if (syndrome_code != SYNDROME_MIN) { in jbusmc_print_dimm()
320 get_pin_and_dimm_str(syndrome_code, phys_addr, &pin, in jbusmc_print_dimm()
538 static int chmc_print_dimm(int syndrome_code, in chmc_print_dimm() argument
548 syndrome_code < SYNDROME_MIN || in chmc_print_dimm()
549 syndrome_code > SYNDROME_MAX) { in chmc_print_dimm()
562 if (syndrome_code != SYNDROME_MIN) { in chmc_print_dimm()
566 get_pin_and_dimm_str(syndrome_code, phys_addr, &pin, in chmc_print_dimm()