/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | pci.c | 198 hose->global_number, be32_to_cpu(common->version)); in pnv_pci_dump_p7ioc_diag_data() 202 be32_to_cpu(data->brdgCtl)); in pnv_pci_dump_p7ioc_diag_data() 206 be32_to_cpu(data->portStatusReg), in pnv_pci_dump_p7ioc_diag_data() 207 be32_to_cpu(data->rootCmplxStatus), in pnv_pci_dump_p7ioc_diag_data() 208 be32_to_cpu(data->busAgentStatus)); in pnv_pci_dump_p7ioc_diag_data() 213 be32_to_cpu(data->deviceStatus), in pnv_pci_dump_p7ioc_diag_data() 214 be32_to_cpu(data->slotStatus), in pnv_pci_dump_p7ioc_diag_data() 215 be32_to_cpu(data->linkStatus), in pnv_pci_dump_p7ioc_diag_data() 216 be32_to_cpu(data->devCmdStatus), in pnv_pci_dump_p7ioc_diag_data() 217 be32_to_cpu(data->devSecStatus)); in pnv_pci_dump_p7ioc_diag_data() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | trace.c | 270 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs() 277 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 278 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 279 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs() 289 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 290 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 296 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs() 297 parse_syndrome(be32_to_cpu(eh->aeth) >> 24), in parse_everbs_hdrs() 298 be32_to_cpu(eh->aeth) & IB_MSN_MASK); in parse_everbs_hdrs() 306 be32_to_cpu(eh->tid_rdma.w_req.reth.rkey), in parse_everbs_hdrs() [all …]
|
/openbmc/u-boot/drivers/mtd/ubispl/ |
H A D | ubispl.c | 76 magic = be32_to_cpu(vh->magic); in ubi_io_read_vid_hdr() 87 be32_to_cpu(vh->hdr_crc)) { in ubi_io_read_vid_hdr() 110 if (be32_to_cpu(vh->vol_id) == fm_vol_id && in ubi_rescan_fm_vid_hdr() 112 be32_to_cpu(vh->lnum) == fm_lnum) in ubi_rescan_fm_vid_hdr() 116 be32_to_cpu(vh->vol_id), in ubi_rescan_fm_vid_hdr() 117 fm_lnum, be32_to_cpu(vh->lnum)); in ubi_rescan_fm_vid_hdr() 207 vol_id = be32_to_cpu(vh->vol_id); in ubi_scan_vid_hdr() 221 lnum = be32_to_cpu(vh->lnum); in ubi_scan_vid_hdr() 256 pnum = be32_to_cpu(pebs[i]); in scan_pool() 305 if (be32_to_cpu(fmhdr->magic) != UBI_FM_HDR_MAGIC) { in ubi_attach_fastmap() [all …]
|
/openbmc/qemu/include/hw/ppc/ |
H A D | xive2_regs.h | 112 #define xive2_end_is_valid(end) (be32_to_cpu((end)->w0) & END2_W0_VALID) 113 #define xive2_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END2_W0_ENQUEUE) 115 (be32_to_cpu((end)->w0) & END2_W0_UCOND_NOTIFY) 116 #define xive2_end_is_backlog(end) (be32_to_cpu((end)->w0) & END2_W0_BACKLOG) 118 (be32_to_cpu((end)->w0) & END2_W0_PRECL_ESC_CTL) 120 (be32_to_cpu((end)->w0) & END2_W0_ESCALATE_CTL) 122 (be32_to_cpu((end)->w0) & END2_W0_UNCOND_ESCALATE) 124 (be32_to_cpu((end)->w0) & END2_W0_SILENT_ESCALATE) 126 (be32_to_cpu((end)->w0) & END2_W0_ESCALATE_END) 128 (be32_to_cpu((end)->w0) & END2_W0_FIRMWARE1) [all …]
|
H A D | xive_regs.h | 200 return (be32_to_cpu(word) & mask) >> ctz32(mask); in xive_get_field32() 207 (be32_to_cpu(word) & ~mask) | ((value << ctz32(mask)) & mask); in xive_set_field32() 259 #define xive_end_is_valid(end) (be32_to_cpu((end)->w0) & END_W0_VALID) 260 #define xive_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END_W0_ENQUEUE) 261 #define xive_end_is_notify(end) (be32_to_cpu((end)->w0) & END_W0_UCOND_NOTIFY) 262 #define xive_end_is_backlog(end) (be32_to_cpu((end)->w0) & END_W0_BACKLOG) 263 #define xive_end_is_escalate(end) (be32_to_cpu((end)->w0) & END_W0_ESCALATE_CTL) 265 (be32_to_cpu((end)->w0) & END_W0_UNCOND_ESCALATE) 267 (be32_to_cpu((end)->w0) & END_W0_SILENT_ESCALATE) 269 (be32_to_cpu((end)->w0) & END_W0_FIRMWARE) [all …]
|
/openbmc/linux/block/partitions/ |
H A D | amiga.c | 32 sum += be32_to_cpu(*m++); in checksum_block() 64 if (checksum_block((__be32 *)data, be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F) == 0) in amiga_partition() 71 be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F)==0) { in amiga_partition() 82 blksize = be32_to_cpu( rdb->rdb_BlockBytes ) / 512; in amiga_partition() 91 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 108 blk = be32_to_cpu(pb->pb_Next); in amiga_partition() 111 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition() 121 nr_hd = be32_to_cpu(pb->pb_Environment[NR_HD]); in amiga_partition() 122 nr_sect = be32_to_cpu(pb->pb_Environment[NR_SECT]); in amiga_partition() 132 if (cylblk > be32_to_cpu(rdb->rdb_CylBlocks)) { in amiga_partition() [all …]
|
H A D | atari.c | 24 be32_to_cpu((pi)->st) <= (hdsiz) && \ 25 be32_to_cpu((pi)->st) + be32_to_cpu((pi)->siz) <= (hdsiz)) 84 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition() 85 be32_to_cpu(pi->siz)); in atari_partition() 93 partsect = extensect = be32_to_cpu(pi->st); in atari_partition() 110 partsect + be32_to_cpu(xrs->part[0].st), in atari_partition() 111 be32_to_cpu(xrs->part[0].siz)); in atari_partition() 124 partsect = be32_to_cpu(xrs->part[1].st) + extensect; in atari_partition() 144 be32_to_cpu(pi->st), in atari_partition() 145 be32_to_cpu(pi->siz)); in atari_partition()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_rtas.c | 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 29 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 30 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 31 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 53 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 81 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_off() 98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 103 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_on() [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | devtree.c | 28 naddr = be32_to_cpu(naddr); in dt_fixup_memory() 35 nsize = be32_to_cpu(nsize); in dt_fixup_memory() 53 printf("Memory <- <0x%x", be32_to_cpu(memreg[0])); in dt_fixup_memory() 55 printf(" 0x%x", be32_to_cpu(memreg[i])); in dt_fixup_memory() 142 *naddr = be32_to_cpu(*naddr); in dt_get_reg_format() 146 *nsize = be32_to_cpu(*nsize); in dt_get_reg_format() 175 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg() 192 if (be32_to_cpu(reg[i]) < be32_to_cpu(range[i])) in compare_reg() 194 if (be32_to_cpu(reg[i]) > be32_to_cpu(range[i])) in compare_reg() 199 end = be32_to_cpu(range[i]) + be32_to_cpu(rangesize[i]); in compare_reg() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 132 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec() 133 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec() 160 pag->pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec() 196 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec() 197 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec() 227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur() 240 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_bnobt_key_diff() 252 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff() 256 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_cntbt_key_diff() 268 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys() [all …]
|
H A D | xfs_dir2_block.c | 234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 237 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space() 314 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact() 330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact() 331 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact() 332 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact() 335 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact() 445 lfloglow = be32_to_cpu(btp->count); in xfs_dir2_block_addname() 452 for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) { in xfs_dir2_block_addname() 454 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_addname() [all …]
|
/openbmc/linux/fs/efs/ |
H A D | super.c | 163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit() 175 csum += be32_to_cpu(cs); in module_exit() 196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit() 197 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit() 203 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit() 208 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit() 210 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn), in module_exit() 211 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks), in module_exit() 217 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); in module_exit() 236 if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) in efs_validate_super() [all …]
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_journal.c | 218 max = be32_to_cpu(header->r_count); in print_revoke_blks() 222 blocknr = be32_to_cpu(*((__be32 *)(revk_blk + offset))); in print_revoke_blks() 304 if (sequence_no < be32_to_cpu(header->r_header.h_sequence)) { in check_blknr_for_revoke() 306 max = be32_to_cpu(header->r_count); in check_blknr_for_revoke() 309 blocknr = be32_to_cpu(*((__be32 *) in check_blknr_for_revoke() 364 flags = be32_to_cpu(tag->flags); in recover_transaction() 369 debug("\t\ttag %u\n", be32_to_cpu(tag->block)); in recover_transaction() 371 if (check_blknr_for_revoke(be32_to_cpu(tag->block), in recover_transaction() 372 be32_to_cpu(jdb->h_sequence)) == 0) in recover_transaction() 378 put_ext4((uint64_t)((uint64_t)be32_to_cpu(tag->block) * (uint64_t)fs->blksz), in recover_transaction() [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | fastmap.c | 284 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol() 285 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol() 319 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol() 321 be32_to_cpu(new_vh->data_size); in update_vol() 343 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol() 344 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol() 345 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol() 349 av->used_ebs = be32_to_cpu(new_vh->used_ebs); in update_vol() 376 if (be32_to_cpu(new_vh->vol_id) == UBI_FM_SB_VOLUME_ID || in process_pool_aeb() 377 be32_to_cpu(new_vh->vol_id) == UBI_FM_DATA_VOLUME_ID) { in process_pool_aeb() [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 87 cmd->write_data_done != be32_to_cpu(hdr->offset)) in iscsit_dataout_within_command_recovery_check() 94 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_within_command_recovery_check() 106 (seq->offset != be32_to_cpu(hdr->offset) || in iscsit_dataout_within_command_recovery_check() 107 seq->data_sn != be32_to_cpu(hdr->datasn))) in iscsit_dataout_within_command_recovery_check() 112 seq->data_sn != be32_to_cpu(hdr->datasn)) in iscsit_dataout_within_command_recovery_check() 141 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_unsolicited_sequence() 142 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence() 146 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence() 229 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_sequence() 230 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence() [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap.c | 254 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol() 255 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol() 286 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol() 288 be32_to_cpu(new_vh->data_size); in update_vol() 311 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol() 312 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol() 313 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol() 317 av->used_ebs = be32_to_cpu(new_vh->used_ebs); in update_vol() 340 int vol_id = be32_to_cpu(new_vh->vol_id); in process_pool_aeb() 432 pnum = be32_to_cpu(pebs[i]); in scan_pool() [all …]
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_util.c | 255 if (be32_to_cpu(tpm_resp.hdr.len) != sizeof(tpm_resp) || in tpm_util_get_buffer_size() 256 be32_to_cpu(tpm_resp.len) != sizeof(uint32_t)) { in tpm_util_get_buffer_size() 258 be32_to_cpu(tpm_resp.hdr.len), in tpm_util_get_buffer_size() 260 trace_tpm_util_get_buffer_size_len(be32_to_cpu(tpm_resp.len), in tpm_util_get_buffer_size() 264 be32_to_cpu(tpm_resp.hdr.errcode)); in tpm_util_get_buffer_size() 267 *buffersize = be32_to_cpu(tpm_resp.buffersize); in tpm_util_get_buffer_size() 304 if (be32_to_cpu(tpm2_resp.hdr.len) != sizeof(tpm2_resp) || in tpm_util_get_buffer_size() 305 be32_to_cpu(tpm2_resp.count) != 2) { in tpm_util_get_buffer_size() 307 be32_to_cpu(tpm2_resp.hdr.len), in tpm_util_get_buffer_size() 310 be32_to_cpu(tpm2_resp.count), 2); in tpm_util_get_buffer_size() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | agheader.c | 394 if (blocks != be32_to_cpu(agf->agf_freeblks)) in xchk_agf_xref_freeblks() 426 if (!have || blocks != be32_to_cpu(agf->agf_longest)) in xchk_agf_xref_cntbt() 451 if (blocks != be32_to_cpu(agf->agf_rmap_blocks)) in xchk_agf_xref_btreeblks() 476 if (btreeblks != be32_to_cpu(agf->agf_btreeblks)) in xchk_agf_xref_btreeblks() 495 if (blocks != be32_to_cpu(agf->agf_refcount_blocks)) in xchk_agf_xref_refcblks() 554 eoag = be32_to_cpu(agf->agf_length); in xchk_agf() 559 agbno = be32_to_cpu(agf->agf_roots[XFS_BTNUM_BNO]); in xchk_agf() 563 agbno = be32_to_cpu(agf->agf_roots[XFS_BTNUM_CNT]); in xchk_agf() 567 level = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); in xchk_agf() 571 level = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xchk_agf() [all …]
|
/openbmc/linux/include/rdma/ |
H A D | ib_hdrs.h | 211 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey() 216 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn() 239 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in ib_bth_get_pad() 245 return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); in ib_bth_get_pkey() 250 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & in ib_bth_get_opcode() 256 return (u8)((be32_to_cpu(ohdr->bth[2]) >> IB_BTH_A_SHIFT) & in ib_bth_get_ackreq() 262 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_M_SHIFT) & in ib_bth_get_migreq() 268 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_SE_SHIFT) & in ib_bth_get_se() 274 return (u32)(be32_to_cpu(ohdr->bth[2])); in ib_bth_get_psn() 279 return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); in ib_bth_get_qpn() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 130 if (be32_to_cpu(tl->length) > remaining - sizeof(*tl)) in nfp_traverse_tlvs() 133 total_tlv_size = sizeof(*tl) + be32_to_cpu(tl->length); in nfp_traverse_tlvs() 187 be32_to_cpu(spec->length)); in nfp_dump_error_tlv_size() 202 tl_len = be32_to_cpu(spec->length); in nfp_calc_hwinfo_field_sz() 217 u32 available_sz = be32_to_cpu(spec_csr->tl.length); in nfp_csr_spec_valid() 223 reg_width = be32_to_cpu(spec_csr->register_width); in nfp_csr_spec_valid() 237 tl_len = be32_to_cpu(spec->length); in nfp_calc_rtsym_dump_sz() 257 switch (be32_to_cpu(tl->type)) { in nfp_add_tlv_size() 269 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size() 277 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size() [all …]
|
/openbmc/linux/crypto/ |
H A D | seed.c | 335 x1 = be32_to_cpu(key[0]); in seed_set_key() 336 x2 = be32_to_cpu(key[1]); in seed_set_key() 337 x3 = be32_to_cpu(key[2]); in seed_set_key() 338 x4 = be32_to_cpu(key[3]); in seed_set_key() 372 x1 = be32_to_cpu(src[0]); in seed_encrypt() 373 x2 = be32_to_cpu(src[1]); in seed_encrypt() 374 x3 = be32_to_cpu(src[2]); in seed_encrypt() 375 x4 = be32_to_cpu(src[3]); in seed_encrypt() 410 x1 = be32_to_cpu(src[0]); in seed_decrypt() 411 x2 = be32_to_cpu(src[1]); in seed_decrypt() [all …]
|
/openbmc/u-boot/drivers/qe/ |
H A D | qe.c | 422 const u32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 433 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode() 436 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode() 437 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode() 477 length = be32_to_cpu(hdr->length); in qe_upload_firmware() 511 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware() 523 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in qe_upload_firmware() 565 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware() 572 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware() 616 length = be32_to_cpu(hdr->length); in u_qe_upload_firmware() [all …]
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_hw.c | 142 val = be32_to_cpu(readl(pe[id].mem_access_rdata)); in pe_pmem_read() 191 val = be32_to_cpu(readl(pe[id].mem_access_rdata)); in pe_dmem_read() 236 val = be32_to_cpu(readl(CLASS_BUS_ACCESS_RDATA)); in class_bus_read() 349 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_pmem_section() 350 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pmem_section() 351 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pmem_section() 352 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_pmem_section() 400 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_dmem_section() 401 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_dmem_section() 402 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_dmem_section() [all …]
|
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 179 len = min(cmd->se_cmd.data_length, be32_to_cpu(md->len)); in srp_direct_data() 181 len = be32_to_cpu(md->len); in srp_direct_data() 209 nmd = be32_to_cpu(id->table_desc.len) / sizeof(struct srp_direct_buf); in srp_indirect_data() 219 be32_to_cpu(id->table_desc.len), in srp_indirect_data() 223 be32_to_cpu(id->table_desc.len)); in srp_indirect_data() 227 sg_init_one(&dummy, md, be32_to_cpu(id->table_desc.len)); in srp_indirect_data() 229 sg_dma_len(&dummy) = be32_to_cpu(id->table_desc.len); in srp_indirect_data() 231 be32_to_cpu(id->table_desc.len)); in srp_indirect_data() 251 len = min(cmd->se_cmd.data_length, be32_to_cpu(id->len)); in srp_indirect_data() 253 len = be32_to_cpu(id->len); in srp_indirect_data() [all …]
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-transaction.c | 70 *source = be32_to_cpu(info) & CLOCK_SOURCE_MASK; in snd_dice_transaction_get_clock_source() 85 index = (be32_to_cpu(info) & CLOCK_RATE_MASK) >> CLOCK_RATE_SHIFT; in snd_dice_transaction_get_rate() 296 data = be32_to_cpu(pointers[i]); in get_subaddrs() 303 if (be32_to_cpu(pointers[1]) > 0x18) { in get_subaddrs() 310 be32_to_cpu(pointers[0]) * 4 + GLOBAL_VERSION, in get_subaddrs() 319 be32_to_cpu(version)); in get_subaddrs() 328 dice->global_offset = be32_to_cpu(pointers[0]) * 4; in get_subaddrs() 329 dice->tx_offset = be32_to_cpu(pointers[2]) * 4; in get_subaddrs() 330 dice->rx_offset = be32_to_cpu(pointers[4]) * 4; in get_subaddrs() 334 dice->sync_offset = be32_to_cpu(pointers[6]) * 4; in get_subaddrs() [all …]
|