Home
last modified time | relevance | path

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

123456

/linux-6.1.9/arch/x86/boot/tools/
Dbuild.c175 put_unaligned_le32(size, section + 0x8); in update_pecoff_section_header_fields()
178 put_unaligned_le32(vma, section + 0xc); in update_pecoff_section_header_fields()
181 put_unaligned_le32(datasz, section + 0x10); in update_pecoff_section_header_fields()
184 put_unaligned_le32(offset, section + 0x14); in update_pecoff_section_header_fields()
214 put_unaligned_le32(reloc_offset + 10, &buf[reloc_offset]); in update_pecoff_setup_and_reloc()
215 put_unaligned_le32(10, &buf[reloc_offset + 4]); in update_pecoff_setup_and_reloc()
228 put_unaligned_le32(efi32_pe_entry + size, &buf[compat_offset + 4]); in update_pecoff_setup_and_reloc()
257 put_unaligned_le32(file_sz - 512 + bss_sz, &buf[pe_header + 0x1c]); in update_pecoff_text()
260 put_unaligned_le32(init_sz, &buf[pe_header + 0x50]); in update_pecoff_text()
265 put_unaligned_le32(text_start + efi_pe_entry, &buf[pe_header + 0x28]); in update_pecoff_text()
[all …]
/linux-6.1.9/crypto/
Daes_generic.c1209 put_unaligned_le32(b0[0], out); in crypto_aes_encrypt()
1210 put_unaligned_le32(b0[1], out + 4); in crypto_aes_encrypt()
1211 put_unaligned_le32(b0[2], out + 8); in crypto_aes_encrypt()
1212 put_unaligned_le32(b0[3], out + 12); in crypto_aes_encrypt()
1279 put_unaligned_le32(b0[0], out); in crypto_aes_decrypt()
1280 put_unaligned_le32(b0[1], out + 4); in crypto_aes_decrypt()
1281 put_unaligned_le32(b0[2], out + 8); in crypto_aes_decrypt()
1282 put_unaligned_le32(b0[3], out + 12); in crypto_aes_decrypt()
Dcrc32_generic.c70 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
84 put_unaligned_le32(*crcp, out); in crc32_final()
Dcrc32c_generic.c96 put_unaligned_le32(~ctx->crc, out); in chksum_final()
102 put_unaligned_le32(~__crc32c_le(*crcp, data, len), out); in __chksum_finup()
Dmichael_mic.c122 put_unaligned_le32(mctx->l, out); in michael_final()
123 put_unaligned_le32(mctx->r, out + 4); in michael_final()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
Dpoly1305-donna32.c200 put_unaligned_le32(h0, &mac[0]); in poly1305_core_emit()
201 put_unaligned_le32(h1, &mac[4]); in poly1305_core_emit()
202 put_unaligned_le32(h2, &mac[8]); in poly1305_core_emit()
203 put_unaligned_le32(h3, &mac[12]); in poly1305_core_emit()
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-6.1.9/sound/soc/sof/
Dsof-utils.c65 put_unaligned_le32((pg_table[0] & 0xf) | pfn << 4, in snd_sof_create_page_table()
68 put_unaligned_le32(pfn, pg_table); in snd_sof_create_page_table()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_sis.c319 put_unaligned_le32(SIS_BASE_STRUCT_REVISION, &base_struct->revision); in sis_init_base_struct_addr()
320 put_unaligned_le32(lower_32_bits(error_buffer_paddr), in sis_init_base_struct_addr()
322 put_unaligned_le32(upper_32_bits(error_buffer_paddr), in sis_init_base_struct_addr()
324 put_unaligned_le32(PQI_ERROR_BUFFER_ELEMENT_LENGTH, in sis_init_base_struct_addr()
326 put_unaligned_le32(ctrl_info->max_io_slots, in sis_init_base_struct_addr()
Dsmartpqi_sas_transport.c474 put_unaligned_le32(sizeof(smp_buf->ioctl_header), in pqi_build_csmi_smp_passthru_buffer()
476 put_unaligned_le32(CSMI_IOCTL_TIMEOUT, &ioctl_header->timeout); in pqi_build_csmi_smp_passthru_buffer()
477 put_unaligned_le32(CSMI_CC_SAS_SMP_PASSTHRU, in pqi_build_csmi_smp_passthru_buffer()
479 put_unaligned_le32(sizeof(smp_buf->parameters), &ioctl_header->length); in pqi_build_csmi_smp_passthru_buffer()
491 put_unaligned_le32(req_size, &parameters->request_length); in pqi_build_csmi_smp_passthru_buffer()
492 put_unaligned_le32(resp_size, &parameters->response_length); in pqi_build_csmi_smp_passthru_buffer()
/linux-6.1.9/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-6.1.9/arch/mips/crypto/
Dcrc32-mips.c214 put_unaligned_le32(ctx->crc, out);
222 put_unaligned_le32(~ctx->crc, out);
228 put_unaligned_le32(crc32_mips_le_hw(crc, data, len), out);
234 put_unaligned_le32(~crc32c_mips_le_hw(crc, data, len), out);
/linux-6.1.9/drivers/platform/chrome/wilco_ec/
Dproperties.c68 put_unaligned_le32(prop_msg->property_id, rq.property_id); in wilco_ec_get_property()
90 put_unaligned_le32(prop_msg->property_id, rq.property_id); in wilco_ec_set_property()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tx.c93 put_unaligned_le32(id, &hw_tx_obj->id); in mcp251xfd_tx_obj_from_skb()
94 put_unaligned_le32(flags, &hw_tx_obj->flags); in mcp251xfd_tx_obj_from_skb()
/linux-6.1.9/drivers/iio/frequency/
Dadmv4420.c142 put_unaligned_le32(frac_val, st->transf_buf); in admv4420_set_n_counter()
147 put_unaligned_le32(mod_val, st->transf_buf); in admv4420_set_n_counter()
152 put_unaligned_le32(int_val, st->transf_buf); in admv4420_set_n_counter()
/linux-6.1.9/arch/arm/crypto/
Dcrc32-ce-glue.c94 put_unaligned_le32(*crc, out); in crc32_final()
102 put_unaligned_le32(~*crc, out); in crc32c_final()
/linux-6.1.9/tools/include/tools/
Dle_byteshift.h61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32() function
/linux-6.1.9/drivers/hid/surface-hid/
Dsurface_hid.c78 put_unaligned_le32(offset, &slice->offset); in ssam_hid_get_descriptor()
79 put_unaligned_le32(length, &slice->length); in ssam_hid_get_descriptor()
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Ddma.h76 put_unaligned_le32(info, skb_push(skb, sizeof(info))); in mt7601u_dma_skb_wrap()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dusb_mcu.c30 put_unaligned_le32(len, skb_push(skb, sizeof(len))); in mt7663u_mcu_send_message()
/linux-6.1.9/drivers/firmware/arm_scmi/
Dpower.c115 put_unaligned_le32(domain, t->tx.buf); in scmi_power_domain_attributes_get()
175 put_unaligned_le32(domain, t->tx.buf); in scmi_power_state_get()

123456