Searched refs:sh_1 (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/lib/mpi/
H A Dgeneric_mpih-lshift.c44 unsigned sh_1, sh_2; mpihelp_lshift() local
48 sh_1 = cnt; mpihelp_lshift()
50 sh_2 = BITS_PER_MPI_LIMB - sh_1; mpihelp_lshift()
57 wp[i] = (high_limb << sh_1) | (low_limb >> sh_2); mpihelp_lshift()
60 wp[i] = high_limb << sh_1; mpihelp_lshift()
H A Dgeneric_mpih-rshift.c45 unsigned sh_1, sh_2; mpihelp_rshift() local
49 sh_1 = cnt; mpihelp_rshift()
51 sh_2 = BITS_PER_MPI_LIMB - sh_1; mpihelp_rshift()
57 wp[i] = (low_limb >> sh_1) | (high_limb << sh_2); mpihelp_rshift()
60 wp[i] = low_limb >> sh_1; mpihelp_rshift()
/linux-4.4.14/arch/nios2/lib/
H A Dmemcpy.c31 #define MERGE(w0, sh_1, w1, sh_2) (((w0) >> (sh_1)) | ((w1) << (sh_2)))
116 int sh_1, sh_2; _wordcopy_fwd_dest_aligned() local
121 sh_1 = 8 * (srcp % OPSIZ); _wordcopy_fwd_dest_aligned()
122 sh_2 = 8 * OPSIZ - sh_1; _wordcopy_fwd_dest_aligned()
137 ((op_t *) dstp)[0] = MERGE(ap, sh_1, a0, sh_2); _wordcopy_fwd_dest_aligned()
138 ((op_t *) dstp)[1] = MERGE(a0, sh_1, a1, sh_2); _wordcopy_fwd_dest_aligned()
139 ((op_t *) dstp)[2] = MERGE(a1, sh_1, a2, sh_2); _wordcopy_fwd_dest_aligned()
140 ((op_t *) dstp)[3] = MERGE(a2, sh_1, a3, sh_2); _wordcopy_fwd_dest_aligned()
151 ((op_t *) dstp)[0] = MERGE(ap, sh_1, a0, sh_2); _wordcopy_fwd_dest_aligned()
/linux-4.4.14/arch/parisc/lib/
H A Dmemcpy.c82 #define MERGE(w0, sh_1, w1, sh_2) ({ \
171 int sh_1, sh_2; copy_dstaligned() local
177 sh_1 = 8 * (src % sizeof(unsigned int)); copy_dstaligned()
178 sh_2 = 8 * sizeof(unsigned int) - sh_1; copy_dstaligned()
233 /* ((unsigned int *) dst)[0] = MERGE (a2, sh_1, a3, sh_2); */ copy_dstaligned()
234 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); copy_dstaligned()
238 /* ((unsigned int *) dst)[1] = MERGE (a3, sh_1, a0, sh_2); */ copy_dstaligned()
239 stw(d_space, MERGE (a3, sh_1, a0, sh_2), 4, dst, cda_stw_exc); copy_dstaligned()
243 /* ((unsigned int *) dst)[2] = MERGE (a0, sh_1, a1, sh_2); */ copy_dstaligned()
244 stw(d_space, MERGE (a0, sh_1, a1, sh_2), 8, dst, cda_stw_exc); copy_dstaligned()
248 /* ((unsigned int *) dst)[3] = MERGE (a1, sh_1, a2, sh_2); */ copy_dstaligned()
249 stw(d_space, MERGE (a1, sh_1, a2, sh_2), 12, dst, cda_stw_exc); copy_dstaligned()
258 /* ((unsigned int *) dst)[0] = MERGE (a2, sh_1, a3, sh_2); */ copy_dstaligned()
259 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); copy_dstaligned()

Completed in 137 milliseconds