Searched defs:FLD_MASK (Results 1 - 4 of 4) sorted by relevance
/drivers/video/omap2/dss/ |
H A D | dss.h | 94 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 95 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) 96 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) 98 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
/drivers/crypto/ |
H A D | omap-aes.c | 37 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 38 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_output.h | 44 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 45 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) 46 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) 48 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
H A D | tc35876x-dsi-lvds.c | 37 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 38 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) 425 tc35876x_regw(i2c, DSI_INTCLR, FLD_MASK(31, 30) | FLD_MASK(22, 0));
|
Completed in 963 milliseconds