| /OK3568_Linux_fs/kernel/arch/m68k/math-emu/ |
| H A D | fp_arith.c | 32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument 36 fp_monadic_check(dest, src); in fp_fabs() 38 dest->sign = 0; in fp_fabs() 40 return dest; in fp_fabs() 44 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument 48 fp_monadic_check(dest, src); in fp_fneg() 50 dest->sign = !dest->sign; in fp_fneg() 52 return dest; in fp_fneg() 61 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument 67 fp_dyadic_check(dest, src); in fp_fadd() [all …]
|
| H A D | fp_log.c | 25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src); 26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src); 29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument 36 fp_monadic_check(dest, src); in fp_fsqrt() 38 if (IS_ZERO(dest)) in fp_fsqrt() 39 return dest; in fp_fsqrt() 41 if (dest->sign) { in fp_fsqrt() 42 fp_set_nan(dest); in fp_fsqrt() 43 return dest; in fp_fsqrt() 45 if (IS_INF(dest)) in fp_fsqrt() [all …]
|
| H A D | fp_trig.c | 22 fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument 26 fp_monadic_check(dest, src); in fp_fsin() 28 return dest; in fp_fsin() 32 fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument 36 fp_monadic_check(dest, src); in fp_fcos() 38 return dest; in fp_fcos() 42 fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument 46 fp_monadic_check(dest, src); in fp_ftan() 48 return dest; in fp_ftan() 52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument [all …]
|
| H A D | multi_arith.h | 81 static inline int fp_addmant(struct fp_ext *dest, struct fp_ext *src) in fp_addmant() argument 86 asm volatile ("add.b %1,%0" : "=d,g" (dest->lowmant) in fp_addmant() 87 : "g,d" (src->lowmant), "0,0" (dest->lowmant)); in fp_addmant() 88 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_addmant() 89 : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1])); in fp_addmant() 90 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0]) in fp_addmant() 91 : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0])); in fp_addmant() 114 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1, in fp_submant() argument 118 asm volatile ("sub.b %1,%0" : "=d,g" (dest->lowmant) in fp_submant() 120 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_submant() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | pio_copy.c | 74 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() local 75 void __iomem *send = dest + PIO_BLOCK_SIZE; in pio_copy() 79 writeq(pbc, dest); in pio_copy() 80 dest += sizeof(u64); in pio_copy() 83 dend = dest + ((count >> 1) * sizeof(u64)); in pio_copy() 91 while (dest < dend) { in pio_copy() 92 writeq(*(u64 *)from, dest); in pio_copy() 94 dest += sizeof(u64); in pio_copy() 107 while (dest < send) { in pio_copy() 108 writeq(*(u64 *)from, dest); in pio_copy() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/avb/libavb/ |
| H A D | avb_hashtree_descriptor.c | 29 const AvbHashtreeDescriptor* src, AvbHashtreeDescriptor* dest) { in avb_hashtree_descriptor_validate_and_byteswap() argument 32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap() 35 (AvbDescriptor*)dest)) in avb_hashtree_descriptor_validate_and_byteswap() 38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASHTREE) { in avb_hashtree_descriptor_validate_and_byteswap() 43 dest->dm_verity_version = avb_be32toh(dest->dm_verity_version); in avb_hashtree_descriptor_validate_and_byteswap() 44 dest->image_size = avb_be64toh(dest->image_size); in avb_hashtree_descriptor_validate_and_byteswap() 45 dest->tree_offset = avb_be64toh(dest->tree_offset); in avb_hashtree_descriptor_validate_and_byteswap() 46 dest->tree_size = avb_be64toh(dest->tree_size); in avb_hashtree_descriptor_validate_and_byteswap() 47 dest->data_block_size = avb_be32toh(dest->data_block_size); in avb_hashtree_descriptor_validate_and_byteswap() 48 dest->hash_block_size = avb_be32toh(dest->hash_block_size); in avb_hashtree_descriptor_validate_and_byteswap() [all …]
|
| H A D | avb_vbmeta_image.c | 248 AvbVBMetaImageHeader* dest) { in avb_vbmeta_image_header_to_host_byte_order() argument 249 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order() 251 dest->required_libavb_version_major = in avb_vbmeta_image_header_to_host_byte_order() 252 avb_be32toh(dest->required_libavb_version_major); in avb_vbmeta_image_header_to_host_byte_order() 253 dest->required_libavb_version_minor = in avb_vbmeta_image_header_to_host_byte_order() 254 avb_be32toh(dest->required_libavb_version_minor); in avb_vbmeta_image_header_to_host_byte_order() 256 dest->authentication_data_block_size = in avb_vbmeta_image_header_to_host_byte_order() 257 avb_be64toh(dest->authentication_data_block_size); in avb_vbmeta_image_header_to_host_byte_order() 258 dest->auxiliary_data_block_size = in avb_vbmeta_image_header_to_host_byte_order() 259 avb_be64toh(dest->auxiliary_data_block_size); in avb_vbmeta_image_header_to_host_byte_order() [all …]
|
| H A D | avb_hash_descriptor.c | 29 AvbHashDescriptor* dest) { in avb_hash_descriptor_validate_and_byteswap() argument 32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap() 35 (AvbDescriptor*)dest)) in avb_hash_descriptor_validate_and_byteswap() 38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASH) { in avb_hash_descriptor_validate_and_byteswap() 43 dest->image_size = avb_be64toh(dest->image_size); in avb_hash_descriptor_validate_and_byteswap() 44 dest->partition_name_len = avb_be32toh(dest->partition_name_len); in avb_hash_descriptor_validate_and_byteswap() 45 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hash_descriptor_validate_and_byteswap() 46 dest->digest_len = avb_be32toh(dest->digest_len); in avb_hash_descriptor_validate_and_byteswap() 47 dest->flags = avb_be32toh(dest->flags); in avb_hash_descriptor_validate_and_byteswap() 51 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hash_descriptor_validate_and_byteswap() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ipvs/ |
| H A D | ip_vs_sh.c | 55 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member 74 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable() argument 76 return atomic_read(&dest->weight) <= 0 || in is_unavailable() 77 dest->flags & IP_VS_DEST_F_OVERLOAD; in is_unavailable() 108 struct ip_vs_dest *dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get() local 110 return (!dest || is_unavailable(dest)) ? NULL : dest; in ip_vs_sh_get() 126 struct ip_vs_dest *dest; in ip_vs_sh_get_fallback() local 130 dest = rcu_dereference(s->buckets[ihash].dest); in ip_vs_sh_get_fallback() 131 if (!dest) in ip_vs_sh_get_fallback() 133 if (!is_unavailable(dest)) in ip_vs_sh_get_fallback() [all …]
|
| H A D | ip_vs_mh.c | 39 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member 81 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable() argument 83 return atomic_read(&dest->weight) <= 0 || in is_unavailable() 84 dest->flags & IP_VS_DEST_F_OVERLOAD; in is_unavailable() 109 struct ip_vs_dest *dest; in ip_vs_mh_reset() local 113 dest = rcu_dereference_protected(l->dest, 1); in ip_vs_mh_reset() 114 if (dest) { in ip_vs_mh_reset() 115 ip_vs_dest_put(dest); in ip_vs_mh_reset() 116 RCU_INIT_POINTER(l->dest, NULL); in ip_vs_mh_reset() 127 struct ip_vs_dest *dest; in ip_vs_mh_permutate() local [all …]
|
| H A D | ip_vs_dh.c | 50 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member 90 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 103 struct ip_vs_dest *dest; in ip_vs_dh_reassign() local 110 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_dh_reassign() 111 if (dest) in ip_vs_dh_reassign() 112 ip_vs_dest_put(dest); in ip_vs_dh_reassign() 114 RCU_INIT_POINTER(b->dest, NULL); in ip_vs_dh_reassign() 119 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_dh_reassign() 120 ip_vs_dest_hold(dest); in ip_vs_dh_reassign() 121 RCU_INIT_POINTER(b->dest, dest); in ip_vs_dh_reassign() [all …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/lib/ |
| H A D | memmove.c | 10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 12 void *xdest = dest; in memmove() 18 if (dest < src) { in memmove() 19 if ((long)dest & 1) { in memmove() 20 char *cdest = dest; in memmove() 23 dest = cdest; in memmove() 27 if (n > 2 && (long)dest & 2) { in memmove() 28 short *sdest = dest; in memmove() 31 dest = sdest; in memmove() 37 long *ldest = dest; in memmove() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | process.c | 287 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument 292 dest[ 0] = pt->r0; in dump_elf_thread() 293 dest[ 1] = pt->r1; in dump_elf_thread() 294 dest[ 2] = pt->r2; in dump_elf_thread() 295 dest[ 3] = pt->r3; in dump_elf_thread() 296 dest[ 4] = pt->r4; in dump_elf_thread() 297 dest[ 5] = pt->r5; in dump_elf_thread() 298 dest[ 6] = pt->r6; in dump_elf_thread() 299 dest[ 7] = pt->r7; in dump_elf_thread() 300 dest[ 8] = pt->r8; in dump_elf_thread() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmstdlib_s.c | 76 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 80 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 91 memset(dest, 0, destsz); in memmove_s() 97 memset(dest, 0, destsz); in memmove_s() 102 memmove(dest, src, n); in memmove_s() 118 BCMPOSTTRAPFN(memcpy_s)(void *dest, size_t destsz, const void *src, size_t n) in BCMPOSTTRAPFN() 121 char *d = dest; in BCMPOSTTRAPFN() 135 memset(dest, 0, destsz); in BCMPOSTTRAPFN() 141 memset(dest, 0, destsz); in BCMPOSTTRAPFN() 148 memset(dest, 0, destsz); in BCMPOSTTRAPFN() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmstdlib_s.c | 76 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 80 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 91 memset(dest, 0, destsz); in memmove_s() 97 memset(dest, 0, destsz); in memmove_s() 102 memmove(dest, src, n); in memmove_s() 118 BCMPOSTTRAPFN(memcpy_s)(void *dest, size_t destsz, const void *src, size_t n) in BCMPOSTTRAPFN() 121 char *d = dest; in BCMPOSTTRAPFN() 135 memset(dest, 0, destsz); in BCMPOSTTRAPFN() 141 memset(dest, 0, destsz); in BCMPOSTTRAPFN() 148 memset(dest, 0, destsz); in BCMPOSTTRAPFN() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcmstdlib_s.c | 71 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 75 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 86 memset(dest, 0, destsz); in memmove_s() 92 memset(dest, 0, destsz); in memmove_s() 97 memmove(dest, src, n); in memmove_s() 113 memcpy_s(void *dest, size_t destsz, const void *src, size_t n) in memcpy_s() argument 116 char *d = dest; in memcpy_s() 130 memset(dest, 0, destsz); in memcpy_s() 136 memset(dest, 0, destsz); in memcpy_s() 143 memset(dest, 0, destsz); in memcpy_s() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmstdlib_s.c | 72 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 76 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 87 memset(dest, 0, destsz); in memmove_s() 93 memset(dest, 0, destsz); in memmove_s() 98 memmove(dest, src, n); in memmove_s() 114 memcpy_s(void *dest, size_t destsz, const void *src, size_t n) in memcpy_s() argument 117 char *d = dest; in memcpy_s() 131 memset(dest, 0, destsz); in memcpy_s() 137 memset(dest, 0, destsz); in memcpy_s() 144 memset(dest, 0, destsz); in memcpy_s() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmstdlib_s.c | 72 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 76 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 87 memset(dest, 0, destsz); in memmove_s() 93 memset(dest, 0, destsz); in memmove_s() 98 memmove(dest, src, n); in memmove_s() 114 memcpy_s(void *dest, size_t destsz, const void *src, size_t n) in memcpy_s() argument 117 char *d = dest; in memcpy_s() 131 memset(dest, 0, destsz); in memcpy_s() 137 memset(dest, 0, destsz); in memcpy_s() 144 memset(dest, 0, destsz); in memcpy_s() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmstdlib_s.c | 72 memmove_s(void *dest, size_t destsz, const void *src, size_t n) in memmove_s() argument 76 if ((!dest) || (((char *)dest + destsz) < (char *)dest)) { in memmove_s() 87 memset(dest, 0, destsz); in memmove_s() 93 memset(dest, 0, destsz); in memmove_s() 98 memmove(dest, src, n); in memmove_s() 114 memcpy_s(void *dest, size_t destsz, const void *src, size_t n) in memcpy_s() argument 117 char *d = dest; in memcpy_s() 131 memset(dest, 0, destsz); in memcpy_s() 137 memset(dest, 0, destsz); in memcpy_s() 144 memset(dest, 0, destsz); in memcpy_s() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | charset.c | 31 uint16_t *utf16_strcpy(uint16_t *dest, const uint16_t *src) in utf16_strcpy() argument 33 uint16_t *tmp = dest; in utf16_strcpy() 35 while ((*dest++ = *src++) != '\0') in utf16_strcpy() 51 uint8_t *utf16_to_utf8(uint8_t *dest, const uint16_t *src, size_t size) in utf16_to_utf8() argument 63 *dest++ = (code >> 18) | 0xF0; in utf16_to_utf8() 64 *dest++ = ((code >> 12) & 0x3F) | 0x80; in utf16_to_utf8() 65 *dest++ = ((code >> 6) & 0x3F) | 0x80; in utf16_to_utf8() 66 *dest++ = (code & 0x3F) | 0x80; in utf16_to_utf8() 69 *dest++ = '?'; in utf16_to_utf8() 77 *dest++ = code; in utf16_to_utf8() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/ |
| H A D | pxi-6030e.c | 35 .dest = NI_PFI(0), 42 .dest = NI_PFI(1), 49 .dest = NI_PFI(2), 56 .dest = NI_PFI(3), 63 .dest = NI_PFI(4), 70 .dest = NI_PFI(5), 77 .dest = NI_PFI(6), 84 .dest = NI_PFI(7), 91 .dest = NI_PFI(8), 98 .dest = NI_PFI(9), [all …]
|
| H A D | pci-6070e.c | 35 .dest = NI_PFI(0), 42 .dest = NI_PFI(1), 49 .dest = NI_PFI(2), 56 .dest = NI_PFI(3), 63 .dest = NI_PFI(4), 70 .dest = NI_PFI(5), 77 .dest = NI_PFI(6), 84 .dest = NI_PFI(7), 91 .dest = NI_PFI(8), 98 .dest = NI_PFI(9), [all …]
|
| H A D | pci-6733.c | 35 .dest = NI_PFI(3), 42 .dest = NI_PFI(4), 49 .dest = NI_PFI(5), 56 .dest = NI_PFI(6), 63 .dest = NI_PFI(8), 70 .dest = NI_PFI(9), 77 .dest = TRIGGER_LINE(0), 89 .dest = TRIGGER_LINE(1), 101 .dest = TRIGGER_LINE(2), 113 .dest = TRIGGER_LINE(3), [all …]
|
| H A D | pxi-6733.c | 35 .dest = NI_PFI(3), 42 .dest = NI_PFI(4), 49 .dest = NI_PFI(5), 56 .dest = NI_PFI(6), 63 .dest = NI_PFI(8), 70 .dest = NI_PFI(9), 77 .dest = TRIGGER_LINE(0), 89 .dest = TRIGGER_LINE(1), 101 .dest = TRIGGER_LINE(2), 113 .dest = TRIGGER_LINE(3), [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/lib/ |
| H A D | feature-fixups.c | 46 static int patch_alt_instruction(struct ppc_inst *src, struct ppc_inst *dest, in patch_alt_instruction() argument 59 err = translate_branch(&instr, dest, src); in patch_alt_instruction() 65 raw_patch_instruction(dest, instr); in patch_alt_instruction() 72 struct ppc_inst *start, *end, *alt_start, *alt_end, *src, *dest, nop; in patch_feature_section() local 86 dest = start; in patch_feature_section() 89 dest = ppc_inst_next(dest, dest)) { in patch_feature_section() 90 if (patch_alt_instruction(src, dest, alt_start, alt_end)) in patch_feature_section() 95 for (; dest < end; dest = ppc_inst_next(dest, &nop)) in patch_feature_section() 96 raw_patch_instruction(dest, nop); in patch_feature_section() 124 unsigned int instrs[3], *dest; in do_stf_entry_barrier_fixups() local [all …]
|