Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
phy_qmath.h File Reference
#include <types.h>

Go to the source code of this file.

Functions

u16 qm_mulu16 (u16 op1, u16 op2)
 
s16 qm_muls16 (s16 op1, s16 op2)
 
s32 qm_add32 (s32 op1, s32 op2)
 
s16 qm_add16 (s16 op1, s16 op2)
 
s16 qm_sub16 (s16 op1, s16 op2)
 
s32 qm_shl32 (s32 op, int shift)
 
s16 qm_shl16 (s16 op, int shift)
 
s16 qm_shr16 (s16 op, int shift)
 
s16 qm_norm32 (s32 op)
 
void qm_log10 (s32 N, s16 qN, s16 *log10N, s16 *qLog10N)
 

Function Documentation

s16 qm_add16 ( s16  op1,
s16  op2 
)

Definition at line 70 of file phy_qmath.c.

s32 qm_add32 ( s32  op1,
s32  op2 
)

Definition at line 53 of file phy_qmath.c.

void qm_log10 ( s32  N,
s16  qN,
s16 log10N,
s16 qLog10N 
)

Definition at line 242 of file phy_qmath.c.

s16 qm_muls16 ( s16  op1,
s16  op2 
)

Definition at line 37 of file phy_qmath.c.

u16 qm_mulu16 ( u16  op1,
u16  op2 
)

Definition at line 24 of file phy_qmath.c.

s16 qm_norm32 ( s32  op)

Definition at line 167 of file phy_qmath.c.

s16 qm_shl16 ( s16  op,
int  shift 
)

Definition at line 134 of file phy_qmath.c.

s32 qm_shl32 ( s32  op,
int  shift 
)

Definition at line 109 of file phy_qmath.c.

s16 qm_shr16 ( s16  op,
int  shift 
)

Definition at line 158 of file phy_qmath.c.

s16 qm_sub16 ( s16  op1,
s16  op2 
)

Definition at line 89 of file phy_qmath.c.