Lines Matching defs:calc_ecc
1014 * @data: received data, ignored if @calc_ecc is provided
1016 * @recv_ecc: received ecc, if NULL then assume it was XORed in @calc_ecc
1017 * @calc_ecc: calculated ecc, if NULL then calc_ecc is computed from @data
1025 * Depending on the available hw BCH support and the need to compute @calc_ecc
1032 * by providing @recv_ecc and @calc_ecc:
1033 * bch_decode(@bch, NULL, @len, @recv_ecc, @calc_ecc, NULL, @errloc)
1035 * by providing ecc = recv_ecc XOR calc_ecc:
1054 const uint8_t *recv_ecc, const uint8_t *calc_ecc,
1068 if (!calc_ecc) {
1075 load_ecc8(bch, bch->ecc_buf, calc_ecc);
1077 /* load received ecc or assume it was XORed in calc_ecc */