Lines Matching defs:calc_ecc
996 * @data: received data, ignored if @calc_ecc is provided
998 * @recv_ecc: received ecc, if NULL then assume it was XORed in @calc_ecc
999 * @calc_ecc: calculated ecc, if NULL then calc_ecc is computed from @data
1007 * Depending on the available hw BCH support and the need to compute @calc_ecc
1014 * by providing @recv_ecc and @calc_ecc:
1015 * decode_bch(@bch, NULL, @len, @recv_ecc, @calc_ecc, NULL, @errloc)
1017 * by providing ecc = recv_ecc XOR calc_ecc:
1036 const uint8_t *recv_ecc, const uint8_t *calc_ecc,
1050 if (!calc_ecc) {
1057 load_ecc8(bch, bch->ecc_buf, calc_ecc);
1059 /* load received ecc or assume it was XORed in calc_ecc */