/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_sandbox.c | 223 put_unaligned_be32(*recv_len, recv); in sandbox_tpm2_fill_buf() 227 put_unaligned_be32(rc, recv); in sandbox_tpm2_fill_buf() 415 put_unaligned_be32(rc, recv); in sandbox_tpm2_xfer() 423 put_unaligned_be32(capability, recv); in sandbox_tpm2_xfer() 429 put_unaligned_be32(1, recv); in sandbox_tpm2_xfer() 448 put_unaligned_be32(property_count, recv); in sandbox_tpm2_xfer() 453 put_unaligned_be32(property + i, recv); in sandbox_tpm2_xfer() 469 put_unaligned_be32(val, recv); in sandbox_tpm2_xfer() 480 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer() 548 put_unaligned_be32(rc, recv); in sandbox_tpm2_xfer() [all …]
|
H A D | tpm_tis_sandbox.c | 220 put_unaligned_be32(TPM_TAG_PERMANENT_FLAGS, in sandbox_tpm_xfer() 230 put_unaligned_be32(*recv_len, in sandbox_tpm_xfer() 237 put_unaligned_be32(22, recvbuf + in sandbox_tpm_xfer() 269 put_unaligned_be32(length, recvbuf + in sandbox_tpm_xfer() 284 put_unaligned_be32(TPM_BADINDEX, recvbuf + in sandbox_tpm_xfer()
|
/openbmc/linux/crypto/ |
H A D | cast6_generic.c | 197 put_unaligned_be32(block[0], outbuf); in __cast6_encrypt() 198 put_unaligned_be32(block[1], outbuf + 4); in __cast6_encrypt() 199 put_unaligned_be32(block[2], outbuf + 8); in __cast6_encrypt() 200 put_unaligned_be32(block[3], outbuf + 12); in __cast6_encrypt() 234 put_unaligned_be32(block[0], outbuf); in __cast6_decrypt() 235 put_unaligned_be32(block[1], outbuf + 4); in __cast6_decrypt() 236 put_unaligned_be32(block[2], outbuf + 8); in __cast6_decrypt() 237 put_unaligned_be32(block[3], outbuf + 12); in __cast6_decrypt()
|
H A D | blowfish_generic.c | 65 put_unaligned_be32(yr, dst); in bf_encrypt() 66 put_unaligned_be32(yl, dst + 4); in bf_encrypt() 97 put_unaligned_be32(yr, dst); in bf_decrypt() 98 put_unaligned_be32(yl, dst + 4); in bf_decrypt()
|
H A D | sm4.c | 176 put_unaligned_be32(x[3 - 0], out + 0 * 4); in sm4_crypt_block() 177 put_unaligned_be32(x[3 - 1], out + 1 * 4); in sm4_crypt_block() 178 put_unaligned_be32(x[3 - 2], out + 2 * 4); in sm4_crypt_block() 179 put_unaligned_be32(x[3 - 3], out + 3 * 4); in sm4_crypt_block()
|
H A D | camellia_generic.c | 1006 put_unaligned_be32(tmp[2], out); in camellia_encrypt() 1007 put_unaligned_be32(tmp[3], out + 4); in camellia_encrypt() 1008 put_unaligned_be32(tmp[0], out + 8); in camellia_encrypt() 1009 put_unaligned_be32(tmp[1], out + 12); in camellia_encrypt() 1032 put_unaligned_be32(tmp[2], out); in camellia_decrypt() 1033 put_unaligned_be32(tmp[3], out + 4); in camellia_decrypt() 1034 put_unaligned_be32(tmp[0], out + 8); in camellia_decrypt() 1035 put_unaligned_be32(tmp[1], out + 12); in camellia_decrypt()
|
H A D | cast5_generic.c | 348 put_unaligned_be32(r, outbuf); in __cast5_encrypt() 349 put_unaligned_be32(l, outbuf + 4); in __cast5_encrypt() 390 put_unaligned_be32(r, outbuf); in __cast5_decrypt() 391 put_unaligned_be32(l, outbuf + 4); in __cast5_decrypt()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 232 put_unaligned_be32(1, &ct->payload.rhba.port.numport); in fc_ct_ms_fill() 238 put_unaligned_be32(numattrs, in fc_ct_ms_fill() 369 put_unaligned_be32(fc_host_max_ct_payload(lport->host), in fc_ct_ms_fill() 393 put_unaligned_be32(0, in fc_ct_ms_fill() 404 put_unaligned_be32(fc_host_num_ports(lport->host), in fc_ct_ms_fill() 438 put_unaligned_be32(fc_host_bootbios_state(lport->host), in fc_ct_ms_fill() 492 put_unaligned_be32(numattrs, in fc_ct_ms_fill() 516 put_unaligned_be32(fc_host_supported_speeds(lport->host), in fc_ct_ms_fill() 527 put_unaligned_be32(lport->link_speed, in fc_ct_ms_fill() 538 put_unaligned_be32(fc_host_maxframe_size(lport->host), in fc_ct_ms_fill() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | crypto_test.c | 48 put_unaligned_be32(nonce1, &msg[0]); in mptcp_crypto_test_basic() 49 put_unaligned_be32(nonce2, &msg[4]); in mptcp_crypto_test_basic()
|
H A D | options.c | 1415 put_unaligned_be32(mpext->data_ack32, ptr); in mptcp_write_options() 1423 put_unaligned_be32(mpext->subflow_seq, ptr); in mptcp_write_options() 1433 put_unaligned_be32(mpext->data_len << 16 | in mptcp_write_options() 1489 put_unaligned_be32(opts->data_len << 16 | in mptcp_write_options() 1501 put_unaligned_be32(opts->token, ptr); in mptcp_write_options() 1503 put_unaligned_be32(opts->nonce, ptr); in mptcp_write_options() 1511 put_unaligned_be32(opts->nonce, ptr); in mptcp_write_options() 1569 put_unaligned_be32(port << 16 | in mptcp_write_options() 1636 put_unaligned_be32(id1 << 24 | id2 << 16 | id3 << 8 | id4, ptr); in mptcp_write_options()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_xcopy.c | 589 put_unaligned_be32(transfer_length_block, &cdb[10]); in target_xcopy_read_source() 634 put_unaligned_be32(transfer_length_block, &cdb[10]); in target_xcopy_write_destination() 948 put_unaligned_be32(RCR_OP_MAX_DESC_LIST_LEN, &p[12]); in target_rcr_operating_parameters() 952 put_unaligned_be32(RCR_OP_MAX_SEGMENT_LEN, &p[16]); in target_rcr_operating_parameters() 956 put_unaligned_be32(0x0, &p[20]); in target_rcr_operating_parameters() 960 put_unaligned_be32(0x0, &p[24]); in target_rcr_operating_parameters() 964 put_unaligned_be32(0x0, &p[28]); in target_rcr_operating_parameters() 998 put_unaligned_be32(42, &p[0]); in target_rcr_operating_parameters()
|
H A D | target_core_spc.c | 555 put_unaligned_be32(min_not_zero(mtl, io_max_blocks), &buf[8]); in spc_emulate_evpd_b0() 561 put_unaligned_be32(opt / dev->dev_attrib.block_size, &buf[12]); in spc_emulate_evpd_b0() 563 put_unaligned_be32(dev->dev_attrib.optimal_sectors, &buf[12]); in spc_emulate_evpd_b0() 574 put_unaligned_be32(dev->dev_attrib.max_unmap_lba_count, &buf[20]); in spc_emulate_evpd_b0() 579 put_unaligned_be32(dev->dev_attrib.max_unmap_block_desc_count, in spc_emulate_evpd_b0() 585 put_unaligned_be32(dev->dev_attrib.unmap_granularity, &buf[28]); in spc_emulate_evpd_b0() 590 put_unaligned_be32(dev->dev_attrib.unmap_granularity_alignment, in spc_emulate_evpd_b0() 689 put_unaligned_be32(dev->t10_alua.lba_map_segment_size, &buf[8]); in spc_emulate_evpd_b3() 690 put_unaligned_be32(dev->t10_alua.lba_map_segment_multiplier, &buf[12]); in spc_emulate_evpd_b3() 997 put_unaligned_be32(min(blocks, 0xffffffffull), buf); in spc_modesense_blockdesc() [all …]
|
H A D | target_core_iblock.c | 1007 put_unaligned_be32(keys->generation, ¶m_data[0]); in iblock_pr_read_keys() 1009 put_unaligned_be32(0, ¶m_data[4]); in iblock_pr_read_keys() 1013 put_unaligned_be32(8 * keys->num_keys, ¶m_data[4]); in iblock_pr_read_keys() 1051 put_unaligned_be32(rsv.generation, ¶m_data[0]); in iblock_pr_read_reservation() 1053 put_unaligned_be32(0, ¶m_data[4]); in iblock_pr_read_reservation() 1057 put_unaligned_be32(16, ¶m_data[4]); in iblock_pr_read_reservation()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 53 put_unaligned_be32(d[perm_c2p_16x8[i]], dst); in store_iplan2() 66 put_unaligned_be32(comp(d[perm_c2p_16x8[i]], in store_iplan2_masked()
|
H A D | c2p_planar.c | 53 put_unaligned_be32(d[perm_c2p_32x8[i]], dst); in store_planar() 67 put_unaligned_be32(comp(d[perm_c2p_32x8[i]], in store_planar_masked()
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | unaligned-sh4a.h | 168 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() function 239 put_unaligned_be32((__force u32)(val), __gu_p); \
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | xz_config.h | 42 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() function
|
/openbmc/u-boot/include/linux/unaligned/ |
H A D | access_ok.h | 56 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() function
|
H A D | be_byteshift.h | 60 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() function
|
H A D | generic.h | 57 put_unaligned_be32((__force u32)(val), __gu_p); \
|
/openbmc/linux/tools/include/tools/ |
H A D | be_byteshift.h | 61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32() function
|
/openbmc/linux/drivers/power/supply/ |
H A D | rk817_charger.c | 263 put_unaligned_be32(charge_now_adc, bulk_reg); in rk817_bat_calib_cap() 300 put_unaligned_be32(charge_now_adc, bulk_reg); in rk817_bat_calib_cap() 344 put_unaligned_be32(charge_now_adc, bulk_reg); in rk817_bat_calib_cap() 846 put_unaligned_be32(tmp, bulk_reg); in rk817_read_or_set_full_charge_on_boot() 855 put_unaligned_be32(tmp, bulk_reg); in rk817_read_or_set_full_charge_on_boot()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | dp.c | 206 put_unaligned_be32(md_dst->u.port_info.port_id, data); in nfp_nfd3_prep_tx_meta() 230 put_unaligned_be32(offload_info.seq_hi, data); in nfp_nfd3_prep_tx_meta() 232 put_unaligned_be32(offload_info.seq_low, data); in nfp_nfd3_prep_tx_meta() 234 put_unaligned_be32(offload_info.handle - 1, data); in nfp_nfd3_prep_tx_meta() 240 put_unaligned_be32(meta_id, data); in nfp_nfd3_prep_tx_meta() 1240 put_unaligned_be32(NFP_META_PORT_ID_CTRL, skb_push(skb, 4)); in nfp_nfd3_ctrl_tx_one() 1241 put_unaligned_be32(NFP_NET_META_PORTID, skb_push(skb, 4)); in nfp_nfd3_ctrl_tx_one()
|
/openbmc/u-boot/lib/rsa/ |
H A D | rsa-mod-exp.c | 25 #define put_unaligned_be32(a, b) (*(uint32_t *)(b) = cpu_to_fdt32(a)) macro 237 put_unaligned_be32(result[i], ptr); in pow_mod()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | dp.c | 209 put_unaligned_be32(md_dst->u.port_info.port_id, data); in nfp_nfdk_prep_tx_meta() 225 put_unaligned_be32(offload_info.seq_hi, data); in nfp_nfdk_prep_tx_meta() 227 put_unaligned_be32(offload_info.seq_low, data); in nfp_nfdk_prep_tx_meta() 229 put_unaligned_be32(offload_info.handle - 1, data); in nfp_nfdk_prep_tx_meta() 238 put_unaligned_be32(meta_id, data); in nfp_nfdk_prep_tx_meta() 1353 put_unaligned_be32(NFP_META_PORT_ID_CTRL, skb_push(skb, 4)); in nfp_nfdk_ctrl_tx_one() 1354 put_unaligned_be32(FIELD_PREP(NFDK_META_LEN, 8) | in nfp_nfdk_ctrl_tx_one()
|