Home
last modified time | relevance | path

Searched refs:get_unaligned_le32 (Results 1 – 25 of 189) sorted by relevance

12345678

/linux-5.19.10/drivers/nvme/target/
Dtrace.c28 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvmet_trace_admin_get_features()
41 u32 mndw = get_unaligned_le32(cdw10 + 8); in nvmet_trace_get_lba_status()
58 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvmet_trace_admin_set_features()
72 u32 dsmgmt = get_unaligned_le32(cdw10 + 12); in nvmet_trace_read_write()
73 u32 reftag = get_unaligned_le32(cdw10 + 16); in nvmet_trace_read_write()
88 get_unaligned_le32(cdw10), in nvmet_trace_dsm()
89 get_unaligned_le32(cdw10 + 4)); in nvmet_trace_dsm()
142 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set()
159 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect()
172 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_get()
/linux-5.19.10/drivers/power/supply/
Dsurface_battery.c269 u32 full_cap = get_unaligned_le32(&bat->bix.last_full_charge_cap); in sprw_battery_get_full_cap_safe()
274 full_cap = get_unaligned_le32(&bat->bix.design_cap); in sprw_battery_get_full_cap_safe()
281 u32 state = get_unaligned_le32(&bat->bst.state); in spwr_battery_is_full()
283 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_is_full()
300 unit = get_unaligned_le32(&bat->bix.power_unit); in spwr_battery_recheck_full()
309 u32 cap_warn = get_unaligned_le32(&bat->bix.design_cap_warn); in spwr_battery_recheck_full()
321 WARN_ON(unit != get_unaligned_le32(&bat->bix.power_unit)); in spwr_battery_recheck_full()
466 u32 state = get_unaligned_le32(&bat->bst.state); in spwr_battery_prop_status()
467 u32 present_rate = get_unaligned_le32(&bat->bst.present_rate); in spwr_battery_prop_status()
511 u32 remaining_cap = get_unaligned_le32(&bat->bst.remaining_cap); in spwr_battery_prop_capacity()
[all …]
/linux-5.19.10/drivers/nvme/host/
Dtrace.c81 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvme_trace_admin_set_features()
95 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvme_trace_admin_get_features()
108 u32 mndw = get_unaligned_le32(cdw10 + 8); in nvme_trace_get_lba_status()
142 u32 dsmgmt = get_unaligned_le32(cdw10 + 12); in nvme_trace_read_write()
143 u32 reftag = get_unaligned_le32(cdw10 + 16); in nvme_trace_read_write()
158 get_unaligned_le32(cdw10), in nvme_trace_dsm()
159 get_unaligned_le32(cdw10 + 4)); in nvme_trace_dsm()
182 u32 numd = get_unaligned_le32(cdw10 + 8); in nvme_trace_zone_mgmt_recv()
255 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set()
271 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect()
[all …]
/linux-5.19.10/lib/crypto/
Dpoly1305-donna32.c17 key->key.r[0] = (get_unaligned_le32(&raw_key[0])) & 0x3ffffff; in poly1305_core_setkey()
18 key->key.r[1] = (get_unaligned_le32(&raw_key[3]) >> 2) & 0x3ffff03; in poly1305_core_setkey()
19 key->key.r[2] = (get_unaligned_le32(&raw_key[6]) >> 4) & 0x3ffc0ff; in poly1305_core_setkey()
20 key->key.r[3] = (get_unaligned_le32(&raw_key[9]) >> 6) & 0x3f03fff; in poly1305_core_setkey()
21 key->key.r[4] = (get_unaligned_le32(&raw_key[12]) >> 8) & 0x00fffff; in poly1305_core_setkey()
66 h0 += (get_unaligned_le32(&input[0])) & 0x3ffffff; in poly1305_core_blocks()
67 h1 += (get_unaligned_le32(&input[3]) >> 2) & 0x3ffffff; in poly1305_core_blocks()
68 h2 += (get_unaligned_le32(&input[6]) >> 4) & 0x3ffffff; in poly1305_core_blocks()
69 h3 += (get_unaligned_le32(&input[9]) >> 6) & 0x3ffffff; in poly1305_core_blocks()
70 h4 += (get_unaligned_le32(&input[12]) >> 8) | hibit; in poly1305_core_blocks()
Daes.c199 ctx->key_enc[i] = get_unaligned_le32(in_key + i * sizeof(u32)); in aes_expandkey()
265 st0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in aes_encrypt()
266 st0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in aes_encrypt()
267 st0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in aes_encrypt()
268 st0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in aes_encrypt()
316 st0[0] = ctx->key_dec[0] ^ get_unaligned_le32(in); in aes_decrypt()
317 st0[1] = ctx->key_dec[1] ^ get_unaligned_le32(in + 4); in aes_decrypt()
318 st0[2] = ctx->key_dec[2] ^ get_unaligned_le32(in + 8); in aes_decrypt()
319 st0[3] = ctx->key_dec[3] ^ get_unaligned_le32(in + 12); in aes_decrypt()
Dpoly1305.c19 desc->s[0] = get_unaligned_le32(key + 16); in poly1305_init_generic()
20 desc->s[1] = get_unaligned_le32(key + 20); in poly1305_init_generic()
21 desc->s[2] = get_unaligned_le32(key + 24); in poly1305_init_generic()
22 desc->s[3] = get_unaligned_le32(key + 28); in poly1305_init_generic()
Dchacha20poly1305.c26 k[0] = get_unaligned_le32(in); in chacha_load_key()
27 k[1] = get_unaligned_le32(in + 4); in chacha_load_key()
28 k[2] = get_unaligned_le32(in + 8); in chacha_load_key()
29 k[3] = get_unaligned_le32(in + 12); in chacha_load_key()
30 k[4] = get_unaligned_le32(in + 16); in chacha_load_key()
31 k[5] = get_unaligned_le32(in + 20); in chacha_load_key()
32 k[6] = get_unaligned_le32(in + 24); in chacha_load_key()
33 k[7] = get_unaligned_le32(in + 28); in chacha_load_key()
/linux-5.19.10/arch/mips/crypto/
Dpoly1305-glue.c23 dctx->s[0] = get_unaligned_le32(key + 16); in poly1305_init_arch()
24 dctx->s[1] = get_unaligned_le32(key + 20); in poly1305_init_arch()
25 dctx->s[2] = get_unaligned_le32(key + 24); in poly1305_init_arch()
26 dctx->s[3] = get_unaligned_le32(key + 28); in poly1305_init_arch()
53 dctx->s[0] = get_unaligned_le32(src + 0); in mips_poly1305_blocks()
54 dctx->s[1] = get_unaligned_le32(src + 4); in mips_poly1305_blocks()
55 dctx->s[2] = get_unaligned_le32(src + 8); in mips_poly1305_blocks()
56 dctx->s[3] = get_unaligned_le32(src + 12); in mips_poly1305_blocks()
/linux-5.19.10/lib/
Dxxhash.c116 v1 = xxh32_round(v1, get_unaligned_le32(p)); in xxh32()
118 v2 = xxh32_round(v2, get_unaligned_le32(p)); in xxh32()
120 v3 = xxh32_round(v3, get_unaligned_le32(p)); in xxh32()
122 v4 = xxh32_round(v4, get_unaligned_le32(p)); in xxh32()
135 h32 += get_unaligned_le32(p) * PRIME32_3; in xxh32()
218 h64 ^= (uint64_t)(get_unaligned_le32(p)) * PRIME64_1; in xxh64()
293 state->v1 = xxh32_round(state->v1, get_unaligned_le32(p32)); in xxh32_update()
295 state->v2 = xxh32_round(state->v2, get_unaligned_le32(p32)); in xxh32_update()
297 state->v3 = xxh32_round(state->v3, get_unaligned_le32(p32)); in xxh32_update()
299 state->v4 = xxh32_round(state->v4, get_unaligned_le32(p32)); in xxh32_update()
[all …]
Ddecompress_unlz4.c45 size_t out_len = get_unaligned_le32(input + in_len); in unlz4()
91 chunksize = get_unaligned_le32(inp); in unlz4()
120 chunksize = get_unaligned_le32(inp); in unlz4()
/linux-5.19.10/net/mac80211/
Dmichael.c39 mctx->l = get_unaligned_le32(key); in michael_mic_hdr()
40 mctx->r = get_unaligned_le32(key + 4); in michael_mic_hdr()
46 michael_block(mctx, get_unaligned_le32(da)); in michael_mic_hdr()
49 michael_block(mctx, get_unaligned_le32(&sa[2])); in michael_mic_hdr()
67 michael_block(&mctx, get_unaligned_le32(&data[block * 4])); in michael_mic()
/linux-5.19.10/arch/arm64/crypto/
Dpoly1305-glue.c31 dctx->s[0] = get_unaligned_le32(key + 16); in poly1305_init_arch()
32 dctx->s[1] = get_unaligned_le32(key + 20); in poly1305_init_arch()
33 dctx->s[2] = get_unaligned_le32(key + 24); in poly1305_init_arch()
34 dctx->s[3] = get_unaligned_le32(key + 28); in poly1305_init_arch()
61 dctx->s[0] = get_unaligned_le32(src + 0); in neon_poly1305_blocks()
62 dctx->s[1] = get_unaligned_le32(src + 4); in neon_poly1305_blocks()
63 dctx->s[2] = get_unaligned_le32(src + 8); in neon_poly1305_blocks()
64 dctx->s[3] = get_unaligned_le32(src + 12); in neon_poly1305_blocks()
/linux-5.19.10/crypto/
Daes_generic.c1183 b0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in crypto_aes_encrypt()
1184 b0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in crypto_aes_encrypt()
1185 b0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in crypto_aes_encrypt()
1186 b0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in crypto_aes_encrypt()
1253 b0[0] = ctx->key_dec[0] ^ get_unaligned_le32(in); in crypto_aes_decrypt()
1254 b0[1] = ctx->key_dec[1] ^ get_unaligned_le32(in + 4); in crypto_aes_decrypt()
1255 b0[2] = ctx->key_dec[2] ^ get_unaligned_le32(in + 8); in crypto_aes_decrypt()
1256 b0[3] = ctx->key_dec[3] ^ get_unaligned_le32(in + 12); in crypto_aes_decrypt()
Dpoly1305_generic.c45 dctx->s[0] = get_unaligned_le32(src + 0); in crypto_poly1305_setdesckey()
46 dctx->s[1] = get_unaligned_le32(src + 4); in crypto_poly1305_setdesckey()
47 dctx->s[2] = get_unaligned_le32(src + 8); in crypto_poly1305_setdesckey()
48 dctx->s[3] = get_unaligned_le32(src + 12); in crypto_poly1305_setdesckey()
Dnhpoly1305.c51 u32 m0 = get_unaligned_le32(message + 0); in nh_generic()
52 u32 m1 = get_unaligned_le32(message + 4); in nh_generic()
53 u32 m2 = get_unaligned_le32(message + 8); in nh_generic()
54 u32 m3 = get_unaligned_le32(message + 12); in nh_generic()
138 ctx->nh_key[i] = get_unaligned_le32(key + i * sizeof(u32)); in crypto_nhpoly1305_setkey()
Dmichael_mic.c82 mctx->l ^= get_unaligned_le32(data); in michael_update()
137 mctx->l = get_unaligned_le32(key); in michael_setkey()
138 mctx->r = get_unaligned_le32(key + 4); in michael_setkey()
/linux-5.19.10/arch/arm/crypto/
Dpoly1305-glue.c35 dctx->s[0] = get_unaligned_le32(key + 16); in poly1305_init_arch()
36 dctx->s[1] = get_unaligned_le32(key + 20); in poly1305_init_arch()
37 dctx->s[2] = get_unaligned_le32(key + 24); in poly1305_init_arch()
38 dctx->s[3] = get_unaligned_le32(key + 28); in poly1305_init_arch()
65 dctx->s[0] = get_unaligned_le32(src + 0); in arm_poly1305_blocks()
66 dctx->s[1] = get_unaligned_le32(src + 4); in arm_poly1305_blocks()
67 dctx->s[2] = get_unaligned_le32(src + 8); in arm_poly1305_blocks()
68 dctx->s[3] = get_unaligned_le32(src + 12); in arm_poly1305_blocks()
/linux-5.19.10/arch/x86/crypto/
Dpoly1305_glue.c135 dctx->s[0] = get_unaligned_le32(&key[16]); in poly1305_init_arch()
136 dctx->s[1] = get_unaligned_le32(&key[20]); in poly1305_init_arch()
137 dctx->s[2] = get_unaligned_le32(&key[24]); in poly1305_init_arch()
138 dctx->s[3] = get_unaligned_le32(&key[28]); in poly1305_init_arch()
157 dctx->s[0] = get_unaligned_le32(&inp[0]); in crypto_poly1305_setdctxkey()
158 dctx->s[1] = get_unaligned_le32(&inp[4]); in crypto_poly1305_setdctxkey()
159 dctx->s[2] = get_unaligned_le32(&inp[8]); in crypto_poly1305_setdctxkey()
160 dctx->s[3] = get_unaligned_le32(&inp[12]); in crypto_poly1305_setdctxkey()
/linux-5.19.10/include/crypto/
Dchacha.h77 state[12] = get_unaligned_le32(iv + 0); in chacha_init_generic()
78 state[13] = get_unaligned_le32(iv + 4); in chacha_init_generic()
79 state[14] = get_unaligned_le32(iv + 8); in chacha_init_generic()
80 state[15] = get_unaligned_le32(iv + 12); in chacha_init_generic()
/linux-5.19.10/drivers/net/wireless/purelifi/plfxlc/
Dfirmware.c169 file.total_files = get_unaligned_le32(&fwp->data[0]); in plfxlc_download_xl_firmware()
170 file.total_size = get_unaligned_le32(&fwp->size); in plfxlc_download_xl_firmware()
195 file.size = get_unaligned_le32(&fwp->data[4 + ((s + 1) * 4)]) in plfxlc_download_xl_firmware()
196 - get_unaligned_le32(&fwp->data[4 + (s) * 4]); in plfxlc_download_xl_firmware()
199 get_unaligned_le32(&fwp->data[4 + (s) * 4]); in plfxlc_download_xl_firmware()
206 file.start_addr = get_unaligned_le32(&fwp->data[4 + (s * 4)]); in plfxlc_download_xl_firmware()
/linux-5.19.10/drivers/usb/gadget/function/
Drndis.c190 get_unaligned_le32(&buf[i]), in gen_ndis_query_resp()
191 get_unaligned_le32(&buf[i + 4]), in gen_ndis_query_resp()
192 get_unaligned_le32(&buf[i + 8]), in gen_ndis_query_resp()
193 get_unaligned_le32(&buf[i + 12])); in gen_ndis_query_resp()
500 get_unaligned_le32(&buf[i]), in gen_ndis_set_resp()
501 get_unaligned_le32(&buf[i + 4]), in gen_ndis_set_resp()
502 get_unaligned_le32(&buf[i + 8]), in gen_ndis_set_resp()
503 get_unaligned_le32(&buf[i + 12])); in gen_ndis_set_resp()
516 *params->filter = (u16)get_unaligned_le32(buf); in gen_ndis_set_resp()
800 MsgType = get_unaligned_le32(tmp++); in rndis_msg_parser()
[all …]
/linux-5.19.10/drivers/net/wireless/ath/
Dkey.c110 macLo = get_unaligned_le32(mac); in ath_hw_keysetmac()
184 key0 = get_unaligned_le32(k->kv_val + 0); in ath_hw_set_keycache_entry()
186 key2 = get_unaligned_le32(k->kv_val + 6); in ath_hw_set_keycache_entry()
188 key4 = get_unaligned_le32(k->kv_val + 12); in ath_hw_set_keycache_entry()
237 mic0 = get_unaligned_le32(k->kv_mic + 0); in ath_hw_set_keycache_entry()
238 mic2 = get_unaligned_le32(k->kv_mic + 4); in ath_hw_set_keycache_entry()
241 mic4 = get_unaligned_le32(k->kv_txmic + 4); in ath_hw_set_keycache_entry()
279 mic0 = get_unaligned_le32(k->kv_mic + 0); in ath_hw_set_keycache_entry()
280 mic2 = get_unaligned_le32(k->kv_mic + 4); in ath_hw_set_keycache_entry()
Dhw.c123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); in ath_hw_setbssidmask()
128 REG_WRITE(ah, AR_BSSMSKL, get_unaligned_le32(common->bssidmask)); in ath_hw_setbssidmask()
/linux-5.19.10/drivers/net/can/usb/etas_es58x/
Des581_4.c65 first_packet_idx = get_unaligned_le32(&echo_msg->packet_idx); in es581_4_echo_msg()
71 tmp_idx = get_unaligned_le32(&echo_msg->packet_idx); in es581_4_echo_msg()
127 canid_t can_id = get_unaligned_le32(&rx_can_msg->can_id); in es581_4_rx_can_msg()
146 enum es58x_err error = get_unaligned_le32(&rx_err_msg->error); in es581_4_rx_err_msg()
162 enum es58x_event event = get_unaligned_le32(&rx_event_msg->event); in es581_4_rx_event_msg()
196 get_unaligned_le32(&rx_cmd_ret->rx_cmd_ret_le32)); in es581_4_rx_cmd_ret_u32()
/linux-5.19.10/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c590 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3()
591 0x01250A21 : get_unaligned_le32(bd->pins + 48); in parse_pins3()
620 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 71); in parse_pins4()
628 minfo->values.reg.opt3 = get_unaligned_le32(bd->pins + 67); in parse_pins4()
662 minfo->values.reg.opt = get_unaligned_le32(bd->pins + 48); in parse_pins5()
663 minfo->values.reg.opt2 = get_unaligned_le32(bd->pins + 52); in parse_pins5()
664 minfo->values.reg.opt3 = get_unaligned_le32(bd->pins + 94); in parse_pins5()
665 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 98); in parse_pins5()
666 minfo->values.reg.memmisc = get_unaligned_le32(bd->pins + 102); in parse_pins5()
667 minfo->values.reg.memrdbk = get_unaligned_le32(bd->pins + 106); in parse_pins5()

12345678