Home
last modified time | relevance | path

Searched refs:pBit (Results 1 – 3 of 3) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhifb.h94 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
96 … return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
97 …((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits t… in hifb_rgb()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhifb.h89 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
91 … return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
92 …((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits t… in hifb_rgb()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/include/
Dhifb.h114 static inline HI_U8 hifb_rgb(const struct fb_bitfield *pBit, HI_S32 color) in hifb_rgb() argument
116 … return ((HI_U8)((((HI_U32)color) >> pBit->offset) << (8 - pBit->length)) + /* 8 Digits to flip */ in hifb_rgb()
117 …((HI_U8)(((HI_U32)(color) >> pBit->offset) << (8 - pBit->length)) >> pBit->length)); /* 8 Digits t… in hifb_rgb()