Searched refs:FLD_MASK (Results 1 – 5 of 5) sorted by relevance
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss.h | 59 #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/ |
D | dss.h | 64 #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/ |
D | omap-aes.h | 24 #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/ |
D | tc358764.c | 28 #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/ |
D | tidss_dispc.c | 370 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()
|