/linux-4.4.14/drivers/infiniband/core/ |
D | cm_msgs.h | 112 return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); in cm_req_get_local_qpn() 117 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_req_set_local_qpn() 118 (be32_to_cpu(req_msg->offset32) & in cm_req_set_local_qpn() 124 return (u8) be32_to_cpu(req_msg->offset32); in cm_req_get_resp_res() 130 (be32_to_cpu(req_msg->offset32) & in cm_req_set_resp_res() 136 return (u8) be32_to_cpu(req_msg->offset36); in cm_req_get_init_depth() 143 (be32_to_cpu(req_msg->offset36) & in cm_req_set_init_depth() 149 return (u8) ((be32_to_cpu(req_msg->offset40) & 0xF8) >> 3); in cm_req_get_remote_resp_timeout() 156 (be32_to_cpu(req_msg->offset40) & in cm_req_set_remote_resp_timeout() 162 u8 transport_type = (u8) (be32_to_cpu(req_msg->offset40) & 0x06) >> 1; in cm_req_get_qp_type() [all …]
|
/linux-4.4.14/block/partitions/ |
D | amiga.c | 24 sum += be32_to_cpu(*m++); in checksum_block() 54 if (checksum_block((__be32 *)data, be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F) == 0) in amiga_partition() 61 be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F)==0) { in amiga_partition() 72 blksize = be32_to_cpu( rdb->rdb_BlockBytes ) / 512; in amiga_partition() 81 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 94 blk = be32_to_cpu(pb->pb_Next); in amiga_partition() 97 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition() 102 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - in amiga_partition() 103 be32_to_cpu(pb->pb_Environment[9])) * in amiga_partition() 104 be32_to_cpu(pb->pb_Environment[3]) * in amiga_partition() [all …]
|
D | atari.c | 23 be32_to_cpu((pi)->st) <= (hdsiz) && \ 24 be32_to_cpu((pi)->st) + be32_to_cpu((pi)->siz) <= (hdsiz)) 76 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition() 77 be32_to_cpu(pi->siz)); in atari_partition() 85 partsect = extensect = be32_to_cpu(pi->st); in atari_partition() 102 partsect + be32_to_cpu(xrs->part[0].st), in atari_partition() 103 be32_to_cpu(xrs->part[0].siz)); in atari_partition() 116 partsect = be32_to_cpu(xrs->part[1].st) + extensect; in atari_partition() 137 be32_to_cpu(pi->st), in atari_partition() 138 be32_to_cpu(pi->siz)); in atari_partition()
|
D | sgi.c | 47 if(be32_to_cpu(magic) != SGI_LABEL_MAGIC) { in sgi_partition() 56 csum += be32_to_cpu(cs); in sgi_partition() 70 blocks = be32_to_cpu(p->num_blocks); in sgi_partition() 71 start = be32_to_cpu(p->first_block); in sgi_partition() 74 if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION) in sgi_partition()
|
D | sysv68.c | 69 i = be32_to_cpu(b->dk_ios.ios_slcblk); in sysv68_partition() 83 if (be32_to_cpu(slice->nblocks)) { in sysv68_partition() 85 be32_to_cpu(slice->blkoff), in sysv68_partition() 86 be32_to_cpu(slice->nblocks)); in sysv68_partition()
|
D | mac.c | 65 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition() 85 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition() 86 be32_to_cpu(part->block_count) * (secsize/512)); in mac_partition() 102 if ((be32_to_cpu(part->status) & MAC_STATUS_BOOTABLE) in mac_partition()
|
D | sun.c | 87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && in sun_partition() 88 (be32_to_cpu(label->vtoc.version) == 1) && in sun_partition() 105 st_sector = be32_to_cpu(p->start_cylinder) * spc; in sun_partition() 106 num_sectors = be32_to_cpu(p->num_sectors); in sun_partition()
|
D | aix.c | 202 vgda_len = be32_to_cpu(p->vgda_len); in aix_partition() 203 vgda_sector = be32_to_cpu(p->vgda_psn[0]); in aix_partition() 240 int psn_part1 = be32_to_cpu(pvd->psn_part1); in aix_partition()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 53 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_set_root() 118 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, in xfs_allocbt_free_block() 138 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_update_lastrec() 156 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec() 157 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec() 184 pag->pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec() 245 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur() 261 return (__int64_t)be32_to_cpu(kp->ar_startblock) - in xfs_allocbt_key_diff() 265 diff = (__int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_allocbt_key_diff() 269 return (__int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_allocbt_key_diff() [all …]
|
D | xfs_inode_buf.c | 207 to->di_uid = be32_to_cpu(from->di_uid); in xfs_dinode_from_disk() 208 to->di_gid = be32_to_cpu(from->di_gid); in xfs_dinode_from_disk() 209 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk() 214 to->di_atime.t_sec = be32_to_cpu(from->di_atime.t_sec); in xfs_dinode_from_disk() 215 to->di_atime.t_nsec = be32_to_cpu(from->di_atime.t_nsec); in xfs_dinode_from_disk() 216 to->di_mtime.t_sec = be32_to_cpu(from->di_mtime.t_sec); in xfs_dinode_from_disk() 217 to->di_mtime.t_nsec = be32_to_cpu(from->di_mtime.t_nsec); in xfs_dinode_from_disk() 218 to->di_ctime.t_sec = be32_to_cpu(from->di_ctime.t_sec); in xfs_dinode_from_disk() 219 to->di_ctime.t_nsec = be32_to_cpu(from->di_ctime.t_nsec); in xfs_dinode_from_disk() 222 to->di_extsize = be32_to_cpu(from->di_extsize); in xfs_dinode_from_disk() [all …]
|
D | xfs_dir2_block.c | 219 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 222 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space() 299 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact() 315 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact() 316 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact() 317 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact() 320 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact() 430 lfloglow = be32_to_cpu(btp->count); in xfs_dir2_block_addname() 437 for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) { in xfs_dir2_block_addname() 439 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_addname() [all …]
|
D | xfs_ialloc_btree.c | 92 xfs_agblock_t sbno = be32_to_cpu(start->s); in xfs_inobt_alloc_block() 193 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 205 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() 214 return (__int64_t)be32_to_cpu(key->inobt.ir_startino) - in xfs_inobt_key_diff() 247 be32_to_cpu(block->bb_u.s.bb_owner) != pag->pag_agno) in xfs_inobt_verify() 266 (be32_to_cpu(block->bb_u.s.bb_leftsib) >= mp->m_sb.sb_agblocks && in xfs_inobt_verify() 270 (be32_to_cpu(block->bb_u.s.bb_rightsib) >= mp->m_sb.sb_agblocks && in xfs_inobt_verify() 319 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder() 320 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder() 329 return be32_to_cpu(r1->inobt.ir_startino) + XFS_INODES_PER_CHUNK <= in xfs_inobt_recs_inorder() [all …]
|
D | xfs_da_btree.c | 472 if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) { in xfs_da3_split() 486 if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) { in xfs_da3_split() 770 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || in xfs_da3_node_rebalance() 771 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < in xfs_da3_node_rebalance() 772 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) { in xfs_da3_node_rebalance() 863 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); in xfs_da3_node_rebalance() 864 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance() 924 oldblk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_node_add() 1079 child = be32_to_cpu(btree[0].before); in xfs_da3_root_join() 1255 return be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_node_lasthash() [all …]
|
D | xfs_da_format.c | 457 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_dir2_leaf_hdr_from_disk() 458 to->back = be32_to_cpu(from->hdr.info.back); in xfs_dir2_leaf_hdr_from_disk() 489 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk() 490 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk() 538 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_da2_node_hdr_from_disk() 539 to->back = be32_to_cpu(from->hdr.info.back); in xfs_da2_node_hdr_from_disk() 566 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_da3_node_hdr_from_disk() 567 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_da3_node_hdr_from_disk() 661 to->magic = be32_to_cpu(from->hdr.magic); in xfs_dir2_free_hdr_from_disk() 662 to->firstdb = be32_to_cpu(from->hdr.firstdb); in xfs_dir2_free_hdr_from_disk() [all …]
|
D | xfs_alloc.c | 132 *bno = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_get_rec() 133 *len = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_get_rec() 299 diff = be32_to_cpu(agf->agf_freeblks) in xfs_alloc_fix_minleft() 469 if (be32_to_cpu(agfl->agfl_magicnum) != XFS_AGFL_MAGIC) in xfs_agfl_verify() 477 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify() 481 if (be32_to_cpu(agfl->agfl_bno[i]) != NULLAGBLOCK && in xfs_agfl_verify() 482 be32_to_cpu(agfl->agfl_bno[i]) >= mp->m_sb.sb_agblocks) in xfs_agfl_verify() 581 if (unlikely(be32_to_cpu(agf->agf_freeblks) > in xfs_alloc_update_counters() 582 be32_to_cpu(agf->agf_length))) in xfs_alloc_update_counters() 748 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_exact() [all …]
|
D | xfs_dquot_buf.c | 102 if (id != -1 && id != be32_to_cpu(ddq->d_id)) { in xfs_dqcheck() 107 str, ddq, id, be32_to_cpu(ddq->d_id)); in xfs_dqcheck() 119 str, (int)be32_to_cpu(ddq->d_id), ddq); in xfs_dqcheck() 130 str, (int)be32_to_cpu(ddq->d_id), ddq); in xfs_dqcheck() 141 str, (int)be32_to_cpu(ddq->d_id), ddq); in xfs_dqcheck() 242 id = be32_to_cpu(ddq->d_id); in xfs_dquot_buf_verify()
|
D | xfs_sb.c | 356 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk() 357 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk() 366 to->sb_rextsize = be32_to_cpu(from->sb_rextsize); in __xfs_sb_from_disk() 367 to->sb_agblocks = be32_to_cpu(from->sb_agblocks); in __xfs_sb_from_disk() 368 to->sb_agcount = be32_to_cpu(from->sb_agcount); in __xfs_sb_from_disk() 369 to->sb_rbmblocks = be32_to_cpu(from->sb_rbmblocks); in __xfs_sb_from_disk() 370 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk() 393 to->sb_inoalignmt = be32_to_cpu(from->sb_inoalignmt); in __xfs_sb_from_disk() 394 to->sb_unit = be32_to_cpu(from->sb_unit); in __xfs_sb_from_disk() 395 to->sb_width = be32_to_cpu(from->sb_width); in __xfs_sb_from_disk() [all …]
|
D | xfs_dir2_leaf.c | 128 if (be32_to_cpu(ents[i].hashval) > in xfs_dir3_leaf_check_int() 129 be32_to_cpu(ents[i + 1].hashval)) in xfs_dir3_leaf_check_int() 430 leafhdr.count = be32_to_cpu(btp->count); in xfs_dir2_block_to_leaf() 431 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf() 439 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf() 670 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname() 672 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname() 674 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname() 675 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname() 686 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname() [all …]
|
D | xfs_symlink_remote.c | 90 if (offset != be32_to_cpu(dsl->sl_offset)) in xfs_symlink_hdr_ok() 92 if (size != be32_to_cpu(dsl->sl_bytes)) in xfs_symlink_hdr_ok() 116 if (be32_to_cpu(dsl->sl_offset) + in xfs_symlink_verify() 117 be32_to_cpu(dsl->sl_bytes) >= MAXPATHLEN) in xfs_symlink_verify()
|
D | xfs_ialloc.c | 116 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_get_rec() 129 be32_to_cpu(rec->inobt.ir_u.f.ir_freecount); in xfs_inobt_get_rec() 169 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert() 235 ASSERT(freecount == be32_to_cpu(agi->agi_freecount)); in xfs_check_agi_freecount() 520 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert_sprec() 641 newino = be32_to_cpu(agi->agi_newino); in xfs_ialloc_ag_alloc() 642 agno = be32_to_cpu(agi->agi_seqno); in xfs_ialloc_ag_alloc() 648 (args.agbno < be32_to_cpu(agi->agi_length)))) { in xfs_ialloc_ag_alloc() 708 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc() 729 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_dir2_node.c | 330 ASSERT(be32_to_cpu(ltp->bestcount) <= in xfs_dir2_leaf_to_node() 339 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node() 349 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node() 420 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add() 422 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add() 504 return be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_dir2_leafn_lasthash() 566 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname() 571 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname() 577 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname() 713 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_entry() [all …]
|
D | xfs_attr_leaf.c | 178 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk() 179 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk() 192 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_attr3_leaf_hdr_from_disk() 193 to->back = be32_to_cpu(from->hdr.info.back); in xfs_attr3_leaf_hdr_from_disk() 942 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform() 1282 (be32_to_cpu(entry->hashval) >= be32_to_cpu((entry-1)->hashval))); in xfs_attr3_leaf_add_work() 1284 (be32_to_cpu(entry->hashval) <= be32_to_cpu((entry+1)->hashval))); in xfs_attr3_leaf_add_work() 1412 ((be32_to_cpu(entries2[0].hashval) < in xfs_attr3_leaf_order() 1413 be32_to_cpu(entries1[0].hashval)) || in xfs_attr3_leaf_order() 1414 (be32_to_cpu(entries2[leaf2hdr->count - 1].hashval) < in xfs_attr3_leaf_order() [all …]
|
D | xfs_dir2_data.c | 93 XFS_WANT_CORRUPTED_RETURN(mp, be32_to_cpu(btp->count) < in __xfs_dir3_data_check() 182 for (i = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check() 183 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check() 184 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check() 188 i < be32_to_cpu(btp->count)); in __xfs_dir3_data_check() 198 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check() 204 be32_to_cpu(lep[i].hashval) >= in __xfs_dir3_data_check() 205 be32_to_cpu(lep[i - 1].hashval)); in __xfs_dir3_data_check() 208 be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)); in __xfs_dir3_data_check() 209 XFS_WANT_CORRUPTED_RETURN(mp, stale == be32_to_cpu(btp->stale)); in __xfs_dir3_data_check()
|
D | xfs_attr_remote.c | 79 if (offset != be32_to_cpu(rmt->rm_offset)) in xfs_attr3_rmt_hdr_ok() 81 if (size != be32_to_cpu(rmt->rm_bytes)) in xfs_attr3_rmt_hdr_ok() 107 if (be32_to_cpu(rmt->rm_bytes) > fsbsize - sizeof(*rmt)) in xfs_attr3_rmt_verify() 109 if (be32_to_cpu(rmt->rm_offset) + in xfs_attr3_rmt_verify() 110 be32_to_cpu(rmt->rm_bytes) > XFS_XATTR_SIZE_MAX) in xfs_attr3_rmt_verify()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | trace.c | 63 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ibhdr_exhdr_len() 79 return ((u64)be32_to_cpu(p[0]) << 32) | be32_to_cpu(p[1]); in ib_u64_get() 99 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs() 107 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 108 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 109 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs() 120 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 121 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 128 be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs() 129 be32_to_cpu(eh->aeth) & HFI1_MSN_MASK); in parse_everbs_hdrs() [all …]
|
D | uc.c | 283 opcode = be32_to_cpu(ohdr->bth[0]); in hfi1_uc_rcv() 287 bth1 = be32_to_cpu(ohdr->bth[1]); in hfi1_uc_rcv() 306 u16 pkey = (u16)be32_to_cpu(ohdr->bth[0]); in hfi1_uc_rcv() 318 psn = be32_to_cpu(ohdr->bth[2]); in hfi1_uc_rcv() 431 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv() 482 qp->r_len = be32_to_cpu(reth->length); in hfi1_uc_rcv() 486 u32 rkey = be32_to_cpu(reth->rkey); in hfi1_uc_rcv() 526 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv() 553 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv()
|
D | driver.c | 294 vtf = be32_to_cpu(hdr->u.l.grh.version_tclass_flow); in rcv_hdrerr() 302 qp_num = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; in rcv_hdrerr() 365 opcode = be32_to_cpu(bth[0]) >> 24; in rcv_hdrerr() 383 lqpn = be32_to_cpu(bth[1]) & HFI1_QPN_MASK; in rcv_hdrerr() 461 is_fecn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) & in process_ecn() 463 is_becn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) & in process_ecn() 471 u32 src_qpn = be32_to_cpu(ohdr->u.ud.deth[1]) & HFI1_QPN_MASK; in process_ecn() 472 u16 pkey = (u16)be32_to_cpu(ohdr->bth[0]); in process_ecn() 481 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; in process_ecn() 488 bth1 = be32_to_cpu(ohdr->bth[1]); in process_ecn() [all …]
|
D | trace.h | 484 (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; 486 (be32_to_cpu(ohdr->bth[0]) >> 23) & 1; 488 (be32_to_cpu(ohdr->bth[0]) >> 22) & 1; 490 (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 492 (be32_to_cpu(ohdr->bth[0]) >> 16) & 0xf; 494 be32_to_cpu(ohdr->bth[0]) & 0xffff; 496 (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) 499 (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) 502 be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; 504 (be32_to_cpu(ohdr->bth[2]) >> 31) & 1; [all …]
|
D | rc.c | 1002 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in hfi1_rc_send_complete() 1010 psn = be32_to_cpu(ohdr->bth[2]); in hfi1_rc_send_complete() 1457 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp() 1483 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp() 1487 val = ((u64) be32_to_cpu(p[0]) << 32) | in rc_rcv_resp() 1488 be32_to_cpu(p[1]); in rc_rcv_resp() 1543 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp() 1547 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in rc_rcv_resp() 1571 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in rc_rcv_resp() 1582 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp() [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_rtas.c | 26 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 31 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 32 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 33 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 47 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 52 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 72 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 77 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_off() 91 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 96 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_on() [all …]
|
D | book3s_32_mmu.c | 232 pte0 = be32_to_cpu(pteg[i]); in kvmppc_mmu_book3s_32_xlate_pte() 233 pte1 = be32_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_32_xlate_pte() 297 i, be32_to_cpu(pteg[i]), in kvmppc_mmu_book3s_32_xlate_pte() 298 be32_to_cpu(pteg[i+1]), ptem); in kvmppc_mmu_book3s_32_xlate_pte()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci.c | 126 hose->global_number, be32_to_cpu(common->version)); in pnv_pci_dump_p7ioc_diag_data() 130 be32_to_cpu(data->brdgCtl)); in pnv_pci_dump_p7ioc_diag_data() 134 be32_to_cpu(data->portStatusReg), in pnv_pci_dump_p7ioc_diag_data() 135 be32_to_cpu(data->rootCmplxStatus), in pnv_pci_dump_p7ioc_diag_data() 136 be32_to_cpu(data->busAgentStatus)); in pnv_pci_dump_p7ioc_diag_data() 141 be32_to_cpu(data->deviceStatus), in pnv_pci_dump_p7ioc_diag_data() 142 be32_to_cpu(data->slotStatus), in pnv_pci_dump_p7ioc_diag_data() 143 be32_to_cpu(data->linkStatus), in pnv_pci_dump_p7ioc_diag_data() 144 be32_to_cpu(data->devCmdStatus), in pnv_pci_dump_p7ioc_diag_data() 145 be32_to_cpu(data->devSecStatus)); in pnv_pci_dump_p7ioc_diag_data() [all …]
|
D | opal-hmi.c | 90 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 92 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 141 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason() 143 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason() 273 type = be32_to_cpu(msg.msg_type); in hmi_event_handler()
|
D | opal-msglog.c | 47 out_pos = be32_to_cpu(ACCESS_ONCE(mc->out_pos)); in opal_msglog_read() 61 avail = be32_to_cpu(mc->obuf_size) - out_pos; in opal_msglog_read() 79 if (out_pos > be32_to_cpu(mc->obuf_size)) { in opal_msglog_read()
|
D | opal-sensor.c | 59 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data() 64 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data()
|
D | opal-lpc.c | 37 return rc ? 0xff : be32_to_cpu(data); in opal_lpc_inb() 50 return rc ? 0xffff : be32_to_cpu(data); in __opal_lpc_inw() 70 return rc ? 0xffffffff : be32_to_cpu(data); in __opal_lpc_inl()
|
/linux-4.4.14/fs/efs/ |
D | super.c | 167 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit() 179 csum += be32_to_cpu(cs); in module_exit() 200 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit() 201 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit() 207 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit() 212 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit() 214 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn), in module_exit() 215 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks), in module_exit() 221 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); in module_exit() 240 if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) in efs_validate_super() [all …]
|
D | inode.c | 102 inode->i_size = be32_to_cpu(efs_inode->di_size); in efs_iget() 103 inode->i_atime.tv_sec = be32_to_cpu(efs_inode->di_atime); in efs_iget() 104 inode->i_mtime.tv_sec = be32_to_cpu(efs_inode->di_mtime); in efs_iget() 105 inode->i_ctime.tv_sec = be32_to_cpu(efs_inode->di_ctime); in efs_iget() 117 rdev = be32_to_cpu(efs_inode->di_u.di_dev.ndev); in efs_iget()
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 95 cmd->write_data_done != be32_to_cpu(hdr->offset)) in iscsit_dataout_within_command_recovery_check() 102 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_within_command_recovery_check() 114 (seq->offset != be32_to_cpu(hdr->offset) || in iscsit_dataout_within_command_recovery_check() 115 seq->data_sn != be32_to_cpu(hdr->datasn))) in iscsit_dataout_within_command_recovery_check() 120 seq->data_sn != be32_to_cpu(hdr->datasn)) in iscsit_dataout_within_command_recovery_check() 149 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_unsolicited_sequence() 150 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence() 154 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence() 237 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_sequence() 238 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence() [all …]
|
D | iscsi_target.c | 893 if ((be32_to_cpu(hdr->data_length) == payload_length) && in iscsit_setup_scsi_cmd() 902 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd() 964 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_scsi_cmd() 965 cmd->exp_stat_sn = be32_to_cpu(hdr->exp_statsn); in iscsit_setup_scsi_cmd() 984 conn->sess->se_sess, be32_to_cpu(hdr->data_length), in iscsit_setup_scsi_cmd() 990 hdr->cmdsn, be32_to_cpu(hdr->data_length), payload_length, in iscsit_setup_scsi_cmd() 1066 iscsit_ack_from_expstatsn(conn, be32_to_cpu(hdr->exp_statsn)); in iscsit_process_scsi_cmd() 1304 if ((be32_to_cpu(hdr->offset) + payload_length) > cmd->se_cmd.data_length) { in iscsit_check_dataout_hdr() 1394 iov_ret = iscsit_map_iovec(cmd, iov, be32_to_cpu(hdr->offset), in iscsit_get_dataout() 1426 be32_to_cpu(hdr->offset), in iscsit_get_dataout() [all …]
|
D | iscsi_target_tmr.c | 52 return (iscsi_sna_gte(be32_to_cpu(hdr->refcmdsn), conn->sess->exp_cmd_sn) && in iscsit_tmr_abort_task() 53 iscsi_sna_lte(be32_to_cpu(hdr->refcmdsn), (u32) atomic_read(&conn->sess->max_cmd_sn))) ? in iscsit_tmr_abort_task() 56 if (ref_cmd->cmd_sn != be32_to_cpu(hdr->refcmdsn)) { in iscsit_tmr_abort_task() 65 tmr_req->exp_data_sn = be32_to_cpu(hdr->exp_datasn); in iscsit_tmr_abort_task() 174 tmr_req->exp_data_sn = be32_to_cpu(hdr->exp_datasn); in iscsit_tmr_task_reassign()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_rnic.c | 160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) | in c2_rnic_query() 161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) | in c2_rnic_query() 162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF); in c2_rnic_query() 166 props->vendor_id = be32_to_cpu(reply->vendor_id); in c2_rnic_query() 167 props->vendor_part_id = be32_to_cpu(reply->part_number); in c2_rnic_query() 168 props->hw_ver = be32_to_cpu(reply->hw_version); in c2_rnic_query() 169 props->max_qp = be32_to_cpu(reply->max_qps); in c2_rnic_query() 170 props->max_qp_wr = be32_to_cpu(reply->max_qp_depth); in c2_rnic_query() 174 props->max_cq = be32_to_cpu(reply->max_cqs); in c2_rnic_query() 175 props->max_cqe = be32_to_cpu(reply->max_cq_depth); in c2_rnic_query() [all …]
|
D | c2_ae.c | 172 resource_indicator = be32_to_cpu(wr->ae.ae_generic.resource_type); in c2_ae_event() 201 be32_to_cpu(wr->ae.ae_generic.resource_type), in c2_ae_event() 202 be32_to_cpu(wr->ae.ae_generic.resource), in c2_ae_event() 203 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state))); in c2_ae_event() 205 c2_set_qp_state(qp, be32_to_cpu(wr->ae.ae_generic.qp_state)); in c2_ae_event() 217 be32_to_cpu(res->private_data_length); in c2_ae_event() 291 be32_to_cpu(req->private_data_length); in c2_ae_event()
|
D | c2_qp.c | 515 q_size = be32_to_cpu(reply->sq_depth); in c2_alloc_qp() 516 msg_size = be32_to_cpu(reply->sq_msg_size); in c2_alloc_qp() 517 peer_pa = c2dev->pa + be32_to_cpu(reply->sq_mq_start); in c2_alloc_qp() 526 be32_to_cpu(reply->sq_mq_index), in c2_alloc_qp() 534 q_size = be32_to_cpu(reply->rq_depth); in c2_alloc_qp() 535 msg_size = be32_to_cpu(reply->rq_msg_size); in c2_alloc_qp() 536 peer_pa = c2dev->pa + be32_to_cpu(reply->rq_mq_start); in c2_alloc_qp() 545 be32_to_cpu(reply->rq_mq_index), in c2_alloc_qp()
|
D | c2_cq.c | 180 entry->byte_len = be32_to_cpu(ce->bytes_rcvd); in c2_poll_one() 193 be32_to_cpu(c2_wr_get_wqe_count(ce)) + 1); in c2_poll_one() 352 cq->mq.index = be32_to_cpu(reply->mq_index); in c2_init_cq() 354 peer_pa = c2dev->pa + be32_to_cpu(reply->adapter_shared); in c2_init_cq()
|
D | c2_mq.c | 48 BUG_ON(m->magic != be32_to_cpu(~CCWR_MAGIC)); in c2_mq_alloc() 83 BUG_ON(m->magic != be32_to_cpu(CCWR_MAGIC)); in c2_mq_consume()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | fastmap.c | 283 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol() 284 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol() 318 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol() 320 be32_to_cpu(new_vh->data_size); in update_vol() 342 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol() 343 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol() 344 av->last_data_size = be32_to_cpu(new_vh->data_size); in update_vol() 348 av->used_ebs = be32_to_cpu(new_vh->used_ebs); in update_vol() 375 if (be32_to_cpu(new_vh->vol_id) == UBI_FM_SB_VOLUME_ID || in process_pool_aeb() 376 be32_to_cpu(new_vh->vol_id) == UBI_FM_DATA_VOLUME_ID) { in process_pool_aeb() [all …]
|
D | debug.c | 66 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic)); in ubi_dump_ec_hdr() 69 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr() 70 pr_err("\tdata_offset %d\n", be32_to_cpu(ec_hdr->data_offset)); in ubi_dump_ec_hdr() 71 pr_err("\timage_seq %d\n", be32_to_cpu(ec_hdr->image_seq)); in ubi_dump_ec_hdr() 72 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc)); in ubi_dump_ec_hdr() 85 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr() 90 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr() 91 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr() 92 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); in ubi_dump_vid_hdr() 93 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() [all …]
|
D | attach.c | 197 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 198 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() 199 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() 265 ubi_assert(vol_id == be32_to_cpu(vid_hdr->vol_id)); in add_volume() 289 av->used_ebs = be32_to_cpu(vid_hdr->used_ebs); in add_volume() 290 av->data_pad = be32_to_cpu(vid_hdr->data_pad); in add_volume() 396 len = be32_to_cpu(vid_hdr->data_size); in ubi_compare_lebs() 403 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs() 458 vol_id = be32_to_cpu(vid_hdr->vol_id); in ubi_add_to_av() 459 lnum = be32_to_cpu(vid_hdr->lnum); in ubi_add_to_av() [all …]
|
D | io.c | 675 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr() 676 leb_start = be32_to_cpu(ec_hdr->data_offset); in validate_ec_hdr() 757 magic = be32_to_cpu(ec_hdr->magic); in ubi_io_read_ec_hdr() 795 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr() 882 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 883 int lnum = be32_to_cpu(vid_hdr->lnum); in validate_vid_hdr() 885 int data_size = be32_to_cpu(vid_hdr->data_size); in validate_vid_hdr() 886 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() 887 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() 888 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() [all …]
|
D | vtbl.c | 181 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in vtbl_check() 182 alignment = be32_to_cpu(vtbl[i].alignment); in vtbl_check() 183 data_pad = be32_to_cpu(vtbl[i].data_pad); in vtbl_check() 190 if (be32_to_cpu(vtbl[i].crc) != crc) { in vtbl_check() 192 i, crc, be32_to_cpu(vtbl[i].crc)); in vtbl_check() 541 if (be32_to_cpu(vtbl[i].reserved_pebs) == 0) in init_volumes() 548 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes() 549 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes() 550 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes()
|
/linux-4.4.14/crypto/ |
D | cast6_generic.c | 129 key[0] = be32_to_cpu(p_key[0]); /* A */ in __cast6_setkey() 130 key[1] = be32_to_cpu(p_key[1]); /* B */ in __cast6_setkey() 131 key[2] = be32_to_cpu(p_key[2]); /* C */ in __cast6_setkey() 132 key[3] = be32_to_cpu(p_key[3]); /* D */ in __cast6_setkey() 133 key[4] = be32_to_cpu(p_key[4]); /* E */ in __cast6_setkey() 134 key[5] = be32_to_cpu(p_key[5]); /* F */ in __cast6_setkey() 135 key[6] = be32_to_cpu(p_key[6]); /* G */ in __cast6_setkey() 136 key[7] = be32_to_cpu(p_key[7]); /* H */ in __cast6_setkey() 192 block[0] = be32_to_cpu(src[0]); in __cast6_encrypt() 193 block[1] = be32_to_cpu(src[1]); in __cast6_encrypt() [all …]
|
D | seed.c | 339 x1 = be32_to_cpu(key[0]); in seed_set_key() 340 x2 = be32_to_cpu(key[1]); in seed_set_key() 341 x3 = be32_to_cpu(key[2]); in seed_set_key() 342 x4 = be32_to_cpu(key[3]); in seed_set_key() 376 x1 = be32_to_cpu(src[0]); in seed_encrypt() 377 x2 = be32_to_cpu(src[1]); in seed_encrypt() 378 x3 = be32_to_cpu(src[2]); in seed_encrypt() 379 x4 = be32_to_cpu(src[3]); in seed_encrypt() 414 x1 = be32_to_cpu(src[0]); in seed_decrypt() 415 x2 = be32_to_cpu(src[1]); in seed_decrypt() [all …]
|
D | blowfish_generic.c | 48 u32 yl = be32_to_cpu(in_blk[0]); in bf_encrypt() 49 u32 yr = be32_to_cpu(in_blk[1]); in bf_encrypt() 82 u32 yl = be32_to_cpu(in_blk[0]); in bf_decrypt() 83 u32 yr = be32_to_cpu(in_blk[1]); in bf_decrypt()
|
D | khazad.c | 766 K2 = ((u64)be32_to_cpu(key[0]) << 32) | be32_to_cpu(key[1]); in khazad_setkey() 767 K1 = ((u64)be32_to_cpu(key[2]) << 32) | be32_to_cpu(key[3]); in khazad_setkey()
|
D | cast5_generic.c | 326 l = be32_to_cpu(src[0]); in __cast5_encrypt() 327 r = be32_to_cpu(src[1]); in __cast5_encrypt() 380 l = be32_to_cpu(src[0]); in __cast5_decrypt() 381 r = be32_to_cpu(src[1]); in __cast5_decrypt() 502 x[0] = be32_to_cpu(p_key[0]); in cast5_setkey() 503 x[1] = be32_to_cpu(p_key[1]); in cast5_setkey() 504 x[2] = be32_to_cpu(p_key[2]); in cast5_setkey() 505 x[3] = be32_to_cpu(p_key[3]); in cast5_setkey()
|
/linux-4.4.14/fs/hfsplus/ |
D | extents.c | 28 return be32_to_cpu(k1id) < be32_to_cpu(k2id) ? -1 : 1; in hfsplus_ext_cmp_key() 37 return be32_to_cpu(k1s) < be32_to_cpu(k2s) ? -1 : 1; in hfsplus_ext_cmp_key() 56 count = be32_to_cpu(ext->block_count); in hfsplus_ext_find_block() 58 return be32_to_cpu(ext->start_block) + off; in hfsplus_ext_find_block() 71 count += be32_to_cpu(ext->block_count); in hfsplus_ext_block_count() 83 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock() 191 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent() 297 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent() 298 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent() 310 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent() [all …]
|
D | part_tbl.c | 82 *part_start += be32_to_cpu(p->pdStart); in hfs_parse_old_pmap() 83 *part_size = be32_to_cpu(p->pdSize); in hfs_parse_old_pmap() 95 int size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_parse_new_pmap() 103 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_parse_new_pmap() 104 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_parse_new_pmap()
|
D | btree.c | 167 tree->root = be32_to_cpu(head->root); in hfs_btree_open() 168 tree->leaf_count = be32_to_cpu(head->leaf_count); in hfs_btree_open() 169 tree->leaf_head = be32_to_cpu(head->leaf_head); in hfs_btree_open() 170 tree->leaf_tail = be32_to_cpu(head->leaf_tail); in hfs_btree_open() 171 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open() 172 tree->free_nodes = be32_to_cpu(head->free_nodes); in hfs_btree_open() 173 tree->attributes = be32_to_cpu(head->attributes); in hfs_btree_open()
|
D | inode.c | 189 i_uid_write(inode, be32_to_cpu(perms->owner)); in hfsplus_get_perms() 193 i_gid_write(inode, be32_to_cpu(perms->group)); in hfsplus_get_perms() 449 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork() 455 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork() 461 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; in hfsplus_inode_read_fork() 496 inode->i_size = 2 + be32_to_cpu(folder->valence); in hfsplus_cat_read_inode() 504 be32_to_cpu(folder->subfolders); in hfsplus_cat_read_inode() 523 be32_to_cpu(file->permissions.dev)); in hfsplus_cat_read_inode() 532 be32_to_cpu(file->permissions.dev)); in hfsplus_cat_read_inode()
|
D | dir.c | 68 cnid = be32_to_cpu(entry.folder.id); in hfsplus_lookup() 75 cnid = be32_to_cpu(entry.file.id); in hfsplus_lookup() 100 be32_to_cpu(entry.file.permissions.dev); in hfsplus_lookup() 183 be32_to_cpu(entry.thread.parentID), DT_DIR)) in hfsplus_readdir() 193 if (be32_to_cpu(fd.key->cat.parent) != inode->i_ino) { in hfsplus_readdir() 220 be32_to_cpu(entry.folder.id)) in hfsplus_readdir() 223 be32_to_cpu(entry.folder.id), DT_DIR)) in hfsplus_readdir() 250 be32_to_cpu(entry.file.id), type)) in hfsplus_readdir()
|
D | super.c | 424 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); in hfsplus_fill_super() 425 sbi->free_blocks = be32_to_cpu(vhdr->free_blocks); in hfsplus_fill_super() 426 sbi->next_cnid = be32_to_cpu(vhdr->next_cnid); in hfsplus_fill_super() 427 sbi->file_count = be32_to_cpu(vhdr->file_count); in hfsplus_fill_super() 428 sbi->folder_count = be32_to_cpu(vhdr->folder_count); in hfsplus_fill_super() 430 be32_to_cpu(vhdr->data_clump_sz) >> sbi->alloc_blksz_shift; in hfsplus_fill_super() 434 be32_to_cpu(vhdr->rsrc_clump_sz) >> sbi->alloc_blksz_shift; in hfsplus_fill_super() 526 inode = hfsplus_iget(sb, be32_to_cpu(entry.folder.id)); in hfsplus_fill_super()
|
D | attributes.c | 42 return be32_to_cpu(k1_cnid) < be32_to_cpu(k2_cnid) ? -1 : 1; in hfsplus_attr_bin_cmp_key() 270 if (cnid != be32_to_cpu(found_cnid)) in __hfsplus_delete_attr() 276 switch (be32_to_cpu(record_type)) { in __hfsplus_delete_attr()
|
D | bitmap.c | 53 n = be32_to_cpu(val); in hfsplus_block_allocate() 67 n = be32_to_cpu(val); in hfsplus_block_allocate() 118 n = be32_to_cpu(*curr); in hfsplus_block_allocate()
|
D | xattr.c | 89 head->free_nodes = cpu_to_be32(be32_to_cpu(head->node_count) - 1); in hfsplus_init_header_node() 99 if (be32_to_cpu(head->node_count) > hdr_node_map_rec_bits) { in hfsplus_init_header_node() 103 desc->next = cpu_to_be32(be32_to_cpu(head->leaf_tail) + 1); in hfsplus_init_header_node() 106 map_nodes = (be32_to_cpu(head->node_count) - in hfsplus_init_header_node() 114 be32_to_cpu(head->node_count) - be32_to_cpu(head->free_nodes); in hfsplus_init_header_node() 543 record_type = be32_to_cpu(xattr_record_type); in __hfsplus_getxattr() 745 if (be32_to_cpu(attr_key.cnid) != inode->i_ino) in hfsplus_listxattr()
|
D | bfind.c | 82 if (be32_to_cpu(cur_cnid) < be32_to_cpu(search_cnid)) in hfs_find_1st_rec_by_cnid() 202 nidx = be32_to_cpu(data); in hfs_brec_find()
|
D | catalog.c | 23 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; in hfsplus_cat_case_cmp_key() 36 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; in hfsplus_cat_bin_cmp_key() 217 be32_to_cpu(tmp.thread.parentID), in hfsplus_find_cat()
|
D | bnode.c | 308 be32_to_cpu(desc.next), be32_to_cpu(desc.prev), in hfs_bnode_dump() 325 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); in hfs_bnode_dump() 510 node->prev = be32_to_cpu(desc->prev); in hfs_bnode_find() 511 node->next = be32_to_cpu(desc->next); in hfs_bnode_find() 664 const u32 volume_attr = be32_to_cpu(sbi->s_vhdr->attributes); in hfs_bnode_need_zeroout()
|
/linux-4.4.14/fs/gfs2/ |
D | export.c | 170 this.no_formal_ino = ((u64)be32_to_cpu(fh[0])) << 32; in gfs2_fh_to_dentry() 171 this.no_formal_ino |= be32_to_cpu(fh[1]); in gfs2_fh_to_dentry() 172 this.no_addr = ((u64)be32_to_cpu(fh[2])) << 32; in gfs2_fh_to_dentry() 173 this.no_addr |= be32_to_cpu(fh[3]); in gfs2_fh_to_dentry() 191 parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32; in gfs2_fh_to_parent() 192 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent() 193 parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32; in gfs2_fh_to_parent() 194 parent.no_addr |= be32_to_cpu(fh[7]); in gfs2_fh_to_parent()
|
D | glops.c | 336 ip->i_inode.i_mode = be32_to_cpu(str->di_mode); in gfs2_dinode_in() 341 ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in() 342 be32_to_cpu(str->di_minor)); in gfs2_dinode_in() 346 i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid)); in gfs2_dinode_in() 347 i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid)); in gfs2_dinode_in() 348 gfs2_set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); in gfs2_dinode_in() 352 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); in gfs2_dinode_in() 356 ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec); in gfs2_dinode_in() 358 ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec); in gfs2_dinode_in() 363 ip->i_diskflags = be32_to_cpu(str->di_flags); in gfs2_dinode_in() [all …]
|
D | xattr.h | 16 #define GFS2_EA_REC_LEN(ea) be32_to_cpu((ea)->ea_rec_len) 17 #define GFS2_EA_DATA_LEN(ea) be32_to_cpu((ea)->ea_data_len)
|
D | util.h | 87 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check() 108 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i() 109 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i()
|
D | recovery.c | 129 lh->lh_flags = be32_to_cpu(str->lh_flags); in gfs2_log_header_in() 130 lh->lh_tail = be32_to_cpu(str->lh_tail); in gfs2_log_header_in() 131 lh->lh_blkno = be32_to_cpu(str->lh_blkno); in gfs2_log_header_in() 132 lh->lh_hash = be32_to_cpu(str->lh_hash); in gfs2_log_header_in() 335 length = be32_to_cpu(ld->ld_length); in foreach_descriptor() 337 if (be32_to_cpu(ld->ld_header.mh_type) == GFS2_METATYPE_LH) { in foreach_descriptor()
|
D | lops.c | 530 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements() 535 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements() 683 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements() 684 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements() 691 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements() 767 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements() 773 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.h | 132 #define RSPQ_CQID(rsp) (be32_to_cpu(rsp->cq_ptrid) & 0xffff) 133 #define RSPQ_CQPTR(rsp) ((be32_to_cpu(rsp->cq_ptrid) >> 16) & 0xffff) 134 #define RSPQ_GENBIT(rsp) ((be32_to_cpu(rsp->flags) >> 16) & 1) 135 #define RSPQ_OVERFLOW(rsp) ((be32_to_cpu(rsp->flags) >> 17) & 1) 136 #define RSPQ_AN(rsp) ((be32_to_cpu(rsp->flags) >> 18) & 1) 137 #define RSPQ_SE(rsp) ((be32_to_cpu(rsp->flags) >> 19) & 1) 138 #define RSPQ_NOTIFY(rsp) ((be32_to_cpu(rsp->flags) >> 20) & 1) 139 #define RSPQ_CQBRANCH(rsp) ((be32_to_cpu(rsp->flags) >> 21) & 1) 140 #define RSPQ_CREDIT_THRESH(rsp) ((be32_to_cpu(rsp->flags) >> 22) & 1)
|
D | cxio_wr.h | 418 return G_FW_RIWR_OP(be32_to_cpu(wqe->op_seop_flags)); in fw_riwrh_opcode() 603 #define SW_CQE(x) (G_CQE_SWCQE(be32_to_cpu((x).header))) 604 #define CQE_OOO(x) (G_CQE_OOO(be32_to_cpu((x).header))) 605 #define CQE_QPID(x) (G_CQE_QPID(be32_to_cpu((x).header))) 606 #define CQE_GENBIT(x) (G_CQE_GENBIT(be32_to_cpu((x).header))) 607 #define CQE_TYPE(x) (G_CQE_TYPE(be32_to_cpu((x).header))) 610 #define CQE_STATUS(x) (G_CQE_STATUS(be32_to_cpu((x).header))) 611 #define CQE_OPCODE(x) (G_CQE_OPCODE(be32_to_cpu((x).header))) 614 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND) || \ 615 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND_WITH_SE) || \ [all …]
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 195 be32_to_cpu(cqe[0]), be32_to_cpu(cqe[1]), be32_to_cpu(cqe[2]), in dump_cqe() 196 be32_to_cpu(cqe[3]), be32_to_cpu(cqe[4]), be32_to_cpu(cqe[5]), in dump_cqe() 197 be32_to_cpu(cqe[6]), be32_to_cpu(cqe[7])); in dump_cqe() 312 mthca_free_srq_wqe(srq, be32_to_cpu(cqe->wqe)); in mthca_cq_clean() 388 be32_to_cpu(cqe->my_qpn), be32_to_cpu(cqe->wqe), in handle_error_cqe() 510 cq->cqn, cq->cons_index, be32_to_cpu(cqe->my_qpn), in mthca_poll_one() 511 be32_to_cpu(cqe->wqe)); in mthca_poll_one() 519 if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) { in mthca_poll_one() 526 be32_to_cpu(cqe->my_qpn) & in mthca_poll_one() 530 be32_to_cpu(cqe->my_qpn) & 0xffffff); in mthca_poll_one() [all …]
|
D | mthca_av.c | 228 j * 4, be32_to_cpu(((__be32 *) av)[j])); in mthca_create_ah() 272 header->lrh.service_level = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; in mthca_read_ah() 277 (be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 20) & 0xff; in mthca_read_ah() 282 be32_to_cpu(ah->av->port_pd) >> 24, in mthca_read_ah() 303 attr->sl = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; in mthca_ah_query() 304 attr->port_num = be32_to_cpu(ah->av->port_pd) >> 24; in mthca_ah_query() 312 be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 20; in mthca_ah_query() 314 be32_to_cpu(ah->av->sl_tclass_flowlabel) & 0xfffff; in mthca_ah_query()
|
D | mthca_eq.c | 276 disarm_cqn = be32_to_cpu(eqe->event.comp.cqn) & 0xffffff; in mthca_eq_int() 282 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 287 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 292 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 297 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 302 mthca_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & 0xffffff, in mthca_eq_int() 307 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 312 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 317 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() 322 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() [all …]
|
D | mthca_mcg.c | 110 *index = be32_to_cpu(mgm->next_gid_index) >> 6; in find_mgm() 268 int amgm_index_to_free = be32_to_cpu(mgm->next_gid_index) >> 6; in mthca_multicast_detach() 290 int curr_next_index = be32_to_cpu(mgm->next_gid_index) >> 6; in mthca_multicast_detach()
|
D | mthca_qp.c | 400 ib_ah_attr->port_num = (be32_to_cpu(path->port_pkey) >> 24) & 0x3; in to_ib_ah_attr() 406 ib_ah_attr->sl = be32_to_cpu(path->sl_tclass_flowlabel) >> 28; in to_ib_ah_attr() 416 (be32_to_cpu(path->sl_tclass_flowlabel) >> 20) & 0xff; in to_ib_ah_attr() 418 be32_to_cpu(path->sl_tclass_flowlabel) & 0xfffff; in to_ib_ah_attr() 456 mthca_state = be32_to_cpu(context->flags) >> 28; in mthca_query_qp() 462 to_ib_mig_state((be32_to_cpu(context->flags) >> 11) & 0x3); in mthca_query_qp() 463 qp_attr->qkey = be32_to_cpu(context->qkey); in mthca_query_qp() 464 qp_attr->rq_psn = be32_to_cpu(context->rnr_nextrecvpsn) & 0xffffff; in mthca_query_qp() 465 qp_attr->sq_psn = be32_to_cpu(context->next_send_psn) & 0xffffff; in mthca_query_qp() 466 qp_attr->dest_qp_num = be32_to_cpu(context->remote_qpn) & 0xffffff; in mthca_query_qp() [all …]
|
/linux-4.4.14/fs/hfs/ |
D | part_tbl.c | 83 *part_start += be32_to_cpu(p->pdStart); in hfs_part_find() 84 *part_size = be32_to_cpu(p->pdSize); in hfs_part_find() 95 size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_part_find() 99 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_part_find() 100 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_part_find()
|
D | btree.c | 48 mdb->drXTFlSize, be32_to_cpu(mdb->drXTClpSiz)); in hfs_btree_open() 60 mdb->drCTFlSize, be32_to_cpu(mdb->drCTClpSiz)); in hfs_btree_open() 83 tree->root = be32_to_cpu(head->root); in hfs_btree_open() 84 tree->leaf_count = be32_to_cpu(head->leaf_count); in hfs_btree_open() 85 tree->leaf_head = be32_to_cpu(head->leaf_head); in hfs_btree_open() 86 tree->leaf_tail = be32_to_cpu(head->leaf_tail); in hfs_btree_open() 87 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open() 88 tree->free_nodes = be32_to_cpu(head->free_nodes); in hfs_btree_open() 89 tree->attributes = be32_to_cpu(head->attributes); in hfs_btree_open()
|
D | bitmap.c | 46 n = be32_to_cpu(val); in hfs_find_set_zero_bits() 59 n = be32_to_cpu(val); in hfs_find_set_zero_bits() 88 n = be32_to_cpu(*curr); in hfs_find_set_zero_bits()
|
D | inode.c | 267 u32 log_size = be32_to_cpu(__log_size); in hfs_inode_read_fork() 279 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork() 299 return inode->i_ino == be32_to_cpu(rec->dir.DirID); in hfs_test_inode() 301 return inode->i_ino == be32_to_cpu(rec->file.FlNum); in hfs_test_inode() 344 inode->i_ino = be32_to_cpu(rec->file.FlNum); in hfs_read_inode() 357 inode->i_ino = be32_to_cpu(rec->dir.DirID); in hfs_read_inode() 389 cnid = be32_to_cpu(rec->dir.DirID); in hfs_iget() 392 cnid = be32_to_cpu(rec->file.FlNum); in hfs_iget() 464 be32_to_cpu(rec.dir.DirID) != inode->i_ino) { in hfs_write_inode() 485 be32_to_cpu(rec.file.FlNum) != inode->i_ino) { in hfs_write_inode()
|
D | dir.c | 100 be32_to_cpu(entry.thread.ParID), DT_DIR)) in hfs_readdir() 111 if (be32_to_cpu(fd.key->cat.ParID) != inode->i_ino) { in hfs_readdir() 132 be32_to_cpu(entry.dir.DirID), DT_DIR)) in hfs_readdir() 141 be32_to_cpu(entry.file.FlNum), DT_REG)) in hfs_readdir()
|
D | mdb.c | 102 HFS_SB(sb)->alloc_blksz = size = be32_to_cpu(mdb->drAlBlkSiz); in hfs_mdb_get() 138 HFS_SB(sb)->clumpablks = be32_to_cpu(mdb->drClpSiz) / in hfs_mdb_get() 147 HFS_SB(sb)->next_id = be32_to_cpu(mdb->drNxtCNID); in hfs_mdb_get() 150 HFS_SB(sb)->file_count = be32_to_cpu(mdb->drFilCnt); in hfs_mdb_get() 151 HFS_SB(sb)->folder_count = be32_to_cpu(mdb->drDirCnt); in hfs_mdb_get()
|
D | bnode.c | 144 be32_to_cpu(desc.next), be32_to_cpu(desc.prev), in hfs_bnode_dump() 161 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); in hfs_bnode_dump() 342 node->prev = be32_to_cpu(desc->prev); in hfs_bnode_find() 343 node->next = be32_to_cpu(desc->next); in hfs_bnode_find()
|
D | extent.c | 58 return be32_to_cpu(fnum1) < be32_to_cpu(fnum2) ? -1 : 1; in hfs_ext_keycmp() 287 u32 cnid = be32_to_cpu(file->FlNum); in hfs_free_fork() 292 total_blocks = be32_to_cpu(file->PyLen); in hfs_free_fork() 295 total_blocks = be32_to_cpu(file->RPyLen); in hfs_free_fork()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_debug.c | 42 be32_to_cpu(cmd_rsp.rx)); in read_file_tgt_int_stats() 46 be32_to_cpu(cmd_rsp.rxorn)); in read_file_tgt_int_stats() 50 be32_to_cpu(cmd_rsp.rxeol)); in read_file_tgt_int_stats() 54 be32_to_cpu(cmd_rsp.txurn)); in read_file_tgt_int_stats() 58 be32_to_cpu(cmd_rsp.txto)); in read_file_tgt_int_stats() 62 be32_to_cpu(cmd_rsp.cst)); in read_file_tgt_int_stats() 100 be32_to_cpu(cmd_rsp.xretries)); in read_file_tgt_tx_stats() 104 be32_to_cpu(cmd_rsp.fifoerr)); in read_file_tgt_tx_stats() 108 be32_to_cpu(cmd_rsp.filtered)); in read_file_tgt_tx_stats() 112 be32_to_cpu(cmd_rsp.timer_exp)); in read_file_tgt_tx_stats() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | mobility.c | 61 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in delete_dt_node() 150 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in update_dt_node() 166 nprops = be32_to_cpu(upwa->nprops); in update_dt_node() 175 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 185 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 223 parent_dn = of_find_node_by_phandle(be32_to_cpu(parent_phandle)); in add_dt_node() 260 while (be32_to_cpu(*data) & NODE_ACTION_MASK) { in pseries_devicetree_update() 262 u32 action = be32_to_cpu(*data) & NODE_ACTION_MASK; in pseries_devicetree_update() 263 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in pseries_devicetree_update()
|
D | hotplug-memory.c | 105 *p = be32_to_cpu(*p); in dlpar_clone_drconf_property() 112 lmbs[i].drc_index = be32_to_cpu(lmbs[i].drc_index); in dlpar_clone_drconf_property() 113 lmbs[i].flags = be32_to_cpu(lmbs[i].flags); in dlpar_clone_drconf_property() 185 lmb_size = be32_to_cpu(regs[3]); in pseries_remove_mem_node() 488 be32_to_cpu(lmbs[i].drc_index)); in dlpar_memory_add_by_count() 645 lmb_size = be32_to_cpu(regs[3]); in pseries_add_mem_node() 678 entries = be32_to_cpu(*p++); in pseries_update_drconf_memory() 686 if ((be32_to_cpu(old_drmem[i].flags) & DRCONF_MEM_ASSIGNED) && in pseries_update_drconf_memory() 687 (!(be32_to_cpu(new_drmem[i].flags) & DRCONF_MEM_ASSIGNED))) { in pseries_update_drconf_memory() 692 } else if ((!(be32_to_cpu(old_drmem[i].flags) & in pseries_update_drconf_memory() [all …]
|
D | dlpar.c | 56 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_property() 59 prop->length = be32_to_cpu(ccwa->prop_length); in dlpar_parse_cc_property() 60 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); in dlpar_parse_cc_property() 86 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_node() 359 thread = be32_to_cpu(intserv[i]); in dlpar_online_cpu() 439 thread = be32_to_cpu(intserv[i]); in dlpar_offline_cpu() 528 be32_to_cpu(hp_elog->_drc_u.drc_count); in handle_dlpar_errorlog() 532 be32_to_cpu(hp_elog->_drc_u.drc_index); in handle_dlpar_errorlog()
|
/linux-4.4.14/drivers/usb/misc/ |
D | ezusb.c | 95 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download() 96 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download() 103 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download() 115 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { in ezusb_ihex_firmware_download() 116 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download() 123 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download()
|
D | emi26.c | 115 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware() 135 addr = be32_to_cpu(rec->addr); in emi26_load_firmware() 156 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware() 173 if (!INTERNAL_RAM(be32_to_cpu(rec->addr))) { in emi26_load_firmware() 174 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware() 189 if (INTERNAL_RAM(be32_to_cpu(rec->addr))) { in emi26_load_firmware() 190 err = emi26_writememory(dev, be32_to_cpu(rec->addr), in emi26_load_firmware()
|
D | emi62.c | 122 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware() 142 addr = be32_to_cpu(rec->addr); in emi62_load_firmware() 163 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware() 180 if (!INTERNAL_RAM(be32_to_cpu(rec->addr))) { in emi62_load_firmware() 181 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware() 196 if (INTERNAL_RAM(be32_to_cpu(rec->addr))) { in emi62_load_firmware() 197 err = emi62_writememory(dev, be32_to_cpu(rec->addr), in emi62_load_firmware()
|
/linux-4.4.14/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 8 #define be32_to_cpu(x) bswap_32(x) macro 13 #define be32_to_cpu(x) (x) macro 372 len = be32_to_cpu(output[0]); in test_one() 380 u32 val = be32_to_cpu(output[i]); in test_one()
|
/linux-4.4.14/drivers/media/usb/usbtv/ |
D | usbtv.h | 49 #define USBTV_MAGIC_OK(chunk) ((be32_to_cpu(chunk[0]) & 0xff000000) \ 51 #define USBTV_FRAME_ID(chunk) ((be32_to_cpu(chunk[0]) & 0x00ff0000) >> 16) 52 #define USBTV_ODD(chunk) ((be32_to_cpu(chunk[0]) & 0x0000f000) >> 15) 53 #define USBTV_CHUNK_NO(chunk) (be32_to_cpu(chunk[0]) & 0x00000fff)
|
/linux-4.4.14/arch/arm/mach-exynos/ |
D | s5p-dev-mfc.c | 80 mfc_mem.loff = be32_to_cpu(prop[0]); in s5p_fdt_alloc_mfc_mem() 81 mfc_mem.lsize = be32_to_cpu(prop[1]); in s5p_fdt_alloc_mfc_mem() 87 mfc_mem.roff = be32_to_cpu(prop[0]); in s5p_fdt_alloc_mfc_mem() 88 mfc_mem.rsize = be32_to_cpu(prop[1]); in s5p_fdt_alloc_mfc_mem()
|
D | exynos.c | 135 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); in exynos_fdt_map_chipid() 136 iodesc.length = be32_to_cpu(reg[1]) - 1; in exynos_fdt_map_chipid()
|
/linux-4.4.14/fs/romfs/ |
D | super.c | 167 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_readdir() 195 nextfh = be32_to_cpu(ri.next); in romfs_readdir() 197 ino = be32_to_cpu(ri.spec); in romfs_readdir() 228 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup() 250 offset = be32_to_cpu(ri.next) & ROMFH_MASK; in romfs_lookup() 254 if ((be32_to_cpu(ri.next) & ROMFH_TYPE) == ROMFH_HRD) in romfs_lookup() 255 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup() 314 nextfh = be32_to_cpu(ri.next); in romfs_iget() 318 pos = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_iget() 340 i->i_size = be32_to_cpu(ri.size); in romfs_iget() [all …]
|
/linux-4.4.14/fs/affs/ |
D | amigaffs.c | 39 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash() 45 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash() 91 hash_ino = be32_to_cpu(AFFS_HEAD(bh)->table[offset]); in affs_remove_hash() 99 affs_adjust_checksum(bh, be32_to_cpu(ino) - hash_ino); in affs_remove_hash() 109 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_remove_hash() 158 link_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain); in affs_remove_link() 163 dir = affs_iget(sb, be32_to_cpu(AFFS_TAIL(sb, link_bh)->parent)); in affs_remove_link() 198 while ((ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain)) != 0) { in affs_remove_link() 202 affs_adjust_checksum(bh, be32_to_cpu(ino2) - link_ino); in affs_remove_link() 206 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_link() [all …]
|
D | bitmap.c | 72 tmp = be32_to_cpu(*data); in affs_free_block() 78 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_free_block() 187 tmp = be32_to_cpu(*data); in affs_alloc_block() 200 tmp = be32_to_cpu(*data); in affs_alloc_block() 222 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_alloc_block() 280 bm->bm_key = be32_to_cpu(bmap_blk[blk]); in affs_init_bitmap() 303 bmap_bh = affs_bread(sb, be32_to_cpu(bmap_blk[blk])); in affs_init_bitmap() 323 old = be32_to_cpu(((__be32 *)bh->b_data)[offset]); in affs_init_bitmap()
|
D | dir.c | 87 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 95 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir() 104 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 126 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir()
|
D | inode.c | 41 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_iget() 49 prot = be32_to_cpu(tail->protect); in affs_iget() 90 switch (be32_to_cpu(tail->stype)) { in affs_iget() 96 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget() 125 size = be32_to_cpu(tail->size); in affs_iget() 149 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget() 150 be32_to_cpu(tail->change.mins) * 60 + in affs_iget() 151 be32_to_cpu(tail->change.ticks) / 50 + in affs_iget() 391 affs_adjust_checksum(inode_bh, block - be32_to_cpu(chain)); in affs_add_entry()
|
D | file.c | 102 key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_grow_extcache() 141 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_alloc_extblock() 180 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow() 260 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow() 319 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block() 341 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block() 586 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); in affs_extent_file_ofs() 735 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); in affs_write_end_ofs() 769 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); in affs_write_end_ofs() 779 } else if (be32_to_cpu(AFFS_DATA_HEAD(bh)->size) < tmp) in affs_write_end_ofs() [all …]
|
D | namei.c | 201 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry() 212 key = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_find_entry() 235 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_lookup() 239 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); in affs_lookup()
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice-transaction.c | 79 clock = be32_to_cpu(info); in set_clock_info() 136 *source = be32_to_cpu(info) & CLOCK_SOURCE_MASK; in snd_dice_transaction_get_clock_source() 151 index = (be32_to_cpu(info) & CLOCK_RATE_MASK) >> CLOCK_RATE_SHIFT; in snd_dice_transaction_get_rate() 370 dice->global_offset = be32_to_cpu(pointers[0]) * 4; in snd_dice_transaction_init() 371 dice->tx_offset = be32_to_cpu(pointers[2]) * 4; in snd_dice_transaction_init() 372 dice->rx_offset = be32_to_cpu(pointers[4]) * 4; in snd_dice_transaction_init() 373 dice->sync_offset = be32_to_cpu(pointers[6]) * 4; in snd_dice_transaction_init() 374 dice->rsrv_offset = be32_to_cpu(pointers[8]) * 4; in snd_dice_transaction_init() 377 if (be32_to_cpu(pointers[1]) * 4 >= GLOBAL_CLOCK_CAPABILITIES + 4) in snd_dice_transaction_init()
|
D | dice.c | 85 value = be32_to_cpu(pointers[i]); in dice_interface_check() 98 be32_to_cpu(pointers[0]) * 4 + GLOBAL_VERSION, in dice_interface_check() 106 "unknown DICE version: 0x%08x\n", be32_to_cpu(version)); in dice_interface_check() 155 dice->tx_channels[mode] = be32_to_cpu(values[0]); in dice_read_mode_params() 156 dice->tx_midi_ports[mode] = be32_to_cpu(values[1]); in dice_read_mode_params() 163 dice->rx_channels[mode] = be32_to_cpu(values[0]); in dice_read_mode_params() 164 dice->rx_midi_ports[mode] = be32_to_cpu(values[1]); in dice_read_mode_params() 181 dice->clock_caps = be32_to_cpu(value); in dice_read_params()
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm_adsp.c | 1169 type = be32_to_cpu(region->type) & 0xff; in wm_adsp_load() 1317 if (be32_to_cpu(val) != 0xbedead) in wm_adsp_read_algs() 1319 pos + len, be32_to_cpu(val)); in wm_adsp_read_algs() 1347 alg_region->alg = be32_to_cpu(id); in wm_adsp_create_region() 1348 alg_region->base = be32_to_cpu(base); in wm_adsp_create_region() 1380 n_algs = be32_to_cpu(adsp1_id.n_algs); in wm_adsp1_setup_algs() 1381 dsp->fw_id = be32_to_cpu(adsp1_id.fw.id); in wm_adsp1_setup_algs() 1384 (be32_to_cpu(adsp1_id.fw.ver) & 0xff0000) >> 16, in wm_adsp1_setup_algs() 1385 (be32_to_cpu(adsp1_id.fw.ver) & 0xff00) >> 8, in wm_adsp1_setup_algs() 1386 be32_to_cpu(adsp1_id.fw.ver) & 0xff, in wm_adsp1_setup_algs() [all …]
|
/linux-4.4.14/sound/firewire/tascam/ |
D | tascam-proc.c | 24 reg = be32_to_cpu(data); in proc_read_firmware() 31 fpga = be32_to_cpu(data); in proc_read_firmware() 38 arm = be32_to_cpu(data); in proc_read_firmware() 45 hw = be32_to_cpu(data); in proc_read_firmware()
|
/linux-4.4.14/sound/firewire/fireworks/ |
D | fireworks_command.c | 151 if ((be32_to_cpu(header->version) < 1) || in efw_transaction() 152 (be32_to_cpu(header->category) != category) || in efw_transaction() 153 (be32_to_cpu(header->command) != command) || in efw_transaction() 154 (be32_to_cpu(header->status) != EFR_STATUS_OK)) { in efw_transaction() 156 be32_to_cpu(header->category), in efw_transaction() 157 be32_to_cpu(header->command), in efw_transaction() 158 efr_status_names[be32_to_cpu(header->status)]); in efw_transaction() 169 be32_to_cpu(header->length) * sizeof(__be32) - in efw_transaction()
|
D | fireworks_transaction.c | 82 t.seqnum = be32_to_cpu(((struct snd_efw_transaction *)cmd)->seqnum) + 1; in snd_efw_transaction_run() 127 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); in copy_resp_to_buf() 245 seqnum = be32_to_cpu(((struct snd_efw_transaction *)data)->seqnum); in efw_response()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 331 be32_to_cpu(hw_qcn->extended_enable) >> RPG_ENABLE_BIT; in mlx4_en_dcbnl_ieee_getqcn() 333 be32_to_cpu(hw_qcn->rppp_max_rps); in mlx4_en_dcbnl_ieee_getqcn() 335 be32_to_cpu(hw_qcn->rpg_time_reset); in mlx4_en_dcbnl_ieee_getqcn() 337 be32_to_cpu(hw_qcn->rpg_byte_reset); in mlx4_en_dcbnl_ieee_getqcn() 339 be32_to_cpu(hw_qcn->rpg_threshold); in mlx4_en_dcbnl_ieee_getqcn() 341 be32_to_cpu(hw_qcn->rpg_max_rate); in mlx4_en_dcbnl_ieee_getqcn() 343 be32_to_cpu(hw_qcn->rpg_ai_rate); in mlx4_en_dcbnl_ieee_getqcn() 345 be32_to_cpu(hw_qcn->rpg_hai_rate); in mlx4_en_dcbnl_ieee_getqcn() 347 be32_to_cpu(hw_qcn->rpg_gd); in mlx4_en_dcbnl_ieee_getqcn() 349 be32_to_cpu(hw_qcn->rpg_min_dec_fac); in mlx4_en_dcbnl_ieee_getqcn() [all …]
|
D | en_port.c | 223 be32_to_cpu(mlx4_en_stats->RJBBR) + in mlx4_en_DUMP_ETH_STATS() 224 be32_to_cpu(mlx4_en_stats->RCRC) + in mlx4_en_DUMP_ETH_STATS() 225 be32_to_cpu(mlx4_en_stats->RRUNT) + in mlx4_en_DUMP_ETH_STATS() 228 be32_to_cpu(mlx4_en_stats->RSHORT) + in mlx4_en_DUMP_ETH_STATS() 239 stats->rx_dropped = be32_to_cpu(mlx4_en_stats->RDROP); in mlx4_en_DUMP_ETH_STATS() 240 stats->rx_length_errors = be32_to_cpu(mlx4_en_stats->RdropLength); in mlx4_en_DUMP_ETH_STATS() 242 stats->rx_crc_errors = be32_to_cpu(mlx4_en_stats->RCRC); in mlx4_en_DUMP_ETH_STATS() 244 stats->rx_fifo_errors = be32_to_cpu(mlx4_en_stats->RdropOvflw); in mlx4_en_DUMP_ETH_STATS() 251 stats->tx_dropped = be32_to_cpu(mlx4_en_stats->TDROP); in mlx4_en_DUMP_ETH_STATS() 259 priv->pkstats.rx_jabbers = be32_to_cpu(mlx4_en_stats->RJBBR); in mlx4_en_DUMP_ETH_STATS()
|
D | fw_qos.c | 182 *availible_vpp = (u16)be32_to_cpu(out_param->availible_vpp); in mlx4_ALLOCATE_VPP_get() 185 vpp_p_up[i] = (u8)be32_to_cpu(out_param->vpp_p_up[i]); in mlx4_ALLOCATE_VPP_get() 244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); in mlx4_SET_VPORT_QOS_get() 246 be32_to_cpu(ctx->qos_p_up[i].max_avg_bw); in mlx4_SET_VPORT_QOS_get() 248 !!(be32_to_cpu(ctx->qos_p_up[i].enable) & 31); in mlx4_SET_VPORT_QOS_get()
|
D | mcg.c | 206 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; in new_steering_entry() 207 prot = be32_to_cpu(mgm->members_count) >> 30; in new_steering_entry() 351 m_count = be32_to_cpu(mgm->members_count) & 0xffffff; in promisc_steering_entry() 356 u32 qpn = be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK; in promisc_steering_entry() 473 members_count = be32_to_cpu(mgm->members_count) & in add_promisc_qp() 475 prot = be32_to_cpu(mgm->members_count) >> 30; in add_promisc_qp() 478 if ((be32_to_cpu(mgm->qp[i]) & in add_promisc_qp() 626 be32_to_cpu(mgm->members_count) & in remove_promisc_qp() 637 if ((be32_to_cpu(mgm->qp[i]) & in remove_promisc_qp() 731 if (!(be32_to_cpu(mgm->members_count) & 0xffffff)) { in find_entry() [all …]
|
D | eq.c | 508 cqn = be32_to_cpu(eqe->event.comp.cqn) & 0xffffff; in mlx4_eq_int() 525 be32_to_cpu(eqe->event.qp.qpn) in mlx4_eq_int() 540 mlx4_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & in mlx4_eq_int() 552 be32_to_cpu(eqe->event.srq.srqn) in mlx4_eq_int() 563 be32_to_cpu(eqe->event.srq.srqn), in mlx4_eq_int() 574 mlx4_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & in mlx4_eq_int() 587 port = be32_to_cpu(eqe->event.port_change.port) >> 28; in mlx4_eq_int() 608 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) in mlx4_eq_int() 622 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) in mlx4_eq_int() 647 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) in mlx4_eq_int() [all …]
|
/linux-4.4.14/fs/jbd2/ |
D | recovery.c | 266 be32_to_cpu(sb->s_sequence)); in jbd2_journal_recover() 267 journal->j_transaction_sequence = be32_to_cpu(sb->s_sequence) + 1; in jbd2_journal_recover() 329 be32_to_cpu(journal->j_superblock->s_sequence); in jbd2_journal_skip_recovery() 344 unsigned long long block = be32_to_cpu(tag->t_blocknr); in read_tag_block() 346 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32; in read_tag_block() 443 next_commit_ID = be32_to_cpu(sb->s_sequence); in do_one_pass() 444 next_log_block = be32_to_cpu(sb->s_start); in do_one_pass() 504 blocktype = be32_to_cpu(tmp->h_blocktype); in do_one_pass() 505 sequence = be32_to_cpu(tmp->h_sequence); in do_one_pass() 602 be32_to_cpu(tmp->h_sequence))) { in do_one_pass() [all …]
|
D | journal.c | 1274 first = be32_to_cpu(sb->s_first); in journal_reset() 1275 last = be32_to_cpu(sb->s_maxlen); in journal_reset() 1500 switch(be32_to_cpu(sb->s_header.h_blocktype)) { in journal_get_superblock() 1512 if (be32_to_cpu(sb->s_maxlen) < journal->j_maxlen) in journal_get_superblock() 1513 journal->j_maxlen = be32_to_cpu(sb->s_maxlen); in journal_get_superblock() 1514 else if (be32_to_cpu(sb->s_maxlen) > journal->j_maxlen) { in journal_get_superblock() 1519 if (be32_to_cpu(sb->s_first) == 0 || in journal_get_superblock() 1520 be32_to_cpu(sb->s_first) >= journal->j_maxlen) { in journal_get_superblock() 1523 be32_to_cpu(sb->s_first)); in journal_get_superblock() 1596 journal->j_tail_sequence = be32_to_cpu(sb->s_sequence); in load_superblock() [all …]
|
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 380 const __be32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 392 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode() 395 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode() 396 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode() 399 out_be32(&qe_immr->iram.iready, be32_to_cpu(QE_IRAM_READY)); in qe_upload_microcode() 434 length = be32_to_cpu(hdr->length); in qe_upload_firmware() 465 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware() 474 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware() 515 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware() 522 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware()
|
/linux-4.4.14/arch/x86/kernel/ |
D | pci-calgary_64.c | 594 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 612 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 628 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 631 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 642 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 651 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 678 low = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 680 high = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 682 sizelow = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 702 val32 = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_2() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | cq.c | 125 switch (be32_to_cpu(cqe->sop_drop_qpn) >> 24) { in handle_good_req() 139 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req() 185 be32_to_cpu(cqe->srqn)); in handle_responder() 202 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_responder() 222 wc->ex.invalidate_rkey = be32_to_cpu(cqe->imm_inval_pkey); in handle_responder() 226 wc->sl = (be32_to_cpu(cqe->flags_rqpn) >> 24) & 0xf; in handle_responder() 227 wc->src_qp = be32_to_cpu(cqe->flags_rqpn) & 0xffffff; in handle_responder() 229 g = (be32_to_cpu(cqe->flags_rqpn) >> 28) & 3; in handle_responder() 232 u16 pkey = be32_to_cpu(cqe->imm_inval_pkey) & 0xffff; in handle_responder() 248 pr_info("%08x %08x %08x %08x\n", be32_to_cpu(p[0]), in dump_cqe() [all …]
|
D | odp.c | 335 key = be32_to_cpu(dseg->lkey); in pagefault_data_segments() 336 byte_count = be32_to_cpu(dseg->byte_count); in pagefault_data_segments() 395 ds = be32_to_cpu(ctrl->qpn_ds) & MLX5_WQE_CTRL_DS_MASK; in mlx5_ib_mr_initiator_pfault_handler() 409 ctrl_wqe_index = (be32_to_cpu(ctrl->opmod_idx_opcode) & in mlx5_ib_mr_initiator_pfault_handler() 419 ctrl_qpn = (be32_to_cpu(ctrl->qpn_ds) & MLX5_WQE_CTRL_QPN_MASK) >> in mlx5_ib_mr_initiator_pfault_handler() 432 opcode = be32_to_cpu(ctrl->opmod_idx_opcode) & in mlx5_ib_mr_initiator_pfault_handler()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | cq.c | 499 be32_to_cpu(buf[0]), be32_to_cpu(buf[1]), be32_to_cpu(buf[2]), in dump_cqe() 500 be32_to_cpu(buf[3]), be32_to_cpu(buf[4]), be32_to_cpu(buf[5]), in dump_cqe() 501 be32_to_cpu(buf[6]), be32_to_cpu(buf[7])); in dump_cqe() 511 be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index), in mlx4_ib_handle_error_cqe() 590 wc->src_qp = be32_to_cpu(hdr->tun.flags_src_qp) & 0xFFFFFF; in use_tunnel_data() 715 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one() 722 be32_to_cpu(cqe->vlan_my_qpn)); in mlx4_ib_poll_one() 725 cq->mcq.cqn, be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK); in mlx4_ib_poll_one() 736 g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn); in mlx4_ib_poll_one() 796 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one() [all …]
|
D | ah.c | 164 ah_attr->port_num = be32_to_cpu(ah->av.ib.port_pd) >> 24; in mlx4_ib_query_ah() 167 ah_attr->sl = be32_to_cpu(ah->av.eth.sl_tclass_flowlabel) >> 29; in mlx4_ib_query_ah() 169 ah_attr->sl = be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 28; in mlx4_ib_query_ah() 180 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 20; in mlx4_ib_query_ah() 182 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) & 0xfffff; in mlx4_ib_query_ah()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 170 #define ioc3_r_mcr() be32_to_cpu(ioc3->mcr) 173 #define ioc3_r_emcr() be32_to_cpu(ioc3->emcr) 175 #define ioc3_r_eisr() be32_to_cpu(ioc3->eisr) 177 #define ioc3_r_eier() be32_to_cpu(ioc3->eier) 179 #define ioc3_r_ercsr() be32_to_cpu(ioc3->ercsr) 181 #define ioc3_r_erbr_h() be32_to_cpu(ioc3->erbr_h) 183 #define ioc3_r_erbr_l() be32_to_cpu(ioc3->erbr_l) 185 #define ioc3_r_erbar() be32_to_cpu(ioc3->erbar) 187 #define ioc3_r_ercir() be32_to_cpu(ioc3->ercir) 189 #define ioc3_r_erpir() be32_to_cpu(ioc3->erpir) [all …]
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | t4.h | 213 #define SW_CQE(x) (CQE_SWCQE_G(be32_to_cpu((x)->header))) 214 #define CQE_QPID(x) (CQE_QPID_G(be32_to_cpu((x)->header))) 215 #define CQE_TYPE(x) (CQE_TYPE_G(be32_to_cpu((x)->header))) 218 #define CQE_STATUS(x) (CQE_STATUS_G(be32_to_cpu((x)->header))) 219 #define CQE_OPCODE(x) (CQE_OPCODE_G(be32_to_cpu((x)->header))) 222 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND) || \ 223 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_SE) || \ 224 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_INV) || \ 225 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_SE_INV)) 227 #define CQE_LEN(x) (be32_to_cpu((x)->len)) [all …]
|
/linux-4.4.14/drivers/atm/ |
D | fore200e.c | 1931 tmp.section_bip = be32_to_cpu(fore200e->stats->oc3.section_bip8_errors); in fore200e_fetch_stats() 1932 tmp.line_bip = be32_to_cpu(fore200e->stats->oc3.line_bip24_errors); in fore200e_fetch_stats() 1933 tmp.path_bip = be32_to_cpu(fore200e->stats->oc3.path_bip8_errors); in fore200e_fetch_stats() 1934 tmp.line_febe = be32_to_cpu(fore200e->stats->oc3.line_febe_errors); in fore200e_fetch_stats() 1935 tmp.path_febe = be32_to_cpu(fore200e->stats->oc3.path_febe_errors); in fore200e_fetch_stats() 1936 tmp.corr_hcs = be32_to_cpu(fore200e->stats->oc3.corr_hcs_errors); in fore200e_fetch_stats() 1937 tmp.uncorr_hcs = be32_to_cpu(fore200e->stats->oc3.ucorr_hcs_errors); in fore200e_fetch_stats() 1938 tmp.tx_cells = be32_to_cpu(fore200e->stats->aal0.cells_transmitted) + in fore200e_fetch_stats() 1939 be32_to_cpu(fore200e->stats->aal34.cells_transmitted) + in fore200e_fetch_stats() 1940 be32_to_cpu(fore200e->stats->aal5.cells_transmitted); in fore200e_fetch_stats() [all …]
|
/linux-4.4.14/net/rds/ |
D | recv.c | 126 rds_rdma_unuse(rs, be32_to_cpu(buffer.rdma.h_rdma_rkey), 0); in rds_recv_incoming_exthdrs() 133 be32_to_cpu(buffer.rdma_dest.h_rdma_rkey), in rds_recv_incoming_exthdrs() 134 be32_to_cpu(buffer.rdma_dest.h_rdma_offset)); in rds_recv_incoming_exthdrs() 172 be32_to_cpu(inc->i_hdr.h_len), in rds_recv_incoming() 229 be32_to_cpu(inc->i_hdr.h_len), in rds_recv_incoming() 280 -be32_to_cpu(inc->i_hdr.h_len), in rds_still_queued() 471 if (ret < be32_to_cpu(inc->i_hdr.h_len)) { in rds_recvmsg() 473 ret = be32_to_cpu(inc->i_hdr.h_len); in rds_recvmsg() 515 -be32_to_cpu(inc->i_hdr.h_len), in rds_clear_recv_queue() 534 minfo.len = be32_to_cpu(inc->i_hdr.h_len); in rds_inc_info_copy()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | svc_rdma_marshal.c | 100 nchunks = be32_to_cpu(ary->wc_nchunks); in decode_write_list() 134 nchunks = be32_to_cpu(ary->wc_nchunks); in decode_reply_array() 172 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_align); in svc_rdma_xdr_decode_req() 174 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_thresh); in svc_rdma_xdr_decode_req() 238 &wr_ary->wc_array[be32_to_cpu(wr_ary->wc_nchunks)]. in svc_rdma_xdr_get_reply_hdr_len() 247 &wr_ary->wc_array[be32_to_cpu(wr_ary->wc_nchunks)]; in svc_rdma_xdr_get_reply_hdr_len()
|
D | rpc_rdma.c | 581 i = be32_to_cpu(**iptrp); in rpcrdma_count_chunks() 593 be32_to_cpu(seg->rs_length), in rpcrdma_count_chunks() 595 be32_to_cpu(seg->rs_handle)); in rpcrdma_count_chunks() 597 total_len += be32_to_cpu(seg->rs_length); in rpcrdma_count_chunks() 810 be32_to_cpu(headerp->rm_xid)); in rpcrdma_reply_handler() 881 __func__, be32_to_cpu(headerp->rm_type), in rpcrdma_reply_handler() 891 credits = be32_to_cpu(headerp->rm_credit); in rpcrdma_reply_handler() 928 __func__, be32_to_cpu(headerp->rm_vers)); in rpcrdma_reply_handler() 934 __func__, be32_to_cpu(headerp->rm_xid), in rpcrdma_reply_handler() 942 __func__, rep, req, be32_to_cpu(headerp->rm_xid)); in rpcrdma_reply_handler()
|
D | svc_rdma_sendto.c | 196 int chunk = be32_to_cpu(wr_ary->wc_nchunks); in svc_rdma_get_reply_array() 328 nchunks = be32_to_cpu(arg_ary->wc_nchunks); in send_write_chunks() 336 write_len = min(xfer_len, be32_to_cpu(arg_ch->rs_length)); in send_write_chunks() 348 be32_to_cpu(arg_ch->rs_handle), in send_write_chunks() 396 nchunks = be32_to_cpu(arg_ary->wc_nchunks); in send_reply_chunks() 402 write_len = min(xfer_len, be32_to_cpu(ch->rs_length)); in send_reply_chunks() 413 be32_to_cpu(ch->rs_handle), in send_reply_chunks()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm-interface.c | 341 count = be32_to_cpu(*((__be32 *) (buf + 2))); in tpm_transmit() 342 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_transmit() 415 err = be32_to_cpu(header->return_code); in tpm_transmit_cmd() 531 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || in tpm_get_timeouts() 532 be32_to_cpu(tpm_cmd.header.out.length) in tpm_get_timeouts() 536 old_timeout[0] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.a); in tpm_get_timeouts() 537 old_timeout[1] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.b); in tpm_get_timeouts() 538 old_timeout[2] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.c); in tpm_get_timeouts() 539 old_timeout[3] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.d); in tpm_get_timeouts() 588 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || in tpm_get_timeouts() [all …]
|
D | tpm-sysfs.c | 74 be32_to_cpu(*((__be32 *) (data + 24)))); in pubek_show() 102 num_pcrs = be32_to_cpu(cap.num_pcrs); in pcrs_show() 192 be32_to_cpu(cap.manufacturer_id)); in caps_show()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | rpaphp_core.c | 227 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_get_drc_props() 234 *drc_index = be32_to_cpu(*my_index); in rpaphp_get_drc_props() 236 *drc_power_domain = be32_to_cpu(domains[i+1]); in rpaphp_get_drc_props() 326 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_add_slot() 329 index = be32_to_cpu(indexes[i + 1]); in rpaphp_add_slot() 331 be32_to_cpu(power_domains[i + 1])); in rpaphp_add_slot()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_attr_list.c | 265 if (cursor->hashval > be32_to_cpu( in xfs_attr_node_list() 270 } else if (cursor->hashval <= be32_to_cpu( in xfs_attr_node_list() 319 <= be32_to_cpu(btree->hashval)) { in xfs_attr_node_list() 320 cursor->blkno = be32_to_cpu(btree->before); in xfs_attr_node_list() 392 if (be32_to_cpu(entry->hashval) == cursor->hashval) { in xfs_attr3_leaf_list_int() 398 } else if (be32_to_cpu(entry->hashval) > in xfs_attr3_leaf_list_int() 419 if (be32_to_cpu(entry->hashval) != cursor->hashval) { in xfs_attr3_leaf_list_int() 420 cursor->hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_list_int() 443 int valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_list_int() 455 args.rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_list_int()
|
D | xfs_acl.c | 51 count = be32_to_cpu(aclp->acl_cnt); in xfs_acl_from_disk() 69 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk() 74 acl_e->e_uid = xfs_uid_to_kuid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk() 77 acl_e->e_gid = xfs_gid_to_kgid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk()
|
D | xfs_log_recover.c | 300 &head->h_fs_uuid, be32_to_cpu(head->h_fmt)); in xlog_header_check_dump() 582 uint h_size = be32_to_cpu(head->h_size); in xlog_find_verify_log_record() 592 BTOBB(be32_to_cpu(head->h_len)) + xhdrs) in xlog_find_verify_log_record() 981 log->l_curr_cycle = be32_to_cpu(rhead->h_cycle); in xlog_find_tail() 1003 int h_size = be32_to_cpu(rhead->h_size); in xlog_find_tail() 1004 int h_version = be32_to_cpu(rhead->h_version); in xlog_find_tail() 1018 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize; in xlog_find_tail() 1021 be32_to_cpu(rhead->h_num_logops) == 1) { in xlog_find_tail() 1844 magic32 = be32_to_cpu(*(__be32 *)blk); in xlog_recover_get_buf_lsn() 1996 magic32 = be32_to_cpu(*(__be32 *)bp->b_addr); in xlog_recover_validate_buf_type() [all …]
|
D | xfs_attr_inactive.c | 178 lp->valueblk = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_inactive() 180 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive() 239 child_fsb = be32_to_cpu(btree[0].before); in xfs_attr3_node_inactive() 305 child_fsb = be32_to_cpu(btree[i + 1].before); in xfs_attr3_node_inactive()
|
D | xfs_fsops.c | 348 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private() 377 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private() 378 nfree += be32_to_cpu(arec->ar_blockcount); in xfs_growfs_data_private() 453 be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 465 ASSERT(be32_to_cpu(agf->agf_length) == in xfs_growfs_data_private() 466 be32_to_cpu(agi->agi_length)); in xfs_growfs_data_private() 473 be32_to_cpu(agf->agf_length) - new), new); in xfs_growfs_data_private()
|
D | xfs_qm.c | 96 next_index = be32_to_cpu(dqp->q_core.d_id) + 1; in xfs_qm_dquot_walk() 178 be32_to_cpu(dqp->q_core.d_id)); in xfs_qm_dqpurge() 631 be32_to_cpu(ddqp->d_btimer) : XFS_QM_BTIMELIMIT; in xfs_qm_init_quotainfo() 633 be32_to_cpu(ddqp->d_itimer) : XFS_QM_ITIMELIMIT; in xfs_qm_init_quotainfo() 635 be32_to_cpu(ddqp->d_rtbtimer) : XFS_QM_RTBTIMELIMIT; in xfs_qm_init_quotainfo() 1578 be32_to_cpu(dqp->q_core.d_id)); in xfs_qm_dqfree_one() 1809 ip->i_d.di_uid != be32_to_cpu(udqp->q_core.d_id)) { in xfs_qm_vop_chown_reserve() 1822 ip->i_d.di_gid != be32_to_cpu(gdqp->q_core.d_id)) { in xfs_qm_vop_chown_reserve() 1831 xfs_get_projid(ip) != be32_to_cpu(pdqp->q_core.d_id)) { in xfs_qm_vop_chown_reserve() 1919 ASSERT(ip->i_d.di_uid == be32_to_cpu(udqp->q_core.d_id)); in xfs_qm_vop_create_dqattach() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_uc.c | 261 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv() 274 psn = be32_to_cpu(((__be32 *) data)[0]); in ipath_uc_rcv() 277 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv() 283 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_uc_rcv() 394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv() 437 qp->r_len = be32_to_cpu(reth->length); in ipath_uc_rcv() 440 u32 rkey = be32_to_cpu(reth->rkey); in ipath_uc_rcv() 496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv() 522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
|
D | ipath_rc.c | 1149 aeth = be32_to_cpu(ohdr->u.aeth); in ipath_rc_rcv_resp() 1151 aeth = be32_to_cpu(((__be32 *) data)[0]); in ipath_rc_rcv_resp() 1170 aeth = be32_to_cpu(ohdr->u.aeth); in ipath_rc_rcv_resp() 1172 aeth = be32_to_cpu(((__be32 *) data)[0]); in ipath_rc_rcv_resp() 1179 val = ((u64) be32_to_cpu(p[0]) << 32) | in ipath_rc_rcv_resp() 1180 be32_to_cpu(p[1]); in ipath_rc_rcv_resp() 1242 aeth = be32_to_cpu(ohdr->u.aeth); in ipath_rc_rcv_resp() 1244 aeth = be32_to_cpu(((__be32 *) data)[0]); in ipath_rc_rcv_resp() 1248 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_rc_rcv_resp() 1279 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_rc_rcv_resp() [all …]
|
D | ipath_ud.c | 425 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv() 426 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); in ipath_ud_rcv() 438 qkey = be32_to_cpu(((__be32 *) data)[1]); in ipath_ud_rcv() 439 src_qp = be32_to_cpu(((__be32 *) data)[2]); in ipath_ud_rcv() 442 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv() 443 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); in ipath_ud_rcv() 478 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_ud_rcv() 497 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_ud_rcv()
|
/linux-4.4.14/drivers/usb/usbip/ |
D | usbip_common.c | 464 base->command = be32_to_cpu(base->command); in correct_endian_basic() 465 base->seqnum = be32_to_cpu(base->seqnum); in correct_endian_basic() 466 base->devid = be32_to_cpu(base->devid); in correct_endian_basic() 467 base->direction = be32_to_cpu(base->direction); in correct_endian_basic() 468 base->ep = be32_to_cpu(base->ep); in correct_endian_basic() 483 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); in correct_endian_cmd_submit() 516 pdu->seqnum = be32_to_cpu(pdu->seqnum); in correct_endian_cmd_unlink() 571 iso->offset = be32_to_cpu(iso->offset); in usbip_iso_packet_correct_endian() 572 iso->length = be32_to_cpu(iso->length); in usbip_iso_packet_correct_endian() 573 iso->status = be32_to_cpu(iso->status); in usbip_iso_packet_correct_endian() [all …]
|
/linux-4.4.14/fs/logfs/ |
D | super.c | 62 printk("%3x: %6x %8x", segno, be32_to_cpu(se.ec_level), in dump_segfile() 63 be32_to_cpu(se.valid)); in dump_segfile() 66 printk(" %6x %8x", be32_to_cpu(se.ec_level), in dump_segfile() 67 be32_to_cpu(se.valid)); in dump_segfile() 71 printk(" %6x %8x", be32_to_cpu(se.ec_level), in dump_segfile() 72 be32_to_cpu(se.valid)); in dump_segfile() 76 printk(" %6x %8x", be32_to_cpu(se.ec_level), in dump_segfile() 77 be32_to_cpu(se.valid)); in dump_segfile() 204 ec = be32_to_cpu(se.ec_level) >> 4; in write_one_sb() 405 super->s_bad_seg_reserve = be32_to_cpu(ds->ds_bad_seg_reserve); in __logfs_read_sb() [all …]
|
D | segment.c | 448 "got %x\n", ofs, be32_to_cpu(sh->crc), 449 be32_to_cpu(crc)); 468 "got %x\n", ofs, be32_to_cpu(oh->crc), in read_obj_header() 469 be32_to_cpu(crc)); in read_obj_header() 603 be32_to_cpu(oh.data_crc), in __logfs_segment_read() 604 be32_to_cpu(crc)); in __logfs_segment_read() 620 be32_to_cpu(oh.data_crc), in __logfs_segment_read() 621 be32_to_cpu(crc)); in __logfs_segment_read() 821 ec_level = be32_to_cpu(se.ec_level); in ostore_get_erase_count()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas.c | 224 display_width = be32_to_cpu(*p); in rtas_progress() 227 form_feed = be32_to_cpu(*p); in rtas_progress() 230 display_lines = be32_to_cpu(*p); in rtas_progress() 329 return tokp ? be32_to_cpu(*tokp) : RTAS_UNKNOWN_SERVICE; in rtas_token() 452 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 457 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 458 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 1052 nargs = be32_to_cpu(args.nargs); in ppc_rtas() 1053 nret = be32_to_cpu(args.nret); in ppc_rtas() 1054 token = be32_to_cpu(args.token); in ppc_rtas() [all …]
|
D | setup_64.c | 418 size = be32_to_cpu(*sizep); in initialize_cache_info() 427 lsize = be32_to_cpu(*lsizep); in initialize_cache_info() 441 size = be32_to_cpu(*sizep); in initialize_cache_info() 449 lsize = be32_to_cpu(*lsizep); in initialize_cache_info()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mr.c | 88 mr->key = mlx5_idx_to_mkey(be32_to_cpu(lout.mkey) & 0xffffff) | key; in mlx5_core_create_mkey() 89 mr->pd = be32_to_cpu(in->seg.flags_pd) & 0xffffff; in mlx5_core_create_mkey() 92 be32_to_cpu(lout.mkey), key, mr->key); in mlx5_core_create_mkey() 182 *mkey = be32_to_cpu(out.dump_fill_mkey); in mlx5_core_dump_fill_mkey() 216 sig_index[i] = be32_to_cpu(out.psv_idx[i]) & 0xffffff; in mlx5_core_create_psv()
|
D | qp.c | 95 int qpn = be32_to_cpu(pf_eqe->flags_qpn) & MLX5_QPN_MASK; in mlx5_eq_pagefault() 108 pfault.flags = (be32_to_cpu(pf_eqe->flags_qpn) >> MLX5_QPN_BITS) & in mlx5_eq_pagefault() 110 pfault.bytes_committed = be32_to_cpu( in mlx5_eq_pagefault() 121 be32_to_cpu(pf_eqe->rdma.r_key); in mlx5_eq_pagefault() 125 be32_to_cpu(pf_eqe->rdma.rdma_op_len); in mlx5_eq_pagefault() 213 qp->qpn = be32_to_cpu(out.qpn) & 0xffffff; in mlx5_core_create_qp() 396 *xrcdn = be32_to_cpu(out.xrcdn); in mlx5_core_xrcd_alloc()
|
D | eq.c | 217 cqn = be32_to_cpu(eqe->data.comp.cqn) & 0xffffff; in mlx5_eq_int() 229 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; in mlx5_eq_int() 237 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; in mlx5_eq_int() 244 mlx5_cmd_comp_handler(dev, be32_to_cpu(eqe->data.cmd.vector)); in mlx5_eq_int() 267 cqn = be32_to_cpu(eqe->data.cq_err.cqn) & 0xffffff; in mlx5_eq_int() 276 s32 npages = be32_to_cpu(eqe->data.req_pages.num_pages); in mlx5_eq_int()
|
D | en_rx.c | 108 u16 tot_len = be32_to_cpu(cqe->byte_cnt) - ETH_HLEN; in mlx5e_lro_update_hdr() 151 skb_set_hash(skb, be32_to_cpu(cqe->rss_hash_result), ht); in mlx5e_skb_set_hash() 191 u32 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_build_rx_skb() 196 lro_num_seg = be32_to_cpu(cqe->srqn) >> 24; in mlx5e_build_rx_skb()
|
D | debugfs.c | 303 param = (unsigned long)mlx5_qp_state_str(be32_to_cpu(ctx->flags) >> 28); in qp_read_field() 307 param = (unsigned long)mlx5_qp_type_str((be32_to_cpu(ctx->flags) >> 16) & 0xff); in qp_read_field() 345 param = (be32_to_cpu(ctx->log_pg_sz_remote_qpn) >> 24) & 0x1f; in qp_read_field() 349 param = be32_to_cpu(ctx->log_pg_sz_remote_qpn) & 0xffffff; in qp_read_field() 380 param = 1 << ((be32_to_cpu(ctx->log_sz_usr_page) >> 24) & 0x1f); in eq_read_field() 420 param = 1 << ((be32_to_cpu(ctx->log_sz_usr_page) >> 24) & 0x1f); in cq_read_field()
|
/linux-4.4.14/drivers/target/sbp/ |
D | sbp_target.c | 86 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); in read_peer_guid() 303 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc)), &ret); in sbp_management_request_login() 306 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc))); in sbp_management_request_login() 356 if (LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)) && in sbp_management_request_login() 423 1 << LOGIN_ORB_RECONNECT(be32_to_cpu(req->orb.misc)), in sbp_management_request_login() 441 login->exclusive = LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)); in sbp_management_request_login() 476 LOGIN_ORB_RESPONSE_LENGTH(be32_to_cpu(req->orb.length)), in sbp_management_request_login() 543 RECONNECT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc))); in sbp_management_request_reconnect() 588 id = LOGOUT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc)); in sbp_management_request_logout() 894 be32_to_cpu(req->orb.misc)); in tgt_agent_process_work() [all …]
|
D | sbp_target.h | 189 return (u64)(be32_to_cpu(ptr->high) & 0x0000ffff) << 32 | in sbp2_pointer_to_addr() 190 (be32_to_cpu(ptr->low) & 0xfffffffc); in sbp2_pointer_to_addr()
|
/linux-4.4.14/arch/arm/mach-s5pv210/ |
D | s5pv210.c | 39 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); in s5pv210_fdt_map_sys() 40 iodesc.length = be32_to_cpu(reg[1]) - 1; in s5pv210_fdt_map_sys()
|
/linux-4.4.14/drivers/scsi/ |
D | ipr.c | 1473 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); in ipr_process_ccn() 1574 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact() 1587 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd() 1588 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd() 1622 be32_to_cpu(error->ioa_data[0]), in ipr_log_enhanced_cache_error() 1623 be32_to_cpu(error->ioa_data[1]), in ipr_log_enhanced_cache_error() 1624 be32_to_cpu(error->ioa_data[2])); in ipr_log_enhanced_cache_error() 1654 be32_to_cpu(error->ioa_data[0]), in ipr_log_cache_error() 1655 be32_to_cpu(error->ioa_data[1]), in ipr_log_cache_error() 1656 be32_to_cpu(error->ioa_data[2])); in ipr_log_cache_error() [all …]
|
D | sd_dif.c | 146 if (be32_to_cpu(pi->ref_tag) == virt) in sd_dif_prepare() 198 if (be32_to_cpu(pi->ref_tag) == phys) in sd_dif_complete()
|
/linux-4.4.14/arch/powerpc/lib/ |
D | locks.c | 35 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __spin_yield() 61 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __rw_yield()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | of.h | 32 #define be32_to_cpu(x) swab32(x) macro 39 #define be32_to_cpu(x) (x) macro
|
D | oflib.c | 66 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom() 93 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret() 95 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom_ret()
|
D | ofconsole.c | 31 of_stdout_handle = be32_to_cpu(of_stdout_handle); in of_console_open()
|
D | libfdt_env.h | 19 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/linux-4.4.14/sound/firewire/digi00x/ |
D | digi00x-stream.c | 43 data = be32_to_cpu(reg) & 0x0f; in snd_dg00x_stream_get_local_rate() 82 *clock = be32_to_cpu(reg) & 0x0f; in snd_dg00x_stream_get_clock() 98 *detect = be32_to_cpu(reg) > 0; in snd_dg00x_stream_check_external_clock() 116 data = be32_to_cpu(reg) & 0x0f; in snd_dg00x_stream_get_external_rate() 146 curr = be32_to_cpu(data); in begin_session()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 114 return be32_to_cpu(descr->dmac_cmd_status) & GELIC_DESCR_DMA_STAT_MASK; in gelic_descr_get_status() 168 be32_to_cpu(card->rx_chain.head->dmac_cmd_status)); in gelic_card_enable_rxdmac() 170 be32_to_cpu(card->rx_chain.head->next_descr_addr)); in gelic_card_enable_rxdmac() 212 (be32_to_cpu(descr->dmac_cmd_status) & in gelic_descr_set_status() 442 be32_to_cpu(descr->buf_addr), in gelic_card_release_rx_chain() 511 BUG_ON(!(be32_to_cpu(descr->data_status) & GELIC_DESCR_TX_TAIL)); in gelic_descr_release_tx() 513 dma_unmap_single(ctodev(card), be32_to_cpu(descr->buf_addr), skb->len, in gelic_descr_release_tx() 929 data_status = be32_to_cpu(descr->data_status); in gelic_net_pass_skb_up() 930 data_error = be32_to_cpu(descr->data_error); in gelic_net_pass_skb_up() 932 dma_unmap_single(ctodev(card), be32_to_cpu(descr->buf_addr), in gelic_net_pass_skb_up() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 213 WARN_ON((be32_to_cpu(*(const __be32 *)cmd) in t4vf_wr_mbox_core() 216 WARN_ON((be32_to_cpu(*(__be32 *)rpl) in t4vf_wr_mbox_core() 326 v = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); in t4vf_port_init() 390 *vals++ = be32_to_cpu(p->val); in t4vf_query_params() 726 be32_to_cpu(rpl.u.manual.mode_pkd)); in t4vf_get_rss_glb_config() 729 u32 word = be32_to_cpu( in t4vf_get_rss_glb_config() 798 word = be32_to_cpu(rpl.niqflint_niq); in t4vf_get_vfres() 802 word = be32_to_cpu(rpl.type_to_neq); in t4vf_get_vfres() 806 word = be32_to_cpu(rpl.tc_to_nexactf); in t4vf_get_vfres() 811 word = be32_to_cpu(rpl.r_caps_to_nethctrl); in t4vf_get_vfres() [all …]
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842-powernv.c | 161 be32_to_cpu((csb)->count)) 350 be32_to_cpu(csb->count), in wait_for_csb() 443 (unsigned int)be32_to_cpu(crb->ccw)); in nx842_powernv_function() 464 *outlenp = be32_to_cpu(csb->count); in nx842_powernv_function() 542 ct = be32_to_cpu(*(unsigned int *)ct_prop->value); in nx842_powernv_probe() 548 ci = be32_to_cpu(*(unsigned int *)ci_prop->value); in nx842_powernv_probe()
|
D | nx-842-pseries.c | 220 be32_to_cpu(csb->processed_byte_count), in nx842_validate_result() 380 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_compress() 512 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_decompress() 667 comp_data_limit = be32_to_cpu(maxsynccop->comp_data_limit); in nx842_OF_upd_maxsyncop() 668 comp_sg_limit = be32_to_cpu(maxsynccop->comp_sg_limit); in nx842_OF_upd_maxsyncop() 669 decomp_data_limit = be32_to_cpu(maxsynccop->decomp_data_limit); in nx842_OF_upd_maxsyncop() 670 decomp_sg_limit = be32_to_cpu(maxsynccop->decomp_sg_limit); in nx842_OF_upd_maxsyncop()
|
/linux-4.4.14/drivers/mtd/ |
D | ofpart.c | 183 (*pparts)[i].offset = be32_to_cpu(part->offset); in parse_ofoldpart_partitions() 184 (*pparts)[i].size = be32_to_cpu(part->len) & ~1; in parse_ofoldpart_partitions() 186 if (be32_to_cpu(part->len) & 1) in parse_ofoldpart_partitions()
|
/linux-4.4.14/drivers/of/ |
D | of_mdio.c | 356 status.duplex = be32_to_cpu(fixed_link_prop[1]); in of_phy_register_fixed_link() 357 status.speed = be32_to_cpu(fixed_link_prop[2]); in of_phy_register_fixed_link() 358 status.pause = be32_to_cpu(fixed_link_prop[3]); in of_phy_register_fixed_link() 359 status.asym_pause = be32_to_cpu(fixed_link_prop[4]); in of_phy_register_fixed_link()
|
D | irq.c | 119 intsize = be32_to_cpu(*tmp); in of_irq_parse_raw() 148 addrsize = (tmp == NULL) ? 2 : be32_to_cpu(*tmp); in of_irq_parse_raw() 232 newintsize = be32_to_cpu(*tmp); in of_irq_parse_raw() 234 newaddrsize = (tmp == NULL) ? 0 : be32_to_cpu(*tmp); in of_irq_parse_raw() 331 intsize = be32_to_cpu(*tmp); in of_irq_parse_one()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 264 opcode = be32_to_cpu(ohdr->bth[0]); in qib_uc_rcv() 268 psn = be32_to_cpu(ohdr->bth[2]); in qib_uc_rcv() 391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 432 qp->r_len = be32_to_cpu(reth->length); in qib_uc_rcv() 436 u32 rkey = be32_to_cpu(reth->rkey); in qib_uc_rcv() 477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
|
D | qib_rc.c | 989 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_rc_send_complete() 997 psn = be32_to_cpu(ohdr->bth[2]); in qib_rc_send_complete() 1452 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp() 1478 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp() 1482 val = ((u64) be32_to_cpu(p[0]) << 32) | in qib_rc_rcv_resp() 1483 be32_to_cpu(p[1]); in qib_rc_rcv_resp() 1539 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp() 1543 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1568 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1580 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp() [all …]
|
D | qib_ud.c | 448 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv() 449 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & QIB_QPN_MASK; in qib_ud_rcv() 455 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_ud_rcv() 472 pkey1 = be32_to_cpu(ohdr->bth[0]); in qib_ud_rcv() 513 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_ud_rcv() 572 qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; in qib_ud_rcv()
|
D | qib_driver.c | 337 vtf = be32_to_cpu(hdr->u.l.grh.version_tclass_flow); in qib_rcv_hdrerr() 344 opcode = be32_to_cpu(ohdr->bth[0]); in qib_rcv_hdrerr() 346 psn = be32_to_cpu(ohdr->bth[2]); in qib_rcv_hdrerr() 349 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_rcv_hdrerr() 377 be32_to_cpu(ohdr->bth[0])); in qib_rcv_hdrerr()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | epapr_hcalls.h | 297 r5 = be32_to_cpu(p[0]); in ev_byte_channel_send() 298 r6 = be32_to_cpu(p[1]); in ev_byte_channel_send() 299 r7 = be32_to_cpu(p[2]); in ev_byte_channel_send() 300 r8 = be32_to_cpu(p[3]); in ev_byte_channel_send()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-opal.c | 77 y_m_d = be32_to_cpu(__y_m_d); in opal_get_rtc_time() 143 y_m_d = be32_to_cpu(__y_m_d); in opal_get_tpo_time() 144 h_m_s_ms = ((u64)be32_to_cpu(__h_m) << 32); in opal_get_tpo_time()
|
/linux-4.4.14/include/linux/byteorder/ |
D | generic.h | 94 #define be32_to_cpu __be32_to_cpu macro 165 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
|
/linux-4.4.14/drivers/crypto/ |
D | talitos.h | 35 #define DESC_TYPE(desc_hdr) ((be32_to_cpu(desc_hdr) >> 3) & 0x1f) 36 #define PRIMARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 28) & 0xf) 37 #define SECONDARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 16) & 0xf)
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 54 dlen = be32_to_cpu(hdr->len) - sizeof(*hdr); in ar5523_read_reply() 61 ar5523_dbg(ar, "Code = %d len = %d\n", be32_to_cpu(hdr->code) & 0xff, in ar5523_read_reply() 66 olen = be32_to_cpu(rp[0]); in ar5523_read_reply() 112 be32_to_cpu(hdr->code) & 0xff, hdr->priv); in ar5523_cmd_rx_cb() 114 code = be32_to_cpu(hdr->code); in ar5523_cmd_rx_cb() 115 hdrlen = be32_to_cpu(hdr->len); in ar5523_cmd_rx_cb() 362 *val = be32_to_cpu(val_be); in ar5523_get_capability() 465 be32_to_cpu(reset.flags), in ar5523_set_chan() 563 rxlen = be32_to_cpu(desc->len); in ar5523_data_rx_cb() 566 be32_to_cpu(desc->len)); in ar5523_data_rx_cb() [all …]
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_device.c | 574 if (be32_to_cpu(h->magic) != LIO_NIC_MAGIC) { in octeon_download_firmware() 583 if (crc32_result != be32_to_cpu(h->crc32)) { in octeon_download_firmware() 585 crc32_result, be32_to_cpu(h->crc32)); in octeon_download_firmware() 595 if (be32_to_cpu(h->num_images) > LIO_MAX_IMAGES) { in octeon_download_firmware() 597 be32_to_cpu(h->num_images)); in octeon_download_firmware() 614 for (i = 0; i < be32_to_cpu(h->num_images); i++) { in octeon_download_firmware() 616 image_len = be32_to_cpu(h->desc[i].len); in octeon_download_firmware() 620 if (crc32_result != be32_to_cpu(h->desc[i].crc32)) { in octeon_download_firmware() 624 be32_to_cpu(h->desc[i].crc32)); in octeon_download_firmware()
|
/linux-4.4.14/sound/firewire/ |
D | isight.c | 181 count = be32_to_cpu(payload->sample_count); in isight_packet() 183 total = be32_to_cpu(payload->sample_total); in isight_packet() 497 value->value.integer.value[0] = (s32)be32_to_cpu(gain); in isight_gain_get() 565 isight->gain_min = be32_to_cpu(value); in isight_create_mixer() 570 isight->gain_max = be32_to_cpu(value); in isight_create_mixer() 578 isight->gain_tlv[2] = (s32)be32_to_cpu(value) * 100; in isight_create_mixer() 583 isight->gain_tlv[3] = (s32)be32_to_cpu(value) * 100; in isight_create_mixer()
|
/linux-4.4.14/fs/omfs/ |
D | file.c | 64 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_shrink_inode() 122 u32 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_grow_extent() 158 if (be32_to_cpu(oe->e_extent_count) > max_count-1) in omfs_grow_extent() 246 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_get_block()
|
D | inode.c | 87 count = be32_to_cpu(oi->i_head.h_body_size); in omfs_update_checksums() 470 sbi->s_blocksize = be32_to_cpu(omfs_sb->s_blocksize); in omfs_fill_super() 471 sbi->s_mirrors = be32_to_cpu(omfs_sb->s_mirrors); in omfs_fill_super() 473 sbi->s_sys_blocksize = be32_to_cpu(omfs_sb->s_sys_blocksize); in omfs_fill_super() 515 sbi->s_clustersize = be32_to_cpu(omfs_rb->r_clustersize); in omfs_fill_super()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 283 emsg.status = be32_to_cpu(emsg_be->status); in brcmf_fweh_event_worker() 284 emsg.reason = be32_to_cpu(emsg_be->reason); in brcmf_fweh_event_worker() 285 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker() 286 emsg.datalen = be32_to_cpu(emsg_be->datalen); in brcmf_fweh_event_worker()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | setup_mm.c | 168 be32_to_cpu(m->addr); in m68k_parse_bootinfo() 170 be32_to_cpu(m->size); in m68k_parse_bootinfo() 180 m68k_ramdisk.addr = be32_to_cpu(m->addr); in m68k_parse_bootinfo() 181 m68k_ramdisk.size = be32_to_cpu(m->size); in m68k_parse_bootinfo()
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
D | xics-common.c | 78 if (be32_to_cpu(ireg[j]) == hcpuid) { in xics_update_irq_servers() 79 xics_default_distrib_server = be32_to_cpu(ireg[j+1]); in xics_update_irq_servers() 396 xics_interrupt_server_size = be32_to_cpu(*isize); in xics_get_server_size()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 215 attr->grh.hop_limit = be32_to_cpu(grh->pdid_hoplimit) & 0xff; in ocrdma_query_ah() 216 attr->grh.traffic_class = be32_to_cpu(grh->tclass_flow) >> 24; in ocrdma_query_ah() 217 attr->grh.flow_label = be32_to_cpu(grh->tclass_flow) & 0x00ffffffff; in ocrdma_query_ah()
|
/linux-4.4.14/drivers/mmc/host/ |
D | of_mmc_spi.c | 97 mask = mmc_vddrange_to_ocrmask(be32_to_cpu(voltage_ranges[j]), in mmc_spi_get_pdata() 98 be32_to_cpu(voltage_ranges[j + 1])); in mmc_spi_get_pdata()
|
/linux-4.4.14/block/ |
D | t10-pi.c | 88 if (be32_to_cpu(pi->ref_tag) != in t10_pi_verify() 93 iter->seed, be32_to_cpu(pi->ref_tag)); in t10_pi_verify()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_receiver.c | 1137 pi->size = be32_to_cpu(h->length); in decode_header() 1142 pi->size = be32_to_cpu(h->length); in decode_header() 1152 be32_to_cpu(*(__be32 *)header), in decode_header() 1617 data_size = be32_to_cpu(trim->size); in read_in_block() 2279 u32 peer_seq = be32_to_cpu(p->seq_num); in receive_Data() 2318 dp_flags = be32_to_cpu(p->dp_flags); in receive_Data() 2532 size = be32_to_cpu(p->blksize); in receive_DataRequest() 3301 p_proto = be32_to_cpu(p->protocol); in receive_protocol() 3302 p_after_sb_0p = be32_to_cpu(p->after_sb_0p); in receive_protocol() 3303 p_after_sb_1p = be32_to_cpu(p->after_sb_1p); in receive_protocol() [all …]
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | tcp.c | 91 be16_to_cpu(__hdr->msg_type), be32_to_cpu(__hdr->status), \ 92 be32_to_cpu(__hdr->sys_status), be32_to_cpu(__hdr->key), \ 93 be32_to_cpu(__hdr->msg_num) , ##args); \ 1200 be32_to_cpu(hdr->msg_num), in o2net_process_message() 1201 be32_to_cpu(hdr->sys_status), in o2net_process_message() 1202 be32_to_cpu(hdr->status)); in o2net_process_message() 1222 be32_to_cpu(hdr->key)); in o2net_process_message() 1225 be16_to_cpu(hdr->msg_type), be32_to_cpu(hdr->key)); in o2net_process_message() 1239 sc->sc_msg_key = be32_to_cpu(hdr->key); in o2net_process_message() 1293 if (be32_to_cpu(hand->o2net_idle_timeout_ms) != in o2net_check_handshake() [all …]
|
/linux-4.4.14/include/linux/ |
D | libfdt_env.h | 12 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | libfdt_env.h | 14 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/linux-4.4.14/fs/befs/ |
D | endian.h | 38 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 80 run.allocation_group = be32_to_cpu((__force __be32)n.allocation_group); in fsrun_to_cpu()
|
/linux-4.4.14/drivers/iio/gyro/ |
D | adxrs450.c | 123 *val = (be32_to_cpu(st->rx) >> 5) & 0xFFFF; in adxrs450_spi_read_reg_16() 192 *val = (be32_to_cpu(st->rx) >> 10) & 0xFFFF; in adxrs450_spi_sensor_data() 228 *val = be32_to_cpu(st->rx); in adxrs450_spi_initial()
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart_hwdep.c | 117 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf() 123 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)), in mixart_load_elf() 124 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf() 125 be32_to_cpu( elf_programheader.p_filesz )); in mixart_load_elf()
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
D | pinctrl-imx.c | 546 u32 mux_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_groups() 558 conf_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_groups() 569 pin->input_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_groups() 570 pin->mux_mode = be32_to_cpu(*list++); in imx_pinctrl_parse_groups() 571 pin->input_val = be32_to_cpu(*list++); in imx_pinctrl_parse_groups() 574 config = be32_to_cpu(*list++); in imx_pinctrl_parse_groups()
|