Home
last modified time | relevance | path

Searched refs:get_unaligned_be32 (Results 1 – 25 of 137) sorted by relevance

123456

/Linux-v6.6/crypto/
Dsm4.c129 rk[0] = get_unaligned_be32(&key[0]) ^ fk[0]; in sm4_expandkey()
130 rk[1] = get_unaligned_be32(&key[1]) ^ fk[1]; in sm4_expandkey()
131 rk[2] = get_unaligned_be32(&key[2]) ^ fk[2]; in sm4_expandkey()
132 rk[3] = get_unaligned_be32(&key[3]) ^ fk[3]; in sm4_expandkey()
164 x[0] = get_unaligned_be32(in + 0 * 4); in sm4_crypt_block()
165 x[1] = get_unaligned_be32(in + 1 * 4); in sm4_crypt_block()
166 x[2] = get_unaligned_be32(in + 2 * 4); in sm4_crypt_block()
167 x[3] = get_unaligned_be32(in + 3 * 4); in sm4_crypt_block()
Dcamellia_generic.c547 kll = get_unaligned_be32(key); in camellia_setup128()
548 klr = get_unaligned_be32(key + 4); in camellia_setup128()
549 krl = get_unaligned_be32(key + 8); in camellia_setup128()
550 krr = get_unaligned_be32(key + 12); in camellia_setup128()
655 kll = get_unaligned_be32(key); in camellia_setup256()
656 klr = get_unaligned_be32(key + 4); in camellia_setup256()
657 krl = get_unaligned_be32(key + 8); in camellia_setup256()
658 krr = get_unaligned_be32(key + 12); in camellia_setup256()
659 krll = get_unaligned_be32(key + 16); in camellia_setup256()
660 krlr = get_unaligned_be32(key + 20); in camellia_setup256()
[all …]
Dcast6_generic.c179 block[0] = get_unaligned_be32(inbuf); in __cast6_encrypt()
180 block[1] = get_unaligned_be32(inbuf + 4); in __cast6_encrypt()
181 block[2] = get_unaligned_be32(inbuf + 8); in __cast6_encrypt()
182 block[3] = get_unaligned_be32(inbuf + 12); in __cast6_encrypt()
216 block[0] = get_unaligned_be32(inbuf); in __cast6_decrypt()
217 block[1] = get_unaligned_be32(inbuf + 4); in __cast6_decrypt()
218 block[2] = get_unaligned_be32(inbuf + 8); in __cast6_decrypt()
219 block[3] = get_unaligned_be32(inbuf + 12); in __cast6_decrypt()
Dblowfish_generic.c42 u32 yl = get_unaligned_be32(src); in bf_encrypt()
43 u32 yr = get_unaligned_be32(src + 4); in bf_encrypt()
74 u32 yl = get_unaligned_be32(src); in bf_decrypt()
75 u32 yr = get_unaligned_be32(src + 4); in bf_decrypt()
Dcast5_generic.c316 l = get_unaligned_be32(inbuf); in __cast5_encrypt()
317 r = get_unaligned_be32(inbuf + 4); in __cast5_encrypt()
368 l = get_unaligned_be32(inbuf); in __cast5_decrypt()
369 r = get_unaligned_be32(inbuf + 4); in __cast5_decrypt()
/Linux-v6.6/drivers/misc/altera-stapl/
Daltera.c267 first_word = get_unaligned_be32(&p[0]); in altera_execute()
272 action_table = get_unaligned_be32(&p[4]); in altera_execute()
273 proc_table = get_unaligned_be32(&p[8]); in altera_execute()
274 str_table = get_unaligned_be32(&p[4 + delta]); in altera_execute()
275 sym_table = get_unaligned_be32(&p[16 + delta]); in altera_execute()
276 data_sect = get_unaligned_be32(&p[20 + delta]); in altera_execute()
277 code_sect = get_unaligned_be32(&p[24 + delta]); in altera_execute()
278 debug_sect = get_unaligned_be32(&p[28 + delta]); in altera_execute()
279 action_count = get_unaligned_be32(&p[40 + delta]); in altera_execute()
280 proc_count = get_unaligned_be32(&p[44 + delta]); in altera_execute()
[all …]
/Linux-v6.6/drivers/scsi/
Dscsi_trace.c42 lba = get_unaligned_be32(&cdb[2]); in scsi_trace_rw10()
62 lba = get_unaligned_be32(&cdb[2]); in scsi_trace_rw12()
63 txlen = get_unaligned_be32(&cdb[6]); in scsi_trace_rw12()
80 txlen = get_unaligned_be32(&cdb[10]); in scsi_trace_rw16()
119 ei_lbrt = get_unaligned_be32(&cdb[20]); in scsi_trace_rw32()
120 txlen = get_unaligned_be32(&cdb[28]); in scsi_trace_rw32()
166 alloc_len = get_unaligned_be32(&cdb[10]); in scsi_trace_service_action_in()
212 alloc_len = get_unaligned_be32(&cdb[6]); in scsi_trace_maintenance_in()
252 alloc_len = get_unaligned_be32(&cdb[6]); in scsi_trace_maintenance_out()
280 alloc_len = get_unaligned_be32(&cdb[10]); in scsi_trace_zbc_in()
Dsd_zbc.c177 rep_len = get_unaligned_be32(&buf[0]); in sd_zbc_do_report_zones()
286 nr = min(nr_zones, get_unaligned_be32(&buf[0]) / 64); in sd_zbc_report_zones()
652 sdkp->zones_optimal_open = get_unaligned_be32(&buf[8]); in sd_zbc_check_zoned_characteristics()
653 sdkp->zones_optimal_nonseq = get_unaligned_be32(&buf[12]); in sd_zbc_check_zoned_characteristics()
662 sdkp->zones_max_open = get_unaligned_be32(&buf[16]); in sd_zbc_check_zoned_characteristics()
Dscsi_debug.c1871 alloc_len = get_unaligned_be32(cmd + 10); in resp_readcap16()
1920 alen = get_unaligned_be32(cmd + 6); in resp_report_tgtpgs()
2004 alloc_len = get_unaligned_be32(cmd + 6); in resp_rsup_opcodes()
2148 alloc_len = get_unaligned_be32(cmd + 6); in resp_rsup_tmfs()
3296 num = get_unaligned_be32(cmd + 10); in resp_read_dt0()
3301 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3314 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3315 num = get_unaligned_be32(cmd + 6); in resp_read_dt0()
3320 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3326 ei_lba = get_unaligned_be32(cmd + 20); in resp_read_dt0()
[all …]
/Linux-v6.6/drivers/misc/
Dlattice-ecp3-config.c95 jedec_id = get_unaligned_be32(&rxbuf[4]); in firmware_load()
113 status = get_unaligned_be32(&rxbuf[4]); in firmware_load()
146 status = get_unaligned_be32(&rxbuf[4]); in firmware_load()
169 status = get_unaligned_be32(&rxbuf[4]); in firmware_load()
/Linux-v6.6/drivers/hwmon/occ/
Dcommon.c283 val = get_unaligned_be32(&temp->sensor_id); in occ_show_temp_2()
334 val = get_unaligned_be32(&temp->sensor_id); in occ_show_temp_10()
411 val = get_unaligned_be32(&freq->sensor_id); in occ_show_freq_2()
444 val = get_unaligned_be32(&power->accumulator) / in occ_show_power_1()
445 get_unaligned_be32(&power->update_tag); in occ_show_power_1()
449 val = (u64)get_unaligned_be32(&power->update_tag) * in occ_show_power_1()
464 u64 divisor = get_unaligned_be32(samples); in occ_get_powr_avg()
489 get_unaligned_be32(&power->sensor_id), in occ_show_power_2()
496 val = (u64)get_unaligned_be32(&power->update_tag) * in occ_show_power_2()
528 get_unaligned_be32(&power->sensor_id)); in occ_show_power_a0()
[all …]
/Linux-v6.6/block/partitions/
Dldm.c176 if (MAGIC_VMDB != get_unaligned_be32(data)) { in ldm_parse_vmdb()
189 vm->vblk_size = get_unaligned_be32(data + 0x08); in ldm_parse_vmdb()
195 vm->vblk_offset = get_unaligned_be32(data + 0x0C); in ldm_parse_vmdb()
196 vm->last_vblk_seq = get_unaligned_be32(data + 0x04); in ldm_parse_vmdb()
745 if (len != get_unaligned_be32(buffer + 0x14)) in ldm_parse_cmp3()
791 if (len != get_unaligned_be32(buffer + 0x14)) in ldm_parse_dgr3()
831 if (len != get_unaligned_be32(buffer + 0x14)) in ldm_parse_dgr4()
865 if (len != get_unaligned_be32(buffer + 0x14)) in ldm_parse_dsk3()
902 if (len != get_unaligned_be32(buffer + 0x14)) in ldm_parse_dsk4()
966 if (len > get_unaligned_be32(buffer + 0x14)) { in ldm_parse_prt3()
[all …]
/Linux-v6.6/lib/
Ddecompress_unlzo.c68 if (get_unaligned_be32(parse) & HEADER_HAS_FILTER) in parse_header()
181 dst_len = get_unaligned_be32(in_buf); in unlzo()
207 src_len = get_unaligned_be32(in_buf); in unlzo()
/Linux-v6.6/drivers/target/
Dtarget_core_sbc.c176 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[10]); in sbc_get_write_same_sectors()
178 num_blocks = get_unaligned_be32(&cmd->t_task_cdb[28]); in sbc_get_write_same_sectors()
241 return get_unaligned_be32(&cdb[6]); in transport_get_sectors_12()
246 return get_unaligned_be32(&cdb[10]); in transport_get_sectors_16()
254 return get_unaligned_be32(&cdb[28]); in transport_get_sectors_32()
265 return get_unaligned_be32(&cdb[2]); in transport_lba_32()
951 size = get_unaligned_be32(&cdb[10]); in sbc_parse_cdb()
1003 cmd->t_task_lba = get_unaligned_be32(&cdb[2]); in sbc_parse_cdb()
1130 range = get_unaligned_be32(&ptr[8]); in sbc_execute_unmap()
Dtarget_core_spc.c2313 *size = get_unaligned_be32(&cdb[5]); in spc_parse_cdb()
2354 *size = get_unaligned_be32(&cdb[6]); in spc_parse_cdb()
2357 *size = get_unaligned_be32(&cdb[10]); in spc_parse_cdb()
2361 *size = get_unaligned_be32(&cdb[10]); in spc_parse_cdb()
2366 *size = get_unaligned_be32(&cdb[10]); in spc_parse_cdb()
2377 *size = get_unaligned_be32(&cdb[6]); in spc_parse_cdb()
2402 *size = get_unaligned_be32(&cdb[6]); in spc_parse_cdb()
2420 *size = get_unaligned_be32(&cdb[6]); in spc_parse_cdb()
/Linux-v6.6/drivers/media/platform/verisilicon/
Dhantro_h1_jpeg_enc.c96 reg = get_unaligned_be32(&luma_qtable_p[i]); in hantro_h1_jpeg_enc_set_qtable()
101 reg = get_unaligned_be32(&chroma_qtable_p[i]); in hantro_h1_jpeg_enc_set_qtable()
Drockchip_vpu2_hw_jpeg_enc.c122 reg = get_unaligned_be32(&luma_qtable_p[i]); in rockchip_vpu2_jpeg_enc_set_qtable()
127 reg = get_unaligned_be32(&chroma_qtable_p[i]); in rockchip_vpu2_jpeg_enc_set_qtable()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/crypto/
Dipsec.c374 cfg->auth_key[i] = get_unaligned_be32(x->aalg->alg_key + in nfp_net_xfrm_add_state()
441 cfg->ciph_key[i] = get_unaligned_be32(x->aead->alg_key + in nfp_net_xfrm_add_state()
445 cfg->aesgcm_fields.salt = get_unaligned_be32(x->aead->alg_key + key_len); in nfp_net_xfrm_add_state()
456 cfg->ciph_key[i] = get_unaligned_be32(x->ealg->alg_key + in nfp_net_xfrm_add_state()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c723 meta->hash = get_unaligned_be32(hash); in nfp_nfd3_set_hash()
735 nfp_nfd3_set_hash(netdev, meta, get_unaligned_be32(&rx_hash->hash_type), in nfp_nfd3_set_hash_desc()
745 meta_info = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
758 meta->mark = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
762 vlan_info = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
773 meta->portid = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
793 meta->ipsec_saidx = get_unaligned_be32(data) + 1; in nfp_nfd3_parse_meta()
1307 meta_type = get_unaligned_be32(data); in nfp_ctrl_meta_ok()
1308 meta_tag = get_unaligned_be32(data + 4); in nfp_ctrl_meta_ok()
/Linux-v6.6/arch/powerpc/boot/
Dxz_config.h37 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() function
/Linux-v6.6/tools/include/tools/
Dbe_byteshift.h46 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() function
/Linux-v6.6/net/sched/
Dem_cmp.c47 val = get_unaligned_be32(ptr); in em_cmp_match()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c736 meta->hash = get_unaligned_be32(hash); in nfp_nfdk_set_hash()
745 meta_info = get_unaligned_be32(data); in nfp_nfdk_parse_meta()
758 meta->mark = get_unaligned_be32(data); in nfp_nfdk_parse_meta()
762 vlan_info = get_unaligned_be32(data); in nfp_nfdk_parse_meta()
773 meta->portid = get_unaligned_be32(data); in nfp_nfdk_parse_meta()
793 meta->ipsec_saidx = get_unaligned_be32(data) + 1; in nfp_nfdk_parse_meta()
1469 meta_type = get_unaligned_be32(data); in nfp_ctrl_meta_ok()
1470 meta_tag = get_unaligned_be32(data + 4); in nfp_ctrl_meta_ok()
/Linux-v6.6/drivers/nfc/pn544/
Di2c.c757 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
758 phy->fw_blob_dest_addr = get_unaligned_be32( in pn544_hci_i2c_fw_work()
811 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
814 get_unaligned_be32(&blob->be_destaddr); in pn544_hci_i2c_fw_work()
/Linux-v6.6/sound/soc/codecs/
Dwm8958-dsp2.c63 data32 = get_unaligned_be32(fw->data); in wm8958_dsp2_fw()
69 len = get_unaligned_be32(fw->data + 4); in wm8958_dsp2_fw()
70 data32 = get_unaligned_be32(fw->data + 8); in wm8958_dsp2_fw()
105 block_len = get_unaligned_be32(data + 4); in wm8958_dsp2_fw()
116 data32 = get_unaligned_be32(data); in wm8958_dsp2_fw()

123456