Lines Matching refs:dst
135 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument
142 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; in load_ecc8()
145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
151 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument
158 *dst++ = (src[i] >> 24); in store_ecc8()
159 *dst++ = (src[i] >> 16) & 0xff; in store_ecc8()
160 *dst++ = (src[i] >> 8) & 0xff; in store_ecc8()
161 *dst++ = (src[i] >> 0) & 0xff; in store_ecc8()
167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
371 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src) in gf_poly_copy() argument
373 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()