Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/gma500/
Dmdfld_dsi_output.h44 #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))
Dtc35876x-dsi-lvds.c37 #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/
Ddss.h75 #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/
Ddss.h70 #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/
Domap-aes.h27 #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))