/Zephyr-latest/arch/riscv/core/ |
D | elf.c | 108 UNALIGNED_PUT((uint32_t)jump_target, loc32); in arch_elf_relocate() 112 UNALIGNED_PUT(sym_base_addr + rel->r_addend, loc64); /* S + A */ in arch_elf_relocate() 116 UNALIGNED_PUT(load_bias + rel->r_addend, loc_word); /* B + A */ in arch_elf_relocate() 120 UNALIGNED_PUT(sym_base_addr, loc_word); /* S */ in arch_elf_relocate() 128 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() 137 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() 157 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() 169 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() 189 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() 206 UNALIGNED_PUT(modified_operand, loc32); in arch_elf_relocate() [all …]
|
/Zephyr-latest/arch/arc/core/ |
D | elf.c | 48 UNALIGNED_PUT(sym_base_addr, (uint32_t *)loc); in arch_elf_relocate() 68 UNALIGNED_PUT(insn, (uint32_t *)loc); in arch_elf_relocate() 71 UNALIGNED_PUT(ME(sym_base_addr), (uint32_t *)loc); in arch_elf_relocate()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_ip.h | 889 UNALIGNED_PUT(UNALIGNED_GET(src), dest) 1369 UNALIGNED_PUT(0, &dst->s6_addr16[1]); in net_ipv6_addr_create_solicited_node() 1370 UNALIGNED_PUT(0, &dst->s6_addr16[2]); in net_ipv6_addr_create_solicited_node() 1371 UNALIGNED_PUT(0, &dst->s6_addr16[3]); in net_ipv6_addr_create_solicited_node() 1372 UNALIGNED_PUT(0, &dst->s6_addr16[4]); in net_ipv6_addr_create_solicited_node() 1377 UNALIGNED_PUT(UNALIGNED_GET(&src->s6_addr16[7]), &dst->s6_addr16[7]); in net_ipv6_addr_create_solicited_node() 1398 UNALIGNED_PUT(htons(addr0), &addr->s6_addr16[0]); in net_ipv6_addr_create() 1399 UNALIGNED_PUT(htons(addr1), &addr->s6_addr16[1]); in net_ipv6_addr_create() 1400 UNALIGNED_PUT(htons(addr2), &addr->s6_addr16[2]); in net_ipv6_addr_create() 1401 UNALIGNED_PUT(htons(addr3), &addr->s6_addr16[3]); in net_ipv6_addr_create() [all …]
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 176 UNALIGNED_PUT(htons(dns_id), (uint16_t *)(buf)); in setup_dns_hdr() 179 UNALIGNED_PUT(htons(flags), (uint16_t *)(buf+offset)); in setup_dns_hdr() 182 UNALIGNED_PUT(htons(1), (uint16_t *)(buf + offset)); in setup_dns_hdr() 185 UNALIGNED_PUT(htons(answers), (uint16_t *)(buf + offset)); in setup_dns_hdr() 188 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in setup_dns_hdr() 191 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in setup_dns_hdr() 215 UNALIGNED_PUT(htons(qtype), (uint16_t *)(query->data+offset)); in add_question() 218 UNALIGNED_PUT(htons(DNS_CLASS_IN), (uint16_t *)(query->data+offset)); in add_question() 230 UNALIGNED_PUT(htonl(ttl), query->data + offset); in add_answer() 233 UNALIGNED_PUT(htons(addr_len), query->data + offset); in add_answer()
|
D | dns_pack.c | 241 UNALIGNED_PUT(htons(id), (uint16_t *)(buf)); in dns_msg_pack_query_header() 258 UNALIGNED_PUT(htons(1), (uint16_t *)(buf + offset)); in dns_msg_pack_query_header() 262 UNALIGNED_PUT(0, (uint32_t *)(buf + offset)); in dns_msg_pack_query_header() 266 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in dns_msg_pack_query_header() 295 UNALIGNED_PUT(htons(qtype), (uint16_t *)(buf + offset + 0)); in dns_msg_pack_query() 299 UNALIGNED_PUT(htons(DNS_CLASS_IN), (uint16_t *)(buf + offset)); in dns_msg_pack_query()
|
D | mdns_responder.c | 184 UNALIGNED_PUT(0, (uint16_t *)(buf)); /* Identifier, RFC 6762 ch 18.1 */ in setup_dns_hdr() 187 UNALIGNED_PUT(htons(flags), (uint16_t *)(buf+offset)); in setup_dns_hdr() 190 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in setup_dns_hdr() 193 UNALIGNED_PUT(htons(answers), (uint16_t *)(buf + offset)); in setup_dns_hdr() 196 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in setup_dns_hdr() 199 UNALIGNED_PUT(0, (uint16_t *)(buf + offset)); in setup_dns_hdr() 227 UNALIGNED_PUT(htons(qtype), (uint16_t *)(query->data+offset)); in add_answer() 231 UNALIGNED_PUT(htons(DNS_CLASS_IN | BIT(15)), in add_answer() 236 UNALIGNED_PUT(htonl(ttl), query->data + offset); in add_answer() 239 UNALIGNED_PUT(htons(addr_len), query->data + offset); in add_answer()
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6.c | 968 UNALIGNED_PUT(htonl(0xfe800000), &tmp_prefix.s6_addr32[0]); in net_ipv6_addr_generate_iid() 970 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[0]), in net_ipv6_addr_generate_iid() 972 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[1]), in net_ipv6_addr_generate_iid() 985 UNALIGNED_PUT(htonl(0xfe800000), &tmp_addr.s6_addr32[0]); in net_ipv6_addr_generate_iid() 986 UNALIGNED_PUT(0, &tmp_addr.s6_addr32[1]); in net_ipv6_addr_generate_iid() 988 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[0]), &tmp_addr.s6_addr32[0]); in net_ipv6_addr_generate_iid() 989 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[1]), &tmp_addr.s6_addr32[1]); in net_ipv6_addr_generate_iid() 999 UNALIGNED_PUT(0, &tmp_addr.s6_addr32[2]); in net_ipv6_addr_generate_iid()
|
D | tcp.c | 1353 UNALIGNED_PUT(conn->src.sin.sin_port, &th->th_sport); in tcp_header_add() 1354 UNALIGNED_PUT(conn->dst.sin.sin_port, &th->th_dport); in tcp_header_add() 1361 UNALIGNED_PUT(flags, &th->th_flags); in tcp_header_add() 1362 UNALIGNED_PUT(htons(conn->recv_win), &th->th_win); in tcp_header_add() 1363 UNALIGNED_PUT(htonl(seq), &th->th_seq); in tcp_header_add() 1366 UNALIGNED_PUT(htonl(conn->ack), &th->th_ack); in tcp_header_add() 1434 UNALIGNED_PUT(htonl(recv_mss), (uint32_t *)mss); in net_tcp_set_mss_opt() 1506 UNALIGNED_PUT(th_pkt->th_dport, &th_rst->th_sport); in net_tcp_reply_rst() 1507 UNALIGNED_PUT(th_pkt->th_sport, &th_rst->th_dport); in net_tcp_reply_rst() 1511 UNALIGNED_PUT(RST, &th_rst->th_flags); in net_tcp_reply_rst() [all …]
|
D | tcp_private.h | 349 UNALIGNED_PUT(UNALIGNED_GET(_fl) & ~(_mask), _fl); \
|
/Zephyr-latest/subsys/random/ |
D | random_xoshiro128.c | 107 UNALIGNED_PUT(xoshiro128_next(), unaligned++); in z_impl_sys_rand_get()
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_ecspi.c | 124 UNALIGNED_PUT(data->rx_data, (uint8_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback() 127 UNALIGNED_PUT(data->rx_data, (uint16_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback() 130 UNALIGNED_PUT(data->rx_data, (uint32_t *)data->ctx.rx_buf); in spi_mcux_master_transfer_callback()
|
D | spi_b_renesas_ra8.c | 205 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 207 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 209 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 253 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master() 255 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master() 257 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master()
|
D | spi_renesas_ra.c | 228 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 230 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 232 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 290 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_transceive_master() 292 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_transceive_master() 294 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_transceive_master()
|
D | spi_mchp_mss_qspi.c | 198 UNALIGNED_PUT(temp, (uint32_t *)ctx->rx_buf); in mss_qspi_receive_x32() 220 UNALIGNED_PUT(rdata, (uint8_t *)ctx->rx_buf); in mss_qspi_receive_x8() 339 UNALIGNED_PUT(rdata, (uint8_t *)ctx->rx_buf); in mss_qspi_receive()
|
D | spi_xlnx_axi_quadspi.c | 354 UNALIGNED_PUT(drr, (uint8_t *)ctx->rx_buf); in xlnx_quadspi_read_fifo() 357 UNALIGNED_PUT(drr, (uint16_t *)ctx->rx_buf); in xlnx_quadspi_read_fifo() 360 UNALIGNED_PUT(drr, (uint32_t *)ctx->rx_buf); in xlnx_quadspi_read_fifo()
|
D | spi_npcx_spip.c | 166 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_npcx_spip_process_rx_buf() 168 UNALIGNED_PUT(rx_frame, (uint16_t *)data->ctx.rx_buf); in spi_npcx_spip_process_rx_buf()
|
D | spi_dw.c | 160 UNALIGNED_PUT(data, (uint8_t *)spi->ctx.rx_buf); in pull_data() 163 UNALIGNED_PUT(data, (uint16_t *)spi->ctx.rx_buf); in pull_data() 166 UNALIGNED_PUT(data, (uint32_t *)spi->ctx.rx_buf); in pull_data()
|
D | spi_pw.c | 475 UNALIGNED_PUT(data, in spi_pw_rx_data() 479 UNALIGNED_PUT(data, in spi_pw_rx_data() 483 UNALIGNED_PUT(data, in spi_pw_rx_data()
|
D | spi_ll_stm32.c | 331 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_stm32_read_next_frame() 337 UNALIGNED_PUT(rx_frame, (uint16_t *)data->ctx.rx_buf); in spi_stm32_read_next_frame() 424 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_stm32_shift_s() 428 UNALIGNED_PUT(rx_frame, (uint16_t *)data->ctx.rx_buf); in spi_stm32_shift_s()
|
D | spi_gecko_eusart.c | 198 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_eusart_shift_frames()
|
D | spi_numaker.c | 207 UNALIGNED_PUT(rx_frame, (uint8_t *)data->ctx.rx_buf); in spi_numaker_txrx()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | ipv6cp.c | 213 UNALIGNED_PUT(0, &addr->s6_addr16[1]); in setup_iid_address() 214 UNALIGNED_PUT(0, &addr->s6_addr32[1]); in setup_iid_address()
|
/Zephyr-latest/include/zephyr/toolchain/ |
D | gcc.h | 152 #define UNALIGNED_PUT(v, p) \ macro 163 #define UNALIGNED_PUT(v, p) \ macro
|
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 292 UNALIGNED_PUT(sys_cpu_to_be16(counter), in main()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http2.c | 260 UNALIGNED_PUT(htons(HTTP2_SETTINGS_HEADER_TABLE_SIZE), in send_settings_frame() 262 UNALIGNED_PUT(0, &setting->value); in send_settings_frame() 265 UNALIGNED_PUT(htons(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS), in send_settings_frame() 267 UNALIGNED_PUT(htonl(CONFIG_HTTP_SERVER_MAX_STREAMS), in send_settings_frame()
|