Searched refs:prev_match (Results 1 – 2 of 2) sorted by relevance
116 u8 prev_match, curr_match; in __mtrr_type_lookup() local155 prev_match = 0xFF; in __mtrr_type_lookup()202 if (prev_match == 0xFF) { in __mtrr_type_lookup()203 prev_match = curr_match; in __mtrr_type_lookup()207 if (check_type_overlap(&prev_match, &curr_match)) in __mtrr_type_lookup()216 if (prev_match != 0xFF) in __mtrr_type_lookup()217 return prev_match; in __mtrr_type_lookup()
2050 u8 prev_match, curr_match; in get_mtrr_type() local2086 prev_match = 0xFF; in get_mtrr_type()2107 if (prev_match == 0xFF) { in get_mtrr_type()2108 prev_match = curr_match; in get_mtrr_type()2112 if (prev_match == MTRR_TYPE_UNCACHABLE || in get_mtrr_type()2116 if ((prev_match == MTRR_TYPE_WRBACK && in get_mtrr_type()2118 (prev_match == MTRR_TYPE_WRTHROUGH && in get_mtrr_type()2120 prev_match = MTRR_TYPE_WRTHROUGH; in get_mtrr_type()2124 if (prev_match != curr_match) in get_mtrr_type()2128 if (prev_match != 0xFF) in get_mtrr_type()[all …]