Home
last modified time | relevance | path

Searched refs:put_unaligned_le32 (Results 1 – 25 of 114) sorted by relevance

12345

/Linux-v5.4/arch/x86/boot/tools/
Dbuild.c165 put_unaligned_le32(size, section + 0x8); in update_pecoff_section_header_fields()
168 put_unaligned_le32(vma, section + 0xc); in update_pecoff_section_header_fields()
171 put_unaligned_le32(datasz, section + 0x10); in update_pecoff_section_header_fields()
174 put_unaligned_le32(offset, section + 0x14); in update_pecoff_section_header_fields()
201 put_unaligned_le32(reloc_offset + 10, &buf[reloc_offset]); in update_pecoff_setup_and_reloc()
202 put_unaligned_le32(10, &buf[reloc_offset + 4]); in update_pecoff_setup_and_reloc()
216 put_unaligned_le32(file_sz - 512, &buf[pe_header + 0x1c]); in update_pecoff_text()
221 put_unaligned_le32(text_start + efi_pe_entry, &buf[pe_header + 0x28]); in update_pecoff_text()
234 put_unaligned_le32(bss_sz, &buf[pe_header + 0x24]); in update_pecoff_bss()
237 put_unaligned_le32(init_sz, &buf[pe_header + 0x50]); in update_pecoff_bss()
[all …]
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_dsd.h14 put_unaligned_le32(sg_dma_address(sg), &(*dsd)->address); in append_dsd32()
15 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length); in append_dsd32()
28 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length); in append_dsd64()
/Linux-v5.4/crypto/
Daes_generic.c1215 put_unaligned_le32(b0[0], out); in crypto_aes_encrypt()
1216 put_unaligned_le32(b0[1], out + 4); in crypto_aes_encrypt()
1217 put_unaligned_le32(b0[2], out + 8); in crypto_aes_encrypt()
1218 put_unaligned_le32(b0[3], out + 12); in crypto_aes_encrypt()
1285 put_unaligned_le32(b0[0], out); in crypto_aes_decrypt()
1286 put_unaligned_le32(b0[1], out + 4); in crypto_aes_decrypt()
1287 put_unaligned_le32(b0[2], out + 8); in crypto_aes_decrypt()
1288 put_unaligned_le32(b0[3], out + 12); in crypto_aes_decrypt()
Dpoly1305_generic.c257 put_unaligned_le32((h0 >> 0) | (h1 << 26), dst + 0); in poly1305_core_emit()
258 put_unaligned_le32((h1 >> 6) | (h2 << 20), dst + 4); in poly1305_core_emit()
259 put_unaligned_le32((h2 >> 12) | (h3 << 14), dst + 8); in poly1305_core_emit()
260 put_unaligned_le32((h3 >> 18) | (h4 << 8), dst + 12); in poly1305_core_emit()
284 put_unaligned_le32(f, dst + 0); in crypto_poly1305_final()
286 put_unaligned_le32(f, dst + 4); in crypto_poly1305_final()
288 put_unaligned_le32(f, dst + 8); in crypto_poly1305_final()
290 put_unaligned_le32(f, dst + 12); in crypto_poly1305_final()
Dcrc32_generic.c94 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
108 put_unaligned_le32(*crcp, out); in crc32_final()
Dcrc32c_generic.c98 put_unaligned_le32(~ctx->crc, out); in chksum_final()
104 put_unaligned_le32(~__crc32c_le(*crcp, data, len), out); in __chksum_finup()
/Linux-v5.4/drivers/usb/gadget/
Du_os_desc.h73 put_unaligned_le32(dw_size, usb_ext_prop_size_ptr(buf)); in usb_ext_prop_put_size()
78 put_unaligned_le32(type, usb_ext_prop_type_ptr(buf)); in usb_ext_prop_put_type()
99 put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl)); in usb_ext_prop_put_binary()
107 put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl)); in usb_ext_prop_put_unicode()
/Linux-v5.4/lib/crypto/
Daes.c296 put_unaligned_le32(subshift(st1, 0) ^ rkp[4], out); in aes_encrypt()
297 put_unaligned_le32(subshift(st1, 1) ^ rkp[5], out + 4); in aes_encrypt()
298 put_unaligned_le32(subshift(st1, 2) ^ rkp[6], out + 8); in aes_encrypt()
299 put_unaligned_le32(subshift(st1, 3) ^ rkp[7], out + 12); in aes_encrypt()
347 put_unaligned_le32(inv_subshift(st1, 0) ^ rkp[4], out); in aes_decrypt()
348 put_unaligned_le32(inv_subshift(st1, 1) ^ rkp[5], out + 4); in aes_decrypt()
349 put_unaligned_le32(inv_subshift(st1, 2) ^ rkp[6], out + 8); in aes_decrypt()
350 put_unaligned_le32(inv_subshift(st1, 3) ^ rkp[7], out + 12); in aes_decrypt()
Ddes.c797 put_unaligned_le32(R, dst); in des_encrypt()
798 put_unaligned_le32(L, dst + 4); in des_encrypt()
818 put_unaligned_le32(R, dst); in des_decrypt()
819 put_unaligned_le32(L, dst + 4); in des_decrypt()
868 put_unaligned_le32(R, dst); in des3_ede_encrypt()
869 put_unaligned_le32(L, dst + 4); in des3_ede_encrypt()
897 put_unaligned_le32(R, dst); in des3_ede_decrypt()
898 put_unaligned_le32(L, dst + 4); in des3_ede_decrypt()
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_sis.c303 put_unaligned_le32(SIS_BASE_STRUCT_REVISION, &base_struct->revision); in sis_init_base_struct_addr()
304 put_unaligned_le32(lower_32_bits(error_buffer_paddr), in sis_init_base_struct_addr()
306 put_unaligned_le32(upper_32_bits(error_buffer_paddr), in sis_init_base_struct_addr()
308 put_unaligned_le32(PQI_ERROR_BUFFER_ELEMENT_LENGTH, in sis_init_base_struct_addr()
310 put_unaligned_le32(ctrl_info->max_io_slots, in sis_init_base_struct_addr()
Dsmartpqi_sas_transport.c467 put_unaligned_le32(sizeof(smp_buf->ioctl_header), in pqi_build_csmi_smp_passthru_buffer()
469 put_unaligned_le32(CSMI_IOCTL_TIMEOUT, &ioctl_header->timeout); in pqi_build_csmi_smp_passthru_buffer()
470 put_unaligned_le32(CSMI_CC_SAS_SMP_PASSTHRU, in pqi_build_csmi_smp_passthru_buffer()
472 put_unaligned_le32(sizeof(smp_buf->parameters), &ioctl_header->length); in pqi_build_csmi_smp_passthru_buffer()
484 put_unaligned_le32(req_size, &parameters->request_length); in pqi_build_csmi_smp_passthru_buffer()
486 put_unaligned_le32(resp_size, &parameters->response_length); in pqi_build_csmi_smp_passthru_buffer()
/Linux-v5.4/arch/c6x/include/asm/
Dunaligned.h81 #define put_unaligned_le32(v, p) put_unaligned32(__swab32(v), (p)) macro
94 #define put_unaligned_le32(v, p) put_unaligned32((v), (p)) macro
135 put_unaligned_le32((__force u32)(val), __gu_p); \
/Linux-v5.4/net/mac80211/
Dmichael.c81 put_unaligned_le32(mctx.l, mic); in michael_mic()
82 put_unaligned_le32(mctx.r, mic + 4); in michael_mic()
Dmesh_hwmp.c163 put_unaligned_le32(target_sn, pos); in mesh_path_sel_frame_tx()
167 put_unaligned_le32(preq_id, pos); in mesh_path_sel_frame_tx()
172 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
175 put_unaligned_le32(lifetime, pos); /* interval for RANN */ in mesh_path_sel_frame_tx()
177 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
184 put_unaligned_le32(target_sn, pos); in mesh_path_sel_frame_tx()
189 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
283 put_unaligned_le32(target_sn, pos); in mesh_path_error_tx()
/Linux-v5.4/arch/mips/crypto/
Dcrc32-mips.c210 put_unaligned_le32(ctx->crc, out);
218 put_unaligned_le32(~ctx->crc, out);
224 put_unaligned_le32(crc32_mips_le_hw(crc, data, len), out);
230 put_unaligned_le32(~crc32c_mips_le_hw(crc, data, len), out);
/Linux-v5.4/drivers/platform/chrome/wilco_ec/
Dproperties.c65 put_unaligned_le32(prop_msg->property_id, rq.property_id); in wilco_ec_get_property()
87 put_unaligned_le32(prop_msg->property_id, rq.property_id); in wilco_ec_set_property()
/Linux-v5.4/include/linux/unaligned/
Dle_memmove.h27 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() function
Dle_struct.h27 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() function
Dle_byteshift.h61 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() function
Daccess_ok.h43 static __always_inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() function
Dgeneric.h37 put_unaligned_le32((__force u32)(val), __gu_p); \
/Linux-v5.4/drivers/firmware/arm_scmi/
Dpower.c99 put_unaligned_le32(domain, t->tx.buf); in scmi_power_domain_attributes_get()
150 put_unaligned_le32(domain, t->tx.buf); in scmi_power_state_get()
/Linux-v5.4/arch/arm/crypto/
Dcrc32-ce-glue.c96 put_unaligned_le32(*crc, out); in crc32_final()
104 put_unaligned_le32(~*crc, out); in crc32c_final()
/Linux-v5.4/tools/include/tools/
Dle_byteshift.h61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32() function
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Ddma.h76 put_unaligned_le32(info, skb_push(skb, sizeof(info))); in mt7601u_dma_skb_wrap()

12345