Searched refs:ByteSwap16 (Results 1 – 5 of 5) sorted by relevance
412 #define ByteSwap16(x) (((x) & 0x00ff) << 8 | ((x) & 0xff00) >> 8) macro420 #define LE2ME16(x) ByteSwap16(x)424 #define ME2LE16(x) ByteSwap16(x)427 #define BE2ME16(x) ByteSwap16(x)431 #define ME2BE16(x) ByteSwap16(x)
324 #define LE2ME16(x) ByteSwap16(x)329 #define BE2ME16(x) ByteSwap16(x)342 #define ByteSwap16(x) (((x) & 0x00ff) << 8 | ((x) & 0xff00) >> 8) macro
950 …GE_WriteReg(&pGECtxLocal->halLocalCtx, REG_GE_CLUT_H, ByteSwap16(pGECtxLocal->halLocalCtx.u32Palet… in GE_SetPalette()951 …GE_WriteReg(&pGECtxLocal->halLocalCtx, REG_GE_CLUT_L, ByteSwap16(pGECtxLocal->halLocalCtx.u32Palet… in GE_SetPalette()968 …GE_WriteReg(&pGECtxLocal->halLocalCtx, REG_GE_CLUT_H, ByteSwap16(pGECtxLocal->halLocalCtx.u32Palet… in GE_SetPalette()969 …GE_WriteReg(&pGECtxLocal->halLocalCtx, REG_GE_CLUT_L, ByteSwap16(pGECtxLocal->halLocalCtx.u32Palet… in GE_SetPalette()4935 STR_GE_REG(REG_GE_CLUT_H) = (ByteSwap16(GEPalette[i]) & 0xFFFF); in MDrv_GESTR_SetPalette()4936 STR_GE_REG(REG_GE_CLUT_L) = (ByteSwap16(GEPalette[i]>>16)); in MDrv_GESTR_SetPalette()
194 #define ByteSwap16(x) (((x) & 0x00ffUL) << 8 | ((x) & 0xff00UL) >> 8) macro