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

Go to the source code of this file.

Functions

 BUG_ON (pad< 0||pad >=nn)
 
 if (s!=NULL)
 
 if (!syn_error)
 
decode nrootssizeof (lambda[0]))
 
 if (no_eras > 0)
 
memcpy &[1][1] reg (reg[0])
 
 for (i=1, k=iprim-1;i<=nn;i++, k=rs_modnn(rs, k+iprim))
 
 if (deg_lambda!=count)
 
 for (j=count-1;j >=0;j--)
 
of an omap_hwmod, return a pointer to the registered

struct omap_hwmod *, or NULL upon error.

 for (j=0;j< nroots;j++)
 

Variables

int i
 
int j
 
int r
 
int k
 
int pad = nn - nroots - len
 
int nn = rs->nn
 
int nroots = rs->nroots
 
int fcr = rs->fcr
 
int prim = rs->prim
 
int iprim = rs->iprim
 
uint16_talpha_to = rs->alpha_to
 
uint16_tindex_of = rs->index_of
 
uint16_t u
 
uint16_t q
 
uint16_t tmp
 
uint16_t num1
 
uint16_t num2
 
uint16_t den
 
uint16_t discr_r
 
uint16_t syn_error = 0
 
uint16_t lambda [nroots+1] = 1
 
uint16_t syn [nroots]
 
uint16_t b [nroots+1]
 
uint16_t t [nroots+1]
 
uint16_t omega [nroots+1]
 
uint16_t root [nroots]
 
uint16_t reg [nroots+1]
 
uint16_t loc [nroots]
 
int count = 0
 
uint16_t msk = (uint16_t) rs->nn
 
 s = syn
 
decode __pad0__
 
 deg_lambda = 0
 
 deg_omega = deg_lambda - 1
 
finish __pad1__
 

Function Documentation

BUG_ON ( pad< 0||pad = nn)
for ( )

failure. If

Definition at line 67 of file decode_rs.c.

for ( i  = 1)

Definition at line 181 of file decode_rs.c.

for ( j  = count - 1; j >= 0; j--)

Definition at line 227 of file decode_rs.c.

if ( s!  = NULL)

Definition at line 45 of file decode_rs.c.

if ( syn_error)

Definition at line 87 of file decode_rs.c.

if ( no_eras  ,
 
)

Definition at line 99 of file decode_rs.c.

if ( deg_lambda!  = count)

Definition at line 200 of file decode_rs.c.

memcpy&[1][1] reg ( reg  [0])
decode nroots* sizeof ( lambda  [0])

Variable Documentation

decode __pad0__

Definition at line 96 of file decode_rs.c.

finish __pad1__

Definition at line 266 of file decode_rs.c.

uint16_t* alpha_to = rs->alpha_to

Definition at line 27 of file decode_rs.c.

Definition at line 35 of file decode_rs.c.

count = 0

Definition at line 37 of file decode_rs.c.

deg_lambda = 0

Definition at line 172 of file decode_rs.c.

deg_omega = deg_lambda - 1

Definition at line 212 of file decode_rs.c.

uint16_t den

Definition at line 29 of file decode_rs.c.

uint16_t discr_r

Definition at line 29 of file decode_rs.c.

int fcr = rs->fcr

Definition at line 24 of file decode_rs.c.

int i
Initial value:

Definition at line 19 of file decode_rs.c.

uint16_t* index_of = rs->index_of

Definition at line 28 of file decode_rs.c.

int iprim = rs->iprim

Definition at line 26 of file decode_rs.c.

int j

Definition at line 19 of file decode_rs.c.

int k

Definition at line 19 of file decode_rs.c.

lambda[0] = 1

Definition at line 34 of file decode_rs.c.

Definition at line 36 of file decode_rs.c.

uint16_t msk = (uint16_t) rs->nn

Definition at line 38 of file decode_rs.c.

int nn = rs->nn

Definition at line 22 of file decode_rs.c.

int nroots = rs->nroots

Definition at line 23 of file decode_rs.c.

uint16_t num1

Definition at line 29 of file decode_rs.c.

uint16_t num2

Definition at line 29 of file decode_rs.c.

uint16_t omega[nroots+1]

Definition at line 35 of file decode_rs.c.

pad = nn - nroots - len

Definition at line 19 of file decode_rs.c.

int prim = rs->prim

Definition at line 25 of file decode_rs.c.

Definition at line 29 of file decode_rs.c.

int r

Definition at line 19 of file decode_rs.c.

Definition at line 36 of file decode_rs.c.

Definition at line 36 of file decode_rs.c.

s = syn

Definition at line 78 of file decode_rs.c.

Definition at line 34 of file decode_rs.c.

syn_error = 0

Definition at line 29 of file decode_rs.c.

Definition at line 35 of file decode_rs.c.

uint16_t tmp

Definition at line 29 of file decode_rs.c.

Definition at line 29 of file decode_rs.c.