Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\reed_solomon\test_rslib.c Create Date:2022-07-28 06:59:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:compute_syndrome

Proto:static void compute_syndrome(struct rs_control *rsc, uint16_t *data, int len, uint16_t *syn)

Type:void

Parameter:

TypeParameterName
struct rs_control *rsc
uint16_t *data
intlen
uint16_t *syn
232  rs = codec
233  alpha_to = alpha_to
234  index_of = index_of
235  nroots = nroots
236  prim = prim
237  fcr = fcr
241  When i < nroots cycle
242  syn[i] = data[0]
243  When j < len cycle
244  If syn[i] == 0 Then
245  syn[i] = data[j]
246  Else
255  When i < nroots cycle syn[i] = index_of[syn[i]]
Caller
NameDescribe
test_ucTest up to error correction capacity