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