Home
last modified time | relevance | path

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

/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.h59 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro
60 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
61 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end))
63 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/drivers/gpu/drm/omapdrm/dss/
Ddss.h64 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro
65 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
66 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end))
68 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/drivers/crypto/
Domap-aes.h24 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro
25 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
/drivers/gpu/drm/bridge/
Dtc358764.c28 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro
29 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
/drivers/gpu/drm/tidss/
Dtidss_dispc.c370 static u32 FLD_MASK(u32 start, u32 end) in FLD_MASK() function
377 return (val << end) & FLD_MASK(start, end); in FLD_VAL()
382 return (val & FLD_MASK(start, end)) >> end; in FLD_GET()
387 return (orig & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end); in FLD_MOD()