Lines Matching refs:dst
185 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument
192 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8()
195 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
201 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument
208 *dst++ = (src[i] >> 24); in store_ecc8()
209 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8()
210 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8()
211 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8()
217 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
420 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument
422 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()