Home
last modified time | relevance | path

Searched refs:MAX_NR_BANKS (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dmce.h191 #define MAX_NR_BANKS 32 macro
223 typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS);
326 extern struct smca_bank smca_banks[MAX_NR_BANKS];
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c93 *banks = min_t(unsigned, MAX_NR_BANKS, cap & 0xff); in cmci_supported()
160 for_each_set_bit(bank, owned, MAX_NR_BANKS) { in cmci_toggle_interrupt_mode()
Dmce.c94 [0 ... BITS_TO_LONGS(MAX_NR_BANKS)-1] = ~0UL
1184 DECLARE_BITMAP(valid_banks, MAX_NR_BANKS); in do_machine_check()
1185 DECLARE_BITMAP(toclear, MAX_NR_BANKS); in do_machine_check()
1479 if (b > MAX_NR_BANKS) { in __mcheck_cpu_cap_init()
1481 MAX_NR_BANKS, b); in __mcheck_cpu_cap_init()
1482 b = MAX_NR_BANKS; in __mcheck_cpu_cap_init()
1518 bitmap_fill(all_banks, MAX_NR_BANKS); in __mcheck_cpu_init_generic()
Dmce_amd.c97 static u32 smca_bank_addrs[MAX_NR_BANKS][NR_BLOCKS] __ro_after_init =
99 [0 ... MAX_NR_BANKS - 1] = { [0 ... NR_BLOCKS - 1] = -1 }
123 if (bank >= MAX_NR_BANKS) in smca_get_bank_type()
166 struct smca_bank smca_banks[MAX_NR_BANKS];