Searched refs:hi_b (Results 1 – 1 of 1) sorted by relevance
127 #define SCALER_MASK(hi_b, lo_b) ((1 << ((hi_b) - (lo_b) + 1)) - 1) argument128 #define SCALER_GET(reg, hi_b, lo_b) \ argument129 (((reg) >> (lo_b)) & SCALER_MASK(hi_b, lo_b))130 #define SCALER_SET(val, hi_b, lo_b) \ argument131 (((val) & SCALER_MASK(hi_b, lo_b)) << lo_b)