Searched refs:RANGE_NUM (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/x86/pci/ |
D | amd_bus.c | 19 #define RANGE_NUM 16 macro 81 struct range range[RANGE_NUM]; in early_root_info_init() 158 add_range(range, RANGE_NUM, 0, 0, 0xffff + 1); in early_root_info_init() 182 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init() 188 for (i = 0; i < RANGE_NUM; i++) { in early_root_info_init() 201 add_range(range, RANGE_NUM, 0, 0, end); in early_root_info_init() 209 subtract_range(range, RANGE_NUM, 0, end); in early_root_info_init() 218 subtract_range(range, RANGE_NUM, fam10h_mmconf_start, in early_root_info_init() 271 subtract_range(range, RANGE_NUM, start, in early_root_info_init() 289 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init() [all …]
|
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 51 #define RANGE_NUM 256 macro 53 static struct range __initdata range[RANGE_NUM]; 56 static struct var_mtrr_range_state __initdata range_state[RANGE_NUM]; 76 nr_range = add_range_with_merge(range, RANGE_NUM, nr_range, in x86_get_mtrr_mem_range() 105 subtract_range(range, RANGE_NUM, base, base + size); in x86_get_mtrr_mem_range() 108 subtract_range(range, RANGE_NUM, extra_remove_base, in x86_get_mtrr_mem_range() 112 for (i = 0; i < RANGE_NUM; i++) { in x86_get_mtrr_mem_range() 121 nr_range = clean_sort_range(range, RANGE_NUM); in x86_get_mtrr_mem_range() 512 static unsigned long __initdata min_loss_pfn[RANGE_NUM]; 588 static struct range range_new[RANGE_NUM] __initdata; in mtrr_calc_range_state() [all …]
|