Searched refs:IS_RANGE (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/board/samsung/universal_c210/ |
H A D | universal.c | 114 #define IS_RANGE(x, min, max) ((x) > (min) && (x) < (max)) in get_hw_revision() macro 115 if (IS_RANGE(mode0, 80, 200) && IS_RANGE(mode1, 80, 200)) in get_hw_revision() 117 if (IS_RANGE(mode0, 750, 1000) && IS_RANGE(mode1, 80, 200)) in get_hw_revision() 119 if (IS_RANGE(mode0, 1300, 1700) && IS_RANGE(mode1, 80, 200)) in get_hw_revision() 121 if (IS_RANGE(mode0, 2000, 2400) && IS_RANGE(mode1, 80, 200)) in get_hw_revision() 123 #undef IS_RANGE in get_hw_revision()
|