Searched refs:FLD_MASK (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/gma500/ |
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))
|
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)); in tc35876x_configure_lvds_bridge()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dss.h | 75 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 76 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) 77 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) 79 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss.h | 70 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 71 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) 72 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) 74 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
|
/Linux-v4.19/drivers/crypto/ |
D | omap-aes.h | 27 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) macro 28 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
|