Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/Zephyr-latest/subsys/dsp/cmsis/public/
Dzdsp_backend.h19 static inline void zdsp_mult_q7(const q7_t *src_a, const q7_t *src_b, q7_t *dst, in zdsp_mult_q7() argument
22 arm_mult_q7(src_a, src_b, dst, block_size); in zdsp_mult_q7()
24 static inline void zdsp_mult_q15(const q15_t *src_a, const q15_t *src_b, q15_t *dst, in zdsp_mult_q15() argument
27 arm_mult_q15(src_a, src_b, dst, block_size); in zdsp_mult_q15()
29 static inline void zdsp_mult_q31(const q31_t *src_a, const q31_t *src_b, q31_t *dst, in zdsp_mult_q31() argument
32 arm_mult_q31(src_a, src_b, dst, block_size); in zdsp_mult_q31()
34 static inline void zdsp_mult_f32(const float32_t *src_a, const float32_t *src_b, float32_t *dst, in zdsp_mult_f32() argument
37 arm_mult_f32(src_a, src_b, dst, block_size); in zdsp_mult_f32()
40 static inline void zdsp_add_q7(const q7_t *src_a, const q7_t *src_b, q7_t *dst, uint32_t block_size) in zdsp_add_q7() argument
42 arm_add_q7(src_a, src_b, dst, block_size); in zdsp_add_q7()
[all …]
Dzdsp_backend_f16.h19 static inline void zdsp_mult_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst, in zdsp_mult_f16() argument
22 arm_mult_f16(src_a, src_b, dst, block_size); in zdsp_mult_f16()
25 static inline void zdsp_add_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst, in zdsp_add_f16() argument
28 arm_add_f16(src_a, src_b, dst, block_size); in zdsp_add_f16()
31 static inline void zdsp_sub_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst, in zdsp_sub_f16() argument
34 arm_sub_f16(src_a, src_b, dst, block_size); in zdsp_sub_f16()
37 static inline void zdsp_scale_f16(const float16_t *src, float16_t scale, float16_t *dst, in zdsp_scale_f16() argument
40 arm_scale_f16(src, scale, dst, block_size); in zdsp_scale_f16()
43 static inline void zdsp_abs_f16(const float16_t *src, float16_t *dst, uint32_t block_size) in zdsp_abs_f16() argument
45 arm_abs_f16(src, dst, block_size); in zdsp_abs_f16()
[all …]
/Zephyr-latest/subsys/dsp/arcmwdt/public/
Dzdsp_backend.h23 DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_mult_q7() argument
25 dsp_mult_q7(src_a, src_b, dst, block_size); in zdsp_mult_q7()
28 DSP_DATA q15_t *dst, uint32_t block_size) in zdsp_mult_q15() argument
30 dsp_mult_q15(src_a, src_b, dst, block_size); in zdsp_mult_q15()
33 DSP_DATA q31_t *dst, uint32_t block_size) in zdsp_mult_q31() argument
35 dsp_mult_q31(src_a, src_b, dst, block_size); in zdsp_mult_q31()
38 DSP_DATA float32_t *dst, uint32_t block_size) in zdsp_mult_f32() argument
40 dsp_mult_f32(src_a, src_b, dst, block_size); in zdsp_mult_f32()
44 DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_add_q7() argument
46 dsp_add_q7(src_a, src_b, dst, block_size); in zdsp_add_q7()
[all …]
/Zephyr-latest/tests/arch/arm/arm_thread_swap/src/
Darm_thread_arch.c95 const _callee_saved_t *dst) in verify_callee_saved() argument
98 zassert_true((src->v1 == dst->v1) in verify_callee_saved()
99 && (src->v2 == dst->v2) in verify_callee_saved()
100 && (src->v3 == dst->v3) in verify_callee_saved()
101 && (src->v4 == dst->v4) in verify_callee_saved()
102 && (src->v5 == dst->v5) in verify_callee_saved()
103 && (src->v6 == dst->v6) in verify_callee_saved()
104 && (src->v7 == dst->v7) in verify_callee_saved()
105 && (src->v8 == dst->v8), in verify_callee_saved()
116 dst->v1, in verify_callee_saved()
[all …]
/Zephyr-latest/subsys/net/ip/
Dpmtu.c38 static struct net_pmtu_entry *get_pmtu_entry(const struct sockaddr *dst) in get_pmtu_entry() argument
46 switch (dst->sa_family) { in get_pmtu_entry()
49 pmtu_entries[i].dst.family == AF_INET && in get_pmtu_entry()
50 net_ipv4_addr_cmp(&pmtu_entries[i].dst.in_addr, in get_pmtu_entry()
51 &net_sin(dst)->sin_addr)) { in get_pmtu_entry()
59 pmtu_entries[i].dst.family == AF_INET6 && in get_pmtu_entry()
60 net_ipv6_addr_cmp(&pmtu_entries[i].dst.in6_addr, in get_pmtu_entry()
61 &net_sin6(dst)->sin6_addr)) { in get_pmtu_entry()
121 if (IS_ENABLED(CONFIG_NET_IPV4_PMTU) && entry->dst.family == AF_INET) { in update_pmtu_entry()
124 net_ipaddr_copy(&info.dst, &entry->dst.in_addr); in update_pmtu_entry()
[all …]
Dpmtu.h22 struct net_addr dst; member
38 struct net_pmtu_entry *net_pmtu_get_entry(const struct sockaddr *dst);
40 static inline struct net_pmtu_entry *net_pmtu_get_entry(const struct sockaddr *dst) in net_pmtu_get_entry() argument
42 ARG_UNUSED(dst); in net_pmtu_get_entry()
55 int net_pmtu_get_mtu(const struct sockaddr *dst);
57 static inline int net_pmtu_get_mtu(const struct sockaddr *dst) in net_pmtu_get_mtu() argument
59 ARG_UNUSED(dst); in net_pmtu_get_mtu()
73 int net_pmtu_update_mtu(const struct sockaddr *dst, uint16_t mtu);
75 static inline int net_pmtu_update_mtu(const struct sockaddr *dst, uint16_t mtu) in net_pmtu_update_mtu() argument
77 ARG_UNUSED(dst); in net_pmtu_update_mtu()
Dicmp.c122 struct in_addr *dst, in send_icmpv4_echo_request() argument
138 src = net_if_ipv4_select_src_addr(iface, dst); in send_icmpv4_echo_request()
164 if (net_ipv4_create(pkt, src, dst) || in send_icmpv4_echo_request()
205 net_sprint_ipv4_addr(dst)); in send_icmpv4_echo_request()
228 struct in_addr *dst, in send_icmpv4_echo_request() argument
235 ARG_UNUSED(dst); in send_icmpv4_echo_request()
246 struct in6_addr *dst, in send_icmpv6_echo_request() argument
262 src = net_if_ipv6_select_src_addr(iface, dst); in send_icmpv6_echo_request()
288 if (net_ipv6_create(pkt, src, dst) || in send_icmpv6_echo_request()
328 net_sprint_ipv6_addr(dst)); in send_icmpv6_echo_request()
[all …]
/Zephyr-latest/include/zephyr/dsp/
Dbasicmath.h50 DSP_DATA q7_t *dst, uint32_t block_size);
65 DSP_DATA q15_t *dst, uint32_t block_size);
80 DSP_DATA q31_t *dst, uint32_t block_size);
90 DSP_DATA float32_t *dst, uint32_t block_size);
116 DSP_DATA float32_t *dst, uint32_t block_size);
131 DSP_DATA q7_t *dst, uint32_t block_size);
146 DSP_DATA q15_t *dst, uint32_t block_size);
161 DSP_DATA q31_t *dst, uint32_t block_size);
187 DSP_DATA float32_t *dst, uint32_t block_size);
202 DSP_DATA q7_t *dst, uint32_t block_size);
[all …]
Dbasicmath_f16.h32 DSP_FUNC_SCOPE void zdsp_mult_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst,
43 DSP_FUNC_SCOPE void zdsp_add_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst,
54 DSP_FUNC_SCOPE void zdsp_sub_f16(const float16_t *src_a, const float16_t *src_b, float16_t *dst,
65 DSP_FUNC_SCOPE void zdsp_scale_f16(const float16_t *src, float16_t scale, float16_t *dst,
75 DSP_FUNC_SCOPE void zdsp_abs_f16(const float16_t *src, float16_t *dst, uint32_t block_size);
96 DSP_FUNC_SCOPE void zdsp_offset_f16(const float16_t *src, float16_t offset, float16_t *dst,
106 DSP_FUNC_SCOPE void zdsp_negate_f16(const float16_t *src, float16_t *dst, uint32_t block_size);
117 DSP_FUNC_SCOPE void zdsp_clip_f16(const float16_t *src, float16_t *dst, float16_t low,
/Zephyr-latest/include/zephyr/sys/
Dbyteorder.h321 static inline void sys_put_be16(uint16_t val, uint8_t dst[2]) in sys_put_be16()
323 dst[0] = val >> 8; in sys_put_be16()
324 dst[1] = val; in sys_put_be16()
336 static inline void sys_put_be24(uint32_t val, uint8_t dst[3]) in sys_put_be24()
338 dst[0] = val >> 16; in sys_put_be24()
339 sys_put_be16(val, &dst[1]); in sys_put_be24()
351 static inline void sys_put_be32(uint32_t val, uint8_t dst[4]) in sys_put_be32()
353 sys_put_be16(val >> 16, dst); in sys_put_be32()
354 sys_put_be16(val, &dst[2]); in sys_put_be32()
365 static inline void sys_put_be40(uint64_t val, uint8_t dst[5]) in sys_put_be40()
[all …]
Dcbprintf_cxx.h268 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, float arg) in z_cbprintf_cxx_store_arg() argument
273 z_cbprintf_wcpy((int *)dst, (int *)p, sizeof(d) / sizeof(int)); in z_cbprintf_cxx_store_arg()
276 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, void *p) in z_cbprintf_cxx_store_arg() argument
278 z_cbprintf_wcpy((int *)dst, (int *)&p, sizeof(p) / sizeof(int)); in z_cbprintf_cxx_store_arg()
281 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, char arg) in z_cbprintf_cxx_store_arg() argument
285 z_cbprintf_wcpy((int *)dst, &tmp, 1); in z_cbprintf_cxx_store_arg()
288 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, unsigned char arg) in z_cbprintf_cxx_store_arg() argument
292 z_cbprintf_wcpy((int *)dst, &tmp, 1); in z_cbprintf_cxx_store_arg()
295 static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, signed char arg) in z_cbprintf_cxx_store_arg() argument
299 z_cbprintf_wcpy((int *)dst, &tmp, 1); in z_cbprintf_cxx_store_arg()
[all …]
Diterable_sections.h125 #define TYPE_SECTION_GET(type, secname, i, dst) do { \ argument
127 *(dst) = &TYPE_SECTION_START(secname)[i]; \
137 #define TYPE_SECTION_COUNT(type, secname, dst) do { \ argument
140 *(dst) = ((uintptr_t)TYPE_SECTION_END(secname) - \
282 #define STRUCT_SECTION_GET(struct_type, i, dst) \ argument
283 TYPE_SECTION_GET(struct struct_type, struct_type, i, dst)
291 #define STRUCT_SECTION_COUNT(struct_type, dst) \ argument
292 TYPE_SECTION_COUNT(struct struct_type, struct_type, dst);
/Zephyr-latest/subsys/random/
Drandom_handlers.c10 static inline void z_vrfy_sys_rand_get(void *dst, size_t len) in z_vrfy_sys_rand_get() argument
12 K_OOPS(K_SYSCALL_MEMORY_WRITE(dst, len)); in z_vrfy_sys_rand_get()
14 z_impl_sys_rand_get(dst, len); in z_vrfy_sys_rand_get()
19 static inline int z_vrfy_sys_csrand_get(void *dst, size_t len) in z_vrfy_sys_csrand_get() argument
21 K_OOPS(K_SYSCALL_MEMORY_WRITE(dst, len)); in z_vrfy_sys_csrand_get()
23 return z_impl_sys_csrand_get(dst, len); in z_vrfy_sys_csrand_get()
Drandom_entropy_device.c15 static int rand_get(uint8_t *dst, size_t outlen, bool csrand) in rand_get() argument
23 ret = entropy_get_entropy(entropy_dev, dst, outlen); in rand_get()
51 (void)memcpy(&(dst[len]), &random_num, copylen); in rand_get()
60 void z_impl_sys_rand_get(void *dst, size_t outlen) in z_impl_sys_rand_get() argument
62 rand_get(dst, outlen, false); in z_impl_sys_rand_get()
68 int z_impl_sys_csrand_get(void *dst, size_t outlen) in z_impl_sys_csrand_get() argument
70 if (rand_get(dst, outlen, true) != 0) { in z_impl_sys_csrand_get()
/Zephyr-latest/subsys/logging/
Dlog_multidomain_link.c49 link_remote->dst.count = msg->data.domain_cnt.count; in log_multidomain_link_on_recv_cb()
52 link_remote->dst.count = msg->data.source_cnt.count; in log_multidomain_link_on_recv_cb()
56 size_t slen = MIN(len - 1, *link_remote->dst.name.len - 1); in log_multidomain_link_on_recv_cb()
58 *link_remote->dst.name.len = len - 1; in log_multidomain_link_on_recv_cb()
59 memcpy(link_remote->dst.name.dst, msg->data.domain_name.name, slen); in log_multidomain_link_on_recv_cb()
60 link_remote->dst.name.dst[slen] = '\0'; in log_multidomain_link_on_recv_cb()
65 size_t slen = MIN(len - 1, *link_remote->dst.name.len - 1); in log_multidomain_link_on_recv_cb()
67 *link_remote->dst.name.len = len - 1; in log_multidomain_link_on_recv_cb()
68 memcpy(link_remote->dst.name.dst, msg->data.source_name.name, slen); in log_multidomain_link_on_recv_cb()
69 link_remote->dst.name.dst[slen] = '\0'; in log_multidomain_link_on_recv_cb()
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dexternal_content.py123 dst = (srcdir / src.relative_to(prefix_src)).resolve()
125 if dst in to_delete:
126 to_delete.remove(dst)
128 if not dst.parent.exists():
129 dst.parent.mkdir(parents=True)
132 if not dst.exists():
133 shutil.copy(src, dst)
135 dst,
141 elif src.stat().st_mtime > dst.stat().st_mtime:
151 dstpath=dst.parent,
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dbuf_util.h19 static inline int buf_append(uint8_t *dst, uint16_t *dst_len, uint16_t dst_size, in buf_append() argument
22 if (!dst || !src) { in buf_append()
30 memcpy(dst + *dst_len, src, src_len); in buf_append()
36 static inline int buf_insert(uint8_t *dst, uint16_t *dst_len, uint16_t dst_size, in buf_insert() argument
39 if (!dst || !src) { in buf_insert()
48 memmove(dst + offset + src_len, dst + offset, *dst_len - offset); in buf_insert()
51 memcpy(dst + offset, src, src_len); in buf_insert()
57 static inline int buf_read(uint8_t *dst, uint16_t len, uint8_t *src, uint16_t src_len, in buf_read() argument
68 if (dst) { in buf_read()
70 memcpy(dst, src + *offset, len); in buf_read()
/Zephyr-latest/subsys/bluetooth/mesh/
Dheartbeat.c25 uint16_t dst; member
49 if (sub.dst == BT_MESH_ADDR_UNASSIGNED) { in sub_remaining()
111 .addr = pub.dst, in heartbeat_send()
124 if (!tx.sub || pub.dst == BT_MESH_ADDR_UNASSIGNED) { in heartbeat_send()
180 pub.dst = BT_MESH_ADDR_UNASSIGNED; in hb_publish()
205 if (rx->ctx.addr != sub.src || rx->ctx.recv_dst != sub.dst) { in bt_mesh_hb_recv()
234 pub.dst = BT_MESH_ADDR_UNASSIGNED; in pub_disable()
250 if (!new_pub || new_pub->dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_hb_pub_set()
296 uint8_t bt_mesh_hb_sub_set(uint16_t src, uint16_t dst, uint32_t period) in bt_mesh_hb_sub_set() argument
303 if (BT_MESH_ADDR_IS_VIRTUAL(dst) || BT_MESH_ADDR_IS_RFU(dst) || in bt_mesh_hb_sub_set()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Daes_ccm.c20 static inline void xor16(uint8_t *dst, const uint8_t *a, const uint8_t *b) in xor16() argument
22 dst[0] = a[0] ^ b[0]; in xor16()
23 dst[1] = a[1] ^ b[1]; in xor16()
24 dst[2] = a[2] ^ b[2]; in xor16()
25 dst[3] = a[3] ^ b[3]; in xor16()
26 dst[4] = a[4] ^ b[4]; in xor16()
27 dst[5] = a[5] ^ b[5]; in xor16()
28 dst[6] = a[6] ^ b[6]; in xor16()
29 dst[7] = a[7] ^ b[7]; in xor16()
30 dst[8] = a[8] ^ b[8]; in xor16()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_handlers.c26 static bool copy_sequence(struct adc_sequence *dst, in copy_sequence() argument
30 if (k_usermode_from_copy(dst, src, sizeof(struct adc_sequence)) != 0) { in copy_sequence()
35 if (dst->options) { in copy_sequence()
36 if (k_usermode_from_copy(options, dst->options, in copy_sequence()
41 dst->options = options; in copy_sequence()
44 if (K_SYSCALL_MEMORY_WRITE(dst->buffer, dst->buffer_size) != 0) { in copy_sequence()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmsg.h119 #define BT_MESH_MSG_CTX_INIT(net_key_idx, app_key_idx, dst, ttl) \ argument
123 .addr = (dst), \
133 #define BT_MESH_MSG_CTX_INIT_APP(app_key_idx, dst) \ argument
134 BT_MESH_MSG_CTX_INIT(0, app_key_idx, dst, BT_MESH_TTL_DEFAULT)
143 #define BT_MESH_MSG_CTX_INIT_DEV(net_key_idx, dst) \ argument
144 BT_MESH_MSG_CTX_INIT(net_key_idx, BT_MESH_KEY_DEV_REMOTE, dst, BT_MESH_TTL_DEFAULT)
175 uint16_t dst; /**< Address of the node that should respond. */ member
224 uint32_t op, uint16_t dst, void *user_data);
/Zephyr-latest/lib/utils/
Dutf8.c69 char *utf8_lcpy(char *dst, const char *src, size_t n) in utf8_lcpy() argument
72 strncpy(dst, src, n - 1); in utf8_lcpy()
73 dst[n - 1] = '\0'; in utf8_lcpy()
76 utf8_trunc(dst); in utf8_lcpy()
80 return dst; in utf8_lcpy()
/Zephyr-latest/samples/net/sockets/packet/src/
Dpacket.c61 struct sockaddr_ll dst = { 0 }; in start_socket() local
76 dst.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in start_socket()
77 dst.sll_family = AF_PACKET; in start_socket()
79 ret = bind(*sock, (const struct sockaddr *)&dst, in start_socket()
153 struct sockaddr_ll dst = { 0 }; in send_packet_socket() local
157 dst.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in send_packet_socket()
160 dst.sll_halen = sizeof(struct net_eth_addr); in send_packet_socket()
163 dst.sll_protocol = htons(ETH_P_IP); in send_packet_socket()
166 dst.sll_addr, in send_packet_socket()
167 dst.sll_halen, in send_packet_socket()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/util/
Dutil.c68 int util_aa_le32(uint8_t *dst) in util_aa_le32() argument
89 lll_csrand_get(dst, sizeof(uint32_t)); in util_aa_le32()
90 aa = sys_get_le32(dst); in util_aa_le32()
219 sys_put_le32(aa, dst); in util_aa_le32()
225 int util_saa_le32(uint8_t *dst, uint8_t handle) in util_saa_le32() argument
235 err = util_aa_le32(dst); in util_saa_le32()
240 saa = sys_get_le32(dst); in util_saa_le32()
274 sys_put_le32(saa, dst); in util_saa_le32()
281 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst) in util_bis_aa_le32() argument
310 memcpy(dst, saa, sizeof(uint32_t)); in util_bis_aa_le32()
[all …]
/Zephyr-latest/tests/application_development/code_relocation/src/
Dtest_file2.c15 char dst[8]; in function_in_sram() local
18 memcpy(dst, src, 8); in function_in_sram()
20 zassert_mem_equal(src, dst, 8, "memcpy compare error"); in function_in_sram()

12345678910>>...15