Home
last modified time | relevance | path

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

/linux-6.12.1/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))
/linux-6.12.1/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))
/linux-6.12.1/drivers/crypto/
Domap-aes.h23 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro
24 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
/linux-6.12.1/drivers/gpu/drm/bridge/
Dtc358764.c24 #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))
/linux-6.12.1/drivers/gpu/drm/tidss/
Dtidss_dispc.c474 static u32 FLD_MASK(u32 start, u32 end) in FLD_MASK() function
481 return (val << end) & FLD_MASK(start, end); in FLD_VAL()
486 return (val & FLD_MASK(start, end)) >> end; in FLD_GET()
491 return (orig & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end); in FLD_MOD()