Lines Matching +full:not +full:- +full:swapped
2 * Copyright 2008-2012 Freescale Semiconductor Inc.
22 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
57 @Group endian_id Big/Little-Endian Conversion
59 @Description Routines and macros for Big/Little-Endian conversion and
69 @Collection Byte-Swap Macros
75 calls it is recommended to use the byte-swap routines.
81 @Description Swaps the byte order of a given 16-bit value.
83 @Param[in] val - The 16-bit value to swap.
85 @Return The byte-swapped value..
97 @Description Swaps the byte order of a given 32-bit value.
99 @Param[in] val - The 32-bit value to swap.
101 @Return The byte-swapped value..
116 @Description Swaps the byte order of a given 64-bit value.
118 @Param[in] val - The 64-bit value to swap.
120 @Return The byte-swapped value..
141 @Collection Byte-Swap Routines
144 returning the swapped value.
146 These inline routines are safer than the byte-swap macros,
154 @Description Returns the byte-swapped value of a given 16-bit value.
156 @Param[in] val - The 16-bit value.
158 @Return The byte-swapped value of the parameter.
169 @Description Returns the byte-swapped value of a given 32-bit value.
171 @Param[in] val - The 32-bit value.
173 @Return The byte-swapped value of the parameter.
186 @Description Returns the byte-swapped value of a given 64-bit value.
188 @Param[in] val - The 64-bit value.
190 @Return The byte-swapped value of the parameter.
207 @Collection In-place Byte-Swap-And-Set Routines
210 setting the swapped value back to the same variable.
217 @Description Swaps the byte order of a given 16-bit variable.
219 @Param[in] p_Val - Pointer to the 16-bit variable.
231 @Description Swaps the byte order of a given 32-bit variable.
233 @Param[in] p_Val - Pointer to the 32-bit variable.
245 @Description Swaps the byte order of a given 64-bit variable.
247 @Param[in] p_Val - Pointer to the 64-bit variable.
260 @Collection Little-Endian Conversion Macros
262 These macros convert given parameters to or from Little-Endian
264 Little-Endian value in memory, without a-priori knowing the CPU
267 These macros use the byte-swap routines. For conversion of
270 byte-swap macros instead.
275 @Description Converts a given 16-bit value from CPU byte order to
276 Little-Endian byte order.
278 @Param[in] val - The 16-bit value to convert.
287 @Description Converts a given 32-bit value from CPU byte order to
288 Little-Endian byte order.
290 @Param[in] val - The 32-bit value to convert.
299 @Description Converts a given 64-bit value from CPU byte order to
300 Little-Endian byte order.
302 @Param[in] val - The 64-bit value to convert.
312 @Description Converts a given 16-bit value from Little-Endian byte order to
315 @Param[in] val - The 16-bit value to convert.
324 @Description Converts a given 32-bit value from Little-Endian byte order to
327 @Param[in] val - The 32-bit value to convert.
336 @Description Converts a given 64-bit value from Little-Endian byte order to
339 @Param[in] val - The 64-bit value to convert.
350 @Collection Little-Endian Constant Conversion Macros
352 These macros convert given constants to or from Little-Endian
354 Little-Endian constant in memory, without a-priori knowing the
357 These macros use the byte-swap macros, therefore can be used for
361 For non-constant expressions, use the non-CONST macro versions.
367 @Description Converts a given 16-bit constant from CPU byte order to
368 Little-Endian byte order.
370 @Param[in] val - The 16-bit value to convert.
379 @Description Converts a given 32-bit constant from CPU byte order to
380 Little-Endian byte order.
382 @Param[in] val - The 32-bit value to convert.
391 @Description Converts a given 64-bit constant from CPU byte order to
392 Little-Endian byte order.
394 @Param[in] val - The 64-bit value to convert.
404 @Description Converts a given 16-bit constant from Little-Endian byte order
407 @Param[in] val - The 16-bit value to convert.
416 @Description Converts a given 32-bit constant from Little-Endian byte order
419 @Param[in] val - The 32-bit value to convert.
428 @Description Converts a given 64-bit constant from Little-Endian byte order
431 @Param[in] val - The 64-bit value to convert.