Lines Matching defs:parity
30 * Call bch_encode to compute and store ecc parity bytes to a given buffer.
194 * bch_encode - calculate BCH ecc parity of data
198 * @ecc: ecc parity data, must be initialized by caller
200 * The @ecc parity array is used both as input and output parameter, in order to
204 * The exact number of computed ecc parity bits is given by member @ecc_bits of
225 /* load ecc parity bytes into internal 32-bit buffer */
283 /* store ecc parity bytes into original parity buffer */
314 static inline int parity(unsigned int x)
530 tmp |= parity(mask) << (m-r);