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

Go to the source code of this file.

Macros

#define add_ssaaaa(sh, sl, ah, al, bh, bl)
 
#define sub_ddmmss(sh, sl, ah, al, bh, bl)
 
#define umul_ppmm(w1, w0, u, v)
 
#define __ll_B   ((UWtype) 1 << (W_TYPE_SIZE / 2))
 
#define __ll_lowpart(t)   ((UWtype) (t) & (__ll_B - 1))
 
#define __ll_highpart(t)   ((UWtype) (t) >> (W_TYPE_SIZE / 2))
 
#define udiv_qrnnd(q, r, n1, n0, d)
 
#define abort()   return 0
 
#define __BYTE_ORDER   __LITTLE_ENDIAN
 

Macro Definition Documentation

#define __BYTE_ORDER   __LITTLE_ENDIAN

Definition at line 70 of file sfp-util.h.

#define __ll_B   ((UWtype) 1 << (W_TYPE_SIZE / 2))

Definition at line 27 of file sfp-util.h.

#define __ll_highpart (   t)    ((UWtype) (t) >> (W_TYPE_SIZE / 2))

Definition at line 29 of file sfp-util.h.

#define __ll_lowpart (   t)    ((UWtype) (t) & (__ll_B - 1))

Definition at line 28 of file sfp-util.h.

#define abort (   void)    return 0

Definition at line 68 of file sfp-util.h.

#define add_ssaaaa (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)
Value:
do { \
UWtype __x; \
__x = (al) + (bl); \
(sh) = (ah) + (bh) + (__x < (al)); \
(sl) = __x; \
} while (0)

Definition at line 5 of file sfp-util.h.

#define sub_ddmmss (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)
Value:
do { \
UWtype __x; \
__x = (al) - (bl); \
(sh) = (ah) - (bh) - (__x > (al)); \
(sl) = __x; \
} while (0)

Definition at line 13 of file sfp-util.h.

#define udiv_qrnnd (   q,
  r,
  n1,
  n0,
  d 
)

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

#define umul_ppmm (   w1,
  w0,
  u,
  v 
)
Value:
__asm__ ("dmulu.l %2,%3\n\tsts macl,%1\n\tsts mach,%0" \
: "=r" ((u32)(w1)), "=r" ((u32)(w0)) \
: "r" ((u32)(u)), "r" ((u32)(v)) \
: "macl", "mach")

Definition at line 21 of file sfp-util.h.