Lines Matching refs:dst
141 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument
148 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8()
151 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
157 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument
164 *dst++ = (src[i] >> 24); in store_ecc8()
165 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8()
166 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8()
167 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8()
173 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
381 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument
383 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()