Searched refs:RANGE_NUM (Results 1 – 2 of 2) sorted by relevance
/arch/x86/pci/ |
D | amd_bus.c | 18 #define RANGE_NUM 16 macro 72 struct range range[RANGE_NUM]; in early_root_info_init() 148 add_range(range, RANGE_NUM, 0, 0, 0xffff + 1); in early_root_info_init() 172 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init() 178 for (i = 0; i < RANGE_NUM; i++) { in early_root_info_init() 191 add_range(range, RANGE_NUM, 0, 0, end); in early_root_info_init() 199 subtract_range(range, RANGE_NUM, 0, end); in early_root_info_init() 208 subtract_range(range, RANGE_NUM, fam10h_mmconf_start, in early_root_info_init() 261 subtract_range(range, RANGE_NUM, start, in early_root_info_init() 279 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init() [all …]
|
/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 52 #define RANGE_NUM 256 macro 54 static struct range __initdata range[RANGE_NUM]; 57 static struct var_mtrr_range_state __initdata range_state[RANGE_NUM]; 80 nr_range = add_range_with_merge(range, RANGE_NUM, nr_range, in x86_get_mtrr_mem_range() 110 subtract_range(range, RANGE_NUM, base, base + size); in x86_get_mtrr_mem_range() 113 subtract_range(range, RANGE_NUM, extra_remove_base, in x86_get_mtrr_mem_range() 118 for (i = 0; i < RANGE_NUM; i++) { in x86_get_mtrr_mem_range() 127 nr_range = clean_sort_range(range, RANGE_NUM); in x86_get_mtrr_mem_range() 527 static unsigned long __initdata min_loss_pfn[RANGE_NUM]; 596 static struct range range_new[RANGE_NUM]; in mtrr_calc_range_state() [all …]
|