Searched refs:MAX_NR_BANKS (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | mce.h | 229 #define MAX_NR_BANKS 64 macro 255 typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS); 362 extern struct smca_bank smca_banks[MAX_NR_BANKS];
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | core.c | 74 static DEFINE_PER_CPU_READ_MOSTLY(struct mce_bank[MAX_NR_BANKS], mce_banks_array); 83 static struct mce_bank_dev mce_bank_devs[MAX_NR_BANKS]; 109 [0 ... BITS_TO_LONGS(MAX_NR_BANKS)-1] = ~0UL 1319 DECLARE_BITMAP(valid_banks, MAX_NR_BANKS); in do_machine_check() 1320 DECLARE_BITMAP(toclear, MAX_NR_BANKS); in do_machine_check() 1629 if (b > MAX_NR_BANKS) { in __mcheck_cpu_cap_init() 1631 smp_processor_id(), MAX_NR_BANKS, b); in __mcheck_cpu_cap_init() 1632 b = MAX_NR_BANKS; in __mcheck_cpu_cap_init() 1661 bitmap_fill(all_banks, MAX_NR_BANKS); in __mcheck_cpu_init_generic() 2640 for (i = 0; i < MAX_NR_BANKS; i++) { in mce_init_banks()
|
D | intel.c | 95 *banks = min_t(unsigned, MAX_NR_BANKS, cap & 0xff); in cmci_supported() 163 for_each_set_bit(bank, owned, MAX_NR_BANKS) { in cmci_toggle_interrupt_mode()
|
D | amd.c | 124 if (bank >= MAX_NR_BANKS) in smca_get_bank_type() 180 struct smca_bank smca_banks[MAX_NR_BANKS];
|