Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/exynos/
H A Dregs-scaler.h127 #define SCALER_MASK(hi_b, lo_b) ((1 << ((hi_b) - (lo_b) + 1)) - 1) argument
128 #define SCALER_GET(reg, hi_b, lo_b) \ argument
129 (((reg) >> (lo_b)) & SCALER_MASK(hi_b, lo_b))
130 #define SCALER_SET(val, hi_b, lo_b) \ argument
131 (((val) & SCALER_MASK(hi_b, lo_b)) << lo_b)