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

Go to the source code of this file.

Data Structures

struct  Xsig
 

Macros

#define LL_MSW(x)   (((unsigned long *)&x)[1])
 
#define MK_XSIG(a, b, c)   { c, b, a }
 
#define XSIG_LL(x)   (*(unsigned long long *)&x.midw)
 

Functions

asmlinkage void mul64 (unsigned long long const *a, unsigned long long const *b, unsigned long long *result)
 
asmlinkage void polynomial_Xsig (Xsig *, const unsigned long long *x, const unsigned long long terms[], const int n)
 
asmlinkage void mul32_Xsig (Xsig *, const unsigned long mult)
 
asmlinkage void mul64_Xsig (Xsig *, const unsigned long long *mult)
 
asmlinkage void mul_Xsig_Xsig (Xsig *dest, const Xsig *mult)
 
asmlinkage void shr_Xsig (Xsig *, const int n)
 
asmlinkage int round_Xsig (Xsig *)
 
asmlinkage int norm_Xsig (Xsig *)
 
asmlinkage void div_Xsig (Xsig *x1, const Xsig *x2, const Xsig *dest)
 

Macro Definition Documentation

#define LL_MSW (   x)    (((unsigned long *)&x)[1])

Definition at line 44 of file poly.h.

#define MK_XSIG (   a,
  b,
  c 
)    { c, b, a }

Definition at line 47 of file poly.h.

#define XSIG_LL (   x)    (*(unsigned long long *)&x.midw)

Definition at line 50 of file poly.h.

Function Documentation

asmlinkage void div_Xsig ( Xsig x1,
const Xsig x2,
const Xsig dest 
)
asmlinkage void mul32_Xsig ( Xsig ,
const unsigned long  mult 
)
asmlinkage void mul64 ( unsigned long long const a,
unsigned long long const b,
unsigned long long result 
)
asmlinkage void mul64_Xsig ( Xsig ,
const unsigned long long mult 
)
asmlinkage void mul_Xsig_Xsig ( Xsig dest,
const Xsig mult 
)
asmlinkage int norm_Xsig ( Xsig )
asmlinkage void polynomial_Xsig ( Xsig ,
const unsigned long long x,
const unsigned long long  terms[],
const int  n 
)
asmlinkage int round_Xsig ( Xsig )
asmlinkage void shr_Xsig ( Xsig ,
const int  n 
)