Lines Matching +full:width +full:- +full:mm
1 // SPDX-License-Identifier: GPL-2.0
17 * struct rs_codec - rs codec data
19 * @mm: Bits per symbol
20 * @nn: Symbols per block (= (1<<mm)-1)
27 * @iprim: prim-th root of 1, index form
29 * @gffunc: Function to generate the field, if non-canonical representation
34 int mm; member
50 * struct rs_control - rs control structure per instance
59 /* General purpose RS codec, 8-bit data width, symbol width 1-15 bit */
70 /* General purpose RS codec, 16-bit data width, symbol width 1-15 bit */
85 * init_rs - Create a RS control struct and initialize it
115 * rs->mm = number of bits per symbol
116 * rs->nn = (2^rs->mm) - 1
119 * >= 3 * rs->nn
123 while (x >= rs->nn) { in rs_modnn()
124 x -= rs->nn; in rs_modnn()
125 x = (x >> rs->mm) + (x & rs->nn); in rs_modnn()