Lines Matching defs:data
27 * syndrome over the received (data + syndrome) and calls the second stage,
29 * provide a syndrome calculation over the received data + syndrome and can
317 * encode_rs8 - Calculate the parity for data values (8bit data width)
319 * @data: data field of a given type
320 * @len: data length
321 * @par: parity data, must be initialized by caller (usually all 0)
322 * @invmsk: invert data mask (will be xored on data)
324 * The parity uses a uint16_t data type to enable
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par,
338 * decode_rs8 - Decode codeword (8bit data width)
340 * @data: data field of a given type
341 * @par: received parity data field
342 * @len: data length
343 * @s: syndrome data field, must be in index form
347 * @invmsk: invert data mask (will be xored on data, not on parity!)
350 * The syndrome and parity uses a uint16_t data type to enable
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len,
372 * encode_rs16 - Calculate the parity for data values (16bit data width)
374 * @data: data field of a given type
375 * @len: data length
376 * @par: parity data, must be initialized by caller (usually all 0)
377 * @invmsk: invert data mask (will be xored on data, not on parity!)
379 * Each field in the data array contains up to symbol size bits of valid data.
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par,
391 * decode_rs16 - Decode codeword (16bit data width)
393 * @data: data field of a given type
394 * @par: received parity data field
395 * @len: data length
396 * @s: syndrome data field, must be in index form
400 * @invmsk: invert data mask (will be xored on data, not on parity!)
403 * Each field in the data array contains up to symbol size bits of valid data.
412 int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len,