Lines Matching refs:parity
18 * Call encode_bch to compute and store ecc parity bytes to a given buffer.
221 * encode_bch - calculate BCH ecc parity of data
225 * @ecc: ecc parity data, must be initialized by caller
227 * The @ecc parity array is used both as input and output parameter, in order to
231 * The exact number of computed ecc parity bits is given by member @ecc_bits of
248 /* load ecc parity bytes into internal 32-bit buffer */
300 /* store ecc parity bytes into original parity buffer */
330 static inline int parity(unsigned int x)
546 tmp |= parity(mask) << (m-r);