Home
last modified time | relevance | path

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

123456

/linux/drivers/misc/altera-stapl/
H A 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/crypto/
H A 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()
H A 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 …]
H A 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()
H A 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()
H A 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/drivers/scsi/
H A 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()
H A Dsd.c1987 keys_info->generation = get_unaligned_be32(&data[0]); in sd_pr_read_keys()
1988 keys_info->num_keys = get_unaligned_be32(&data[4]) / 8; in sd_pr_read_keys()
2015 len = get_unaligned_be32(&data[4]); in sd_pr_read_reservation()
2027 rsv->generation = get_unaligned_be32(&data[0]); in sd_pr_read_reservation()
2689 sector_size = get_unaligned_be32(&buffer[8]); in read_capacity_16()
2783 sector_size = get_unaligned_be32(&buffer[4]); in read_capacity_10()
2784 lba = get_unaligned_be32(&buffer[0]); in read_capacity_10()
3220 if (get_unaligned_be32(&buf.h.len) < sizeof(struct scsi_stream_status)) in sd_is_perm_stream()
3347 sdkp->max_xfer_blocks = get_unaligned_be32(&vpd->data[8]); in sd_read_block_limits()
3348 sdkp->opt_xfer_blocks = get_unaligned_be32(&vpd->data[12]); in sd_read_block_limits()
[all …]
H A Dscsi_proto_test.c38 KUNIT_EXPECT_EQ(test, get_unaligned_be32(&sh.h.len), 0x1020304); in test_scsi_proto()
H A Dscsi_debug.c2243 alloc_len = get_unaligned_be32(cmd + 10); in resp_readcap16()
2292 alen = get_unaligned_be32(cmd + 6); in resp_report_tgtpgs()
2376 alloc_len = get_unaligned_be32(cmd + 6); in resp_rsup_opcodes()
2520 alloc_len = get_unaligned_be32(cmd + 6); in resp_rsup_tmfs()
3889 num = get_unaligned_be32(cmd + 10); in resp_read_dt0()
3894 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3907 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3908 num = get_unaligned_be32(cmd + 6); in resp_read_dt0()
3913 lba = get_unaligned_be32(cmd + 2); in resp_read_dt0()
3919 ei_lba = get_unaligned_be32(cmd + 20); in resp_read_dt0()
[all …]
/linux/drivers/hwmon/occ/
H A 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/drivers/misc/
H A 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/sound/soc/codecs/
H A Dtas2781-fmwlib.c189 cfg_info->nblocks = get_unaligned_be32(&config_data[config_offset]); in tasdevice_add_config()
236 get_unaligned_be32(&config_data[config_offset]); in tasdevice_add_config()
240 get_unaligned_be32(&config_data[config_offset]); in tasdevice_add_config()
290 fw_hdr->img_sz = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
301 fw_hdr->checksum = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
303 fw_hdr->binary_version_num = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
312 fw_hdr->drv_fw_version = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
340 fw_hdr->nconfig = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
344 fw_hdr->config_size[i] = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
424 block->type = get_unaligned_be32(&data[offset]); in fw_parse_block_data_kernel()
[all …]
H A Dpcm6240.c1264 get_unaligned_be32(&config_data[config_offset]); in pcmdevice_add_config()
1307 get_unaligned_be32(&config_data[config_offset]); in pcmdevice_add_config()
1311 get_unaligned_be32(&config_data[config_offset]); in pcmdevice_add_config()
1491 fw_hdr->img_sz = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
1501 fw_hdr->checksum = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
1503 fw_hdr->binary_version_num = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
1512 fw_hdr->drv_fw_version = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
1540 fw_hdr->nconfig = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
1544 fw_hdr->config_size[i] = get_unaligned_be32(&buf[offset]); in pcmdev_regbin_ready()
H A 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()
/linux/lib/
H A 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/drivers/target/
H A 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()
H A 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/drivers/media/platform/verisilicon/
H A 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()
H A 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/drivers/net/ethernet/netronome/nfp/crypto/
H A Dipsec.c374 cfg->auth_key[i] = get_unaligned_be32(x->aalg->alg_key + in nfp_net_xfrm_add_state()
479 cfg->ciph_key[index] = get_unaligned_be32(x->aead->alg_key + in nfp_net_xfrm_add_state()
484 cfg->aesgcm_fields.salt = get_unaligned_be32(x->aead->alg_key + key_len); in nfp_net_xfrm_add_state()
495 cfg->ciph_key[i] = get_unaligned_be32(x->ealg->alg_key + in nfp_net_xfrm_add_state()
/linux/drivers/md/dm-vdo/indexer/
H A Dhash-utils.h31 bytes |= get_unaligned_be32(chapter_bits + 2); in uds_extract_chapter_index_bytes()
/linux/arch/powerpc/boot/
H A Dxz_config.h37 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() function
/linux/tools/include/tools/
H A Dbe_byteshift.h46 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() function
/linux/net/sched/
H A Dem_cmp.c47 val = get_unaligned_be32(ptr); in em_cmp_match()

123456