Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pvrusb2-util.h File Reference

Go to the source code of this file.

Macros

#define PVR2_DECOMPOSE_LE(t, i, d)
 
#define PVR2_DECOMPOSE_BE(t, i, d)
 
#define PVR2_COMPOSE_LE(t, i)
 
#define PVR2_COMPOSE_BE(t, i)
 

Macro Definition Documentation

#define PVR2_COMPOSE_BE (   t,
  i 
)
Value:
((((u32)((t)[i])) << 24) | \
(((u32)((t)[i+1])) << 16) | \
(((u32)((t)[i+2])) << 8) | \
((u32)((t)[i+3])))

Definition at line 45 of file pvrusb2-util.h.

#define PVR2_COMPOSE_LE (   t,
  i 
)
Value:
((((u32)((t)[i+3])) << 24) | \
(((u32)((t)[i+2])) << 16) | \
(((u32)((t)[i+1])) << 8) | \
((u32)((t)[i])))

Definition at line 39 of file pvrusb2-util.h.

#define PVR2_DECOMPOSE_BE (   t,
  i,
  d 
)
Value:
do { \
(t)[i+3] = (d) & 0xff;\
(t)[i+2] = ((d) >> 8) & 0xff;\
(t)[i+1] = ((d) >> 16) & 0xff;\
(t)[i] = ((d) >> 24) & 0xff;\
} while(0)

Definition at line 31 of file pvrusb2-util.h.

#define PVR2_DECOMPOSE_LE (   t,
  i,
  d 
)
Value:
do { \
(t)[i] = (d) & 0xff;\
(t)[i+1] = ((d) >> 8) & 0xff;\
(t)[i+2] = ((d) >> 16) & 0xff;\
(t)[i+3] = ((d) >> 24) & 0xff;\
} while(0)

Definition at line 23 of file pvrusb2-util.h.