Home
last modified time | relevance | path

Searched refs:range_new (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/
Dcleanup.c601 static struct range range_new[RANGE_NUM] __initdata; in mtrr_calc_range_state() local
610 memset(range_new, 0, sizeof(range_new)); in mtrr_calc_range_state()
611 nr_range_new = x86_get_mtrr_mem_range(range_new, 0, in mtrr_calc_range_state()
613 range_sums_new = sum_ranges(range_new, nr_range_new); in mtrr_calc_range_state()
628 if (nr_range_new != nr_range || memcmp(range, range_new, sizeof(range))) in mtrr_calc_range_state()
/kernel/linux/linux-5.10/drivers/iio/light/
Diqs621-als.c101 u8 range_new, range_old; in iqs621_als_notifier() local
149 range_new = event_data->als_flags & IQS621_ALS_FLAGS_RANGE; in iqs621_als_notifier()
152 if (iqs621_als->range_en && (range_new > range_old)) in iqs621_als_notifier()
158 else if (iqs621_als->range_en && (range_new < range_old)) in iqs621_als_notifier()