Scroll to navigation

ENCODE_RS16(9) Public Functions Provided ENCODE_RS16(9)

NAME

encode_rs16 - Calculate the parity for data values (16bit data width)

SYNOPSIS

int encode_rs16(struct rs_control * rs, uint16_t * data, int len, uint16_t * par, uint16_t invmsk);

ARGUMENTS

struct rs_control * rs

the rs control structure

uint16_t * data

data field of a given type

int len

data length

uint16_t * par

parity data, must be initialized by caller (usually all 0)

uint16_t invmsk

invert data mask (will be xored on data, not on parity!)

DESCRIPTION

Each field in the data array contains up to symbol size bits of valid data.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12