| /arch/m68k/math-emu/ |
| D | fp_arith.c | 31 struct fp_ext *fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument 35 fp_monadic_check(dest, src); in fp_fabs() 42 struct fp_ext *fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument 46 fp_monadic_check(dest, src); in fp_fneg() 58 struct fp_ext *fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument 64 fp_dyadic_check(dest, src); in fp_fadd() 68 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd() 72 if (IS_INF(src)) { in fp_fadd() 73 fp_copy_ext(dest, src); in fp_fadd() 78 if (IS_ZERO(src)) { in fp_fadd() [all …]
|
| D | fp_trig.c | 21 struct fp_ext *fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument 25 fp_monadic_check(dest, src); in fp_fsin() 30 struct fp_ext *fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument 34 fp_monadic_check(dest, src); in fp_fcos() 39 struct fp_ext *fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument 43 fp_monadic_check(dest, src); in fp_ftan() 48 struct fp_ext *fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument 52 fp_monadic_check(dest, src); in fp_fasin() 57 struct fp_ext *fp_facos(struct fp_ext *dest, struct fp_ext *src) in fp_facos() argument 61 fp_monadic_check(dest, src); in fp_facos() [all …]
|
| D | fp_trig.h | 32 struct fp_ext *fp_fsin(struct fp_ext *dest, struct fp_ext *src); 33 struct fp_ext *fp_fcos(struct fp_ext *dest, struct fp_ext *src); 34 struct fp_ext *fp_ftan(struct fp_ext *dest, struct fp_ext *src); 35 struct fp_ext *fp_fasin(struct fp_ext *dest, struct fp_ext *src); 36 struct fp_ext *fp_facos(struct fp_ext *dest, struct fp_ext *src); 37 struct fp_ext *fp_fatan(struct fp_ext *dest, struct fp_ext *src); 38 struct fp_ext *fp_fsinh(struct fp_ext *dest, struct fp_ext *src); 39 struct fp_ext *fp_fcosh(struct fp_ext *dest, struct fp_ext *src); 40 struct fp_ext *fp_ftanh(struct fp_ext *dest, struct fp_ext *src); 41 struct fp_ext *fp_fatanh(struct fp_ext *dest, struct fp_ext *src); [all …]
|
| D | fp_log.c | 26 struct fp_ext *fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument 33 fp_monadic_check(dest, src); in fp_fsqrt() 99 struct fp_ext *fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src) in fp_fetoxm1() argument 103 fp_monadic_check(dest, src); in fp_fetoxm1() 108 struct fp_ext *fp_fetox(struct fp_ext *dest, struct fp_ext *src) in fp_fetox() argument 112 fp_monadic_check(dest, src); in fp_fetox() 117 struct fp_ext *fp_ftwotox(struct fp_ext *dest, struct fp_ext *src) in fp_ftwotox() argument 121 fp_monadic_check(dest, src); in fp_ftwotox() 126 struct fp_ext *fp_ftentox(struct fp_ext *dest, struct fp_ext *src) in fp_ftentox() argument 130 fp_monadic_check(dest, src); in fp_ftentox() [all …]
|
| D | fp_arith.h | 19 struct fp_ext *fp_fabs(struct fp_ext *dest, struct fp_ext *src); 20 struct fp_ext *fp_fneg(struct fp_ext *dest, struct fp_ext *src); 23 struct fp_ext *fp_fadd(struct fp_ext *dest, struct fp_ext *src); 24 struct fp_ext *fp_fsub(struct fp_ext *dest, struct fp_ext *src); 25 struct fp_ext *fp_fcmp(struct fp_ext *dest, struct fp_ext *src); 26 struct fp_ext *fp_ftst(struct fp_ext *dest, struct fp_ext *src); 27 struct fp_ext *fp_fmul(struct fp_ext *dest, struct fp_ext *src); 28 struct fp_ext *fp_fdiv(struct fp_ext *dest, struct fp_ext *src); 29 struct fp_ext *fp_fsglmul(struct fp_ext *dest, struct fp_ext *src); 30 struct fp_ext *fp_fsgldiv(struct fp_ext *dest, struct fp_ext *src); [all …]
|
| D | fp_log.h | 32 struct fp_ext *fp_fsqrt(struct fp_ext *dest, struct fp_ext *src); 33 struct fp_ext *fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src); 34 struct fp_ext *fp_fetox(struct fp_ext *dest, struct fp_ext *src); 35 struct fp_ext *fp_ftwotox(struct fp_ext *dest, struct fp_ext *src); 36 struct fp_ext *fp_ftentox(struct fp_ext *dest, struct fp_ext *src); 37 struct fp_ext *fp_flogn(struct fp_ext *dest, struct fp_ext *src); 38 struct fp_ext *fp_flognp1(struct fp_ext *dest, struct fp_ext *src); 39 struct fp_ext *fp_flog10(struct fp_ext *dest, struct fp_ext *src); 40 struct fp_ext *fp_flog2(struct fp_ext *dest, struct fp_ext *src); 41 struct fp_ext *fp_fgetexp(struct fp_ext *dest, struct fp_ext *src); [all …]
|
| /arch/parisc/math-emu/ |
| D | sfsqrt.c | 44 register unsigned int src, result; in sgl_fsqrt() local 49 src = *srcptr; in sgl_fsqrt() 53 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_fsqrt() 57 if (Sgl_isone_signaling(src)) { in sgl_fsqrt() 62 Sgl_set_quiet(src); in sgl_fsqrt() 68 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) { in sgl_fsqrt() 69 *dstptr = src; in sgl_fsqrt() 77 if (Sgl_iszero_exponentmantissa(src)) { in sgl_fsqrt() 78 *dstptr = src; in sgl_fsqrt() 85 if (Sgl_isone_sign(src)) { in sgl_fsqrt() [all …]
|
| D | fcnvfx.c | 51 register unsigned int src, temp; in sgl_to_sgl_fcnvfx() local 55 src = *srcptr; in sgl_to_sgl_fcnvfx() 56 src_exponent = Sgl_exponent(src) - SGL_BIAS; in sgl_to_sgl_fcnvfx() 64 Sgl_isnotzero_mantissa(src) || Sgl_iszero_sign(src)) { in sgl_to_sgl_fcnvfx() 65 if (Sgl_iszero_sign(src)) result = 0x7fffffff; in sgl_to_sgl_fcnvfx() 80 temp = src; in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 87 if (Sgl_isinexact_to_fix(src,src_exponent)) { in sgl_to_sgl_fcnvfx() 92 if (Sgl_iszero_sign(src)) result++; in sgl_to_sgl_fcnvfx() 95 if (Sgl_isone_sign(src)) result--; in sgl_to_sgl_fcnvfx() [all …]
|
| /arch/nios2/lib/ |
| D | memmove.c | 15 unsigned long dst, src; in memmove() local 22 src = (unsigned long) s; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 32 *(short *)dst = *(short *)src; in memmove() 33 src += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 39 src += 4; in memmove() 45 *(char *)dst++ = *(char *)src++; in memmove() 48 src = (unsigned long) s + count; in memmove() [all …]
|
| /arch/m68k/lib/ |
| D | memmove.c | 10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 18 if (dest < src) { in memmove() 21 const char *csrc = src; in memmove() 24 src = csrc; in memmove() 29 const short *ssrc = src; in memmove() 32 src = ssrc; in memmove() 38 const long *lsrc = src; in memmove() 44 src = lsrc; in memmove() 48 const short *ssrc = src; in memmove() 51 src = ssrc; in memmove() [all …]
|
| /arch/x86/lib/ |
| D | memmove_32.S | 21 .set src, %esi define 42 movl src_in, src 50 cmpl dest, src 60 movl src, tmp0 70 movl 0*4(src), tmp0 71 movl 1*4(src), tmp1 74 movl 2*4(src), tmp0 75 movl 3*4(src), tmp1 78 leal 0x10(src), src 87 movl -4(src, n), tmp0 [all …]
|
| D | copy_mc.c | 45 unsigned long copy_mc_enhanced_fast_string(void *dst, const void *src, unsigned len); 63 unsigned long __must_check copy_mc_to_kernel(void *dst, const void *src, unsigned len) in copy_mc_to_kernel() argument 68 instrument_memcpy_before(dst, src, len); in copy_mc_to_kernel() 69 ret = copy_mc_fragile(dst, src, len); in copy_mc_to_kernel() 70 instrument_memcpy_after(dst, src, len, ret); in copy_mc_to_kernel() 74 instrument_memcpy_before(dst, src, len); in copy_mc_to_kernel() 75 ret = copy_mc_enhanced_fast_string(dst, src, len); in copy_mc_to_kernel() 76 instrument_memcpy_after(dst, src, len, ret); in copy_mc_to_kernel() 79 memcpy(dst, src, len); in copy_mc_to_kernel() 84 unsigned long __must_check copy_mc_to_user(void __user *dst, const void *src, unsigned len) in copy_mc_to_user() argument [all …]
|
| /arch/microblaze/lib/ |
| D | memmove.c | 36 const char *src = v_src; in memmove() local 57 src += c; in memmove() 67 *--dst = *--src; in memmove() 71 *--dst = *--src; in memmove() 75 *--dst = *--src; in memmove() 82 switch ((unsigned long)src & 3) { in memmove() 85 i_src = (const void *)src; in memmove() 90 src = (const void *)i_src; in memmove() 94 i_src = (const void *) (((unsigned)src + 4) & ~3); in memmove() 116 src = (const void *)i_src; in memmove() [all …]
|
| D | memcpy.c | 37 const char *src = v_src; in memcpy() local 56 *dst++ = *src++; in memcpy() 60 *dst++ = *src++; in memcpy() 64 *dst++ = *src++; in memcpy() 72 switch ((unsigned long)src & 3) { in memcpy() 74 i_src = (const void *)src; in memcpy() 79 src = (const void *)i_src; in memcpy() 83 i_src = (const void *) ((unsigned)src & ~3); in memcpy() 104 src = (const void *)i_src; in memcpy() 105 src -= 3; in memcpy() [all …]
|
| /arch/x86/crypto/ |
| D | aria-avx.h | 17 const u8 *src); 19 const u8 *src); 21 const u8 *src, 24 const u8 *src); 26 const u8 *src); 28 const u8 *src, 32 const u8 *src); 34 const u8 *src); 36 const u8 *src, 39 const u8 *src); [all …]
|
| D | serpent-sse2.h | 13 const u8 *src, bool xor); 15 const u8 *src); 17 static inline void serpent_enc_blk_xway(const void *ctx, u8 *dst, const u8 *src) in serpent_enc_blk_xway() argument 19 __serpent_enc_blk_4way(ctx, dst, src, false); in serpent_enc_blk_xway() 23 u8 *dst, const u8 *src) in serpent_enc_blk_xway_xor() argument 25 __serpent_enc_blk_4way(ctx, dst, src, true); in serpent_enc_blk_xway_xor() 28 static inline void serpent_dec_blk_xway(const void *ctx, u8 *dst, const u8 *src) in serpent_dec_blk_xway() argument 30 serpent_dec_blk_4way(ctx, dst, src); in serpent_dec_blk_xway() 38 const u8 *src, bool xor); 40 const u8 *src); [all …]
|
| D | glue_helper-asm-avx.S | 8 #define load_8way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ argument 9 vmovdqu (0*16)(src), x0; \ 10 vmovdqu (1*16)(src), x1; \ 11 vmovdqu (2*16)(src), x2; \ 12 vmovdqu (3*16)(src), x3; \ 13 vmovdqu (4*16)(src), x4; \ 14 vmovdqu (5*16)(src), x5; \ 15 vmovdqu (6*16)(src), x6; \ 16 vmovdqu (7*16)(src), x7; 28 #define store_cbc_8way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument [all …]
|
| D | glue_helper-asm-avx2.S | 8 #define load_16way(src, x0, x1, x2, x3, x4, x5, x6, x7) \ argument 9 vmovdqu (0*32)(src), x0; \ 10 vmovdqu (1*32)(src), x1; \ 11 vmovdqu (2*32)(src), x2; \ 12 vmovdqu (3*32)(src), x3; \ 13 vmovdqu (4*32)(src), x4; \ 14 vmovdqu (5*32)(src), x5; \ 15 vmovdqu (6*32)(src), x6; \ 16 vmovdqu (7*32)(src), x7; 28 #define store_cbc_16way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7, t0) \ argument [all …]
|
| D | camellia.h | 27 asmlinkage void __camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src, 29 asmlinkage void camellia_dec_blk(const void *ctx, u8 *dst, const u8 *src); 32 asmlinkage void __camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src, 34 asmlinkage void camellia_dec_blk_2way(const void *ctx, u8 *dst, const u8 *src); 37 asmlinkage void camellia_ecb_enc_16way(const void *ctx, u8 *dst, const u8 *src); 38 asmlinkage void camellia_ecb_dec_16way(const void *ctx, u8 *dst, const u8 *src); 40 asmlinkage void camellia_cbc_dec_16way(const void *ctx, u8 *dst, const u8 *src); 42 static inline void camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src) in camellia_enc_blk() argument 44 __camellia_enc_blk(ctx, dst, src, false); in camellia_enc_blk() 47 static inline void camellia_enc_blk_xor(const void *ctx, u8 *dst, const u8 *src) in camellia_enc_blk_xor() argument [all …]
|
| /arch/mips/cavium-octeon/ |
| D | octeon-memcpy.S | 22 #define src a1 macro 187 EXC( LOAD t0, UNIT(0)(src), l_exc) 188 EXC( LOAD t1, UNIT(1)(src), l_exc_copy) 189 EXC( LOAD t2, UNIT(2)(src), l_exc_copy) 190 EXC( LOAD t3, UNIT(3)(src), l_exc_copy) 196 EXC( LOAD t0, UNIT(4)(src), l_exc_copy) 197 EXC( LOAD t1, UNIT(5)(src), l_exc_copy) 198 EXC( LOAD t2, UNIT(6)(src), l_exc_copy) 199 EXC( LOAD t3, UNIT(7)(src), l_exc_copy) 203 ADD src, src, 16*NBYTES [all …]
|
| /arch/mips/lib/ |
| D | csum_partial.S | 75 #define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 76 LOAD _t0, (offset + UNIT(0))(src); \ 77 LOAD _t1, (offset + UNIT(1))(src); \ 78 LOAD _t2, (offset + UNIT(2))(src); \ 79 LOAD _t3, (offset + UNIT(3))(src); \ 86 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 87 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) 89 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument 90 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3); \ 91 CSUM_BIGCHUNK1(src, offset + 0x10, sum, _t0, _t1, _t2, _t3) [all …]
|
| /arch/s390/include/asm/ |
| D | pci_io.h | 74 static inline int zpci_write_single(volatile void __iomem *dst, const void *src, in zpci_write_single() argument 81 val = (u64) *((u8 *) src); in zpci_write_single() 84 val = (u64) *((u16 *) src); in zpci_write_single() 87 val = (u64) *((u32 *) src); in zpci_write_single() 90 val = (u64) *((u64 *) src); in zpci_write_single() 99 static inline int zpci_read_single(void *dst, const volatile void __iomem *src, in zpci_read_single() argument 105 cc = zpci_load(&data, src, len); in zpci_read_single() 127 int zpci_write_block(volatile void __iomem *dst, const void *src, 130 static inline int zpci_get_max_io_size(u64 src, u64 dst, int len, int max) in zpci_get_max_io_size() argument 136 if (IS_ALIGNED(src, 8) && IS_ALIGNED(dst, 8) && IS_ALIGNED(size, 8)) in zpci_get_max_io_size() [all …]
|
| /arch/x86/kernel/ |
| D | pvclock.c | 27 unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src) in pvclock_tsc_khz() argument 31 do_div(pv_tsc_khz, src->tsc_to_system_mul); in pvclock_tsc_khz() 32 if (src->tsc_shift < 0) in pvclock_tsc_khz() 33 pv_tsc_khz <<= -src->tsc_shift; in pvclock_tsc_khz() 35 pv_tsc_khz >>= src->tsc_shift; in pvclock_tsc_khz() 54 u8 pvclock_read_flags(struct pvclock_vcpu_time_info *src) in pvclock_read_flags() argument 60 version = pvclock_read_begin(src); in pvclock_read_flags() 61 flags = src->flags; in pvclock_read_flags() 62 } while (pvclock_read_retry(src, version)); in pvclock_read_flags() 68 u64 __pvclock_clocksource_read(struct pvclock_vcpu_time_info *src, bool dowd) in __pvclock_clocksource_read() argument [all …]
|
| /arch/x86/boot/compressed/ |
| D | string.c | 14 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument 22 : "0" (n >> 2), "g" (n & 3), "1" (dest), "2" (src) in ____memcpy() 28 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument 36 : "0" (n >> 3), "g" (n & 7), "1" (dest), "2" (src) in ____memcpy() 53 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 56 const unsigned char *s = src; in memmove() 59 return ____memcpy(dest, src, n); in memmove() 68 void *memcpy(void *dest, const void *src, size_t n) in memcpy() argument 70 if (dest > src && dest - src < n) { in memcpy() 72 return memmove(dest, src, n); in memcpy() [all …]
|
| /arch/arm64/lib/ |
| D | copy_template.S | 25 src .req x1 label 47 neg tmp2, src 58 ldrb1 tmp1w, src, #1 62 ldrh1 tmp1w, src, #2 66 ldr1 tmp1w, src, #4 70 ldr1 tmp1, src, #8 90 ldp1 A_l, A_h, src, #16 93 ldp1 A_l, A_h, src, #16 96 ldp1 A_l, A_h, src, #16 111 ldr1 tmp1, src, #8 [all …]
|