Lines Matching refs:banknum
70 mc_err.banknum = i; in generic_machine_check()
335 static void decode_k8_mc(unsigned int banknum, unsigned int cpunum, u64 status) in decode_k8_mc() argument
337 switch(banknum) { in decode_k8_mc()
359 int banknum; in k8_poll_machine_check() local
363 for(banknum=0; banknum<banks; banknum++) { in k8_poll_machine_check()
364 if ((1UL<<banknum) & ignored_banks) in k8_poll_machine_check()
367 rdmsrl(MSR_IA32_MC0_STATUS+banknum*4, status); in k8_poll_machine_check()
370 mc_err.banknum = banknum; in k8_poll_machine_check()
372 rdmsrl(MSR_IA32_MC0_ADDR+banknum*4, address); in k8_poll_machine_check()
376 wrmsrl(MSR_IA32_MC0_STATUS+banknum*4, 0UL); in k8_poll_machine_check()
379 k8bank[banknum], in k8_poll_machine_check()
385 rdmsrl(MSR_IA32_MC0_CTL+banknum*4, ctl); in k8_poll_machine_check()
388 decode_k8_mc(banknum, cpunum, status); in k8_poll_machine_check()
397 int banknum; in k8_machine_check() local
418 for(banknum=0; banknum<banks; banknum++) { in k8_machine_check()
419 if ((1UL<<banknum) & ignored_banks) in k8_machine_check()
421 rdmsrl(MSR_IA32_MC0_STATUS+banknum*4, status); in k8_machine_check()
425 mc_err.banknum = banknum; in k8_machine_check()
435 k8bank[banknum], in k8_machine_check()
438 rdmsrl(MSR_IA32_MC0_ADDR+banknum*4, addr); in k8_machine_check()
441 } else if ((banknum==4) && (((status>>16)&0x0f)==7)) { in k8_machine_check()
443 rdmsrl(MSR_IA32_MC0_ADDR+banknum*4, addr); in k8_machine_check()
448 rdmsrl(MSR_IA32_MC0_CTL+banknum*4, ctl); in k8_machine_check()
452 wrmsrl(MSR_IA32_MC0_STATUS+banknum*4, 0UL); in k8_machine_check()