Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sfp-util_64.h File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <asm/byteorder.h>

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(wh, wl, u, v)
 
#define udiv_qrnnd(q, r, n1, n0, d)
 
#define UDIV_NEEDS_NORMALIZATION   1
 
#define abort()   return 0
 
#define __BYTE_ORDER   __LITTLE_ENDIAN
 

Macro Definition Documentation

#define __BYTE_ORDER   __LITTLE_ENDIAN

Definition at line 119 of file sfp-util_64.h.

#define abort (   void)    return 0

Definition at line 113 of file sfp-util_64.h.

#define add_ssaaaa (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)
Value:
__asm__ ("addcc %4,%5,%1\n\t" \
"add %2,%3,%0\n\t" \
"bcs,a,pn %%xcc, 1f\n\t" \
"add %0, 1, %0\n" \
"1:" \
: "=r" ((UDItype)(sh)), \
"=&r" ((UDItype)(sl)) \
: "r" ((UDItype)(ah)), \
"r" ((UDItype)(bh)), \
"r" ((UDItype)(al)), \
"r" ((UDItype)(bl)) \
: "cc")

Definition at line 14 of file sfp-util_64.h.

#define sub_ddmmss (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)
Value:
__asm__ ("subcc %4,%5,%1\n\t" \
"sub %2,%3,%0\n\t" \
"bcs,a,pn %%xcc, 1f\n\t" \
"sub %0, 1, %0\n" \
"1:" \
: "=r" ((UDItype)(sh)), \
"=&r" ((UDItype)(sl)) \
: "r" ((UDItype)(ah)), \
"r" ((UDItype)(bh)), \
"r" ((UDItype)(al)), \
"r" ((UDItype)(bl)) \
: "cc")

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

#define UDIV_NEEDS_NORMALIZATION   1

Definition at line 111 of file sfp-util_64.h.

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

Definition at line 75 of file sfp-util_64.h.

#define umul_ppmm (   wh,
  wl,
  u,
  v 
)

Definition at line 42 of file sfp-util_64.h.