/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 123 XFS_WANT_CORRUPTED_RETURN(mp, be16_to_cpu(bf[0].length) >= in __xfs_dir3_data_check() 124 be16_to_cpu(bf[1].length)); in __xfs_dir3_data_check() 125 XFS_WANT_CORRUPTED_RETURN(mp, be16_to_cpu(bf[1].length) >= in __xfs_dir3_data_check() 126 be16_to_cpu(bf[2].length)); in __xfs_dir3_data_check() 137 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 140 be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) == in __xfs_dir3_data_check() 150 be16_to_cpu(dup->length) <= in __xfs_dir3_data_check() 151 be16_to_cpu(bf[2].length)); in __xfs_dir3_data_check() 153 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check() 168 be16_to_cpu(*ops->data_entry_tag_p(dep)) == in __xfs_dir3_data_check() [all …]
|
D | xfs_inode_buf.c | 109 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify() 202 to->di_magic = be16_to_cpu(from->di_magic); in xfs_dinode_from_disk() 203 to->di_mode = be16_to_cpu(from->di_mode); in xfs_dinode_from_disk() 206 to->di_onlink = be16_to_cpu(from->di_onlink); in xfs_dinode_from_disk() 210 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); in xfs_dinode_from_disk() 211 to->di_projid_hi = be16_to_cpu(from->di_projid_hi); in xfs_dinode_from_disk() 213 to->di_flushiter = be16_to_cpu(from->di_flushiter); in xfs_dinode_from_disk() 224 to->di_anextents = be16_to_cpu(from->di_anextents); in xfs_dinode_from_disk() 228 to->di_dmstate = be16_to_cpu(from->di_dmstate); in xfs_dinode_from_disk() 229 to->di_flags = be16_to_cpu(from->di_flags); in xfs_dinode_from_disk() [all …]
|
D | xfs_dir2_block.c | 195 if (be16_to_cpu(bf[0].length) >= len) { in xfs_dir2_block_need_space() 200 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space() 212 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space() 218 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space() 219 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 236 enddup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space() 243 if (be16_to_cpu(enddup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space() 248 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space() 253 if (be16_to_cpu(dup->length) < len) in xfs_dir2_block_need_space() 261 if (be16_to_cpu(dup->length) < len + (uint)sizeof(*blp)) { in xfs_dir2_block_need_space() [all …]
|
D | xfs_da_format.c | 459 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_dir2_leaf_hdr_from_disk() 460 to->count = be16_to_cpu(from->hdr.count); in xfs_dir2_leaf_hdr_from_disk() 461 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk() 491 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk() 492 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk() 493 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk() 540 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_da2_node_hdr_from_disk() 541 to->count = be16_to_cpu(from->hdr.__count); in xfs_da2_node_hdr_from_disk() 542 to->level = be16_to_cpu(from->hdr.__level); in xfs_da2_node_hdr_from_disk() 568 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_da3_node_hdr_from_disk() [all …]
|
D | xfs_attr_leaf.c | 116 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk() 118 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_firstused_from_disk() 180 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk() 181 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk() 182 to->usedbytes = be16_to_cpu(hdr3->usedbytes); in xfs_attr3_leaf_hdr_from_disk() 187 to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base); in xfs_attr3_leaf_hdr_from_disk() 188 to->freemap[i].size = be16_to_cpu(hdr3->freemap[i].size); in xfs_attr3_leaf_hdr_from_disk() 194 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_attr3_leaf_hdr_from_disk() 195 to->count = be16_to_cpu(from->hdr.count); in xfs_attr3_leaf_hdr_from_disk() 196 to->usedbytes = be16_to_cpu(from->hdr.usedbytes); in xfs_attr3_leaf_hdr_from_disk() [all …]
|
D | xfs_bmap_btree.h | 92 (XFS_BMAP_BROOT_SPACE_CALC(mp, be16_to_cpu((bb)->bb_numrecs))) 97 (XFS_BMDR_SPACE_CALC(be16_to_cpu((bb)->bb_numrecs)))
|
D | xfs_dir2_leaf.c | 677 if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname() 693 else if (be16_to_cpu(bestsp[i]) >= length) { in xfs_dir2_leaf_addname() 847 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_leaf_addname() 848 ASSERT(be16_to_cpu(dup->length) >= length); in xfs_dir2_leaf_addname() 881 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname() 896 be16_to_cpu(*tagp))); in xfs_dir2_leaf_addname() 1388 oldbest = be16_to_cpu(bf[0].length); in xfs_dir2_leaf_removename() 1391 ASSERT(be16_to_cpu(bestsp[db]) == oldbest); in xfs_dir2_leaf_removename() 1420 if (be16_to_cpu(bf[0].length) != oldbest) { in xfs_dir2_leaf_removename() 1428 if (be16_to_cpu(bf[0].length) == in xfs_dir2_leaf_removename() [all …]
|
D | xfs_sb.c | 371 to->sb_versionnum = be16_to_cpu(from->sb_versionnum); in __xfs_sb_from_disk() 372 to->sb_sectsize = be16_to_cpu(from->sb_sectsize); in __xfs_sb_from_disk() 373 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); in __xfs_sb_from_disk() 374 to->sb_inopblock = be16_to_cpu(from->sb_inopblock); in __xfs_sb_from_disk() 390 to->sb_qflags = be16_to_cpu(from->sb_qflags); in __xfs_sb_from_disk() 398 to->sb_logsectsize = be16_to_cpu(from->sb_logsectsize); in __xfs_sb_from_disk() 613 (((be16_to_cpu(dsb->sb_versionnum) & XFS_SB_VERSION_NUMBITS) == in xfs_sb_read_verify()
|
D | xfs_bmap_btree.c | 82 ASSERT(be16_to_cpu(rblock->bb_level) > 0); in xfs_bmdr_to_bmbt() 89 dmxr = be16_to_cpu(dblock->bb_numrecs); in xfs_bmdr_to_bmbt() 368 dmxr = be16_to_cpu(dblock->bb_numrecs); in xfs_bmbt_to_bmdr() 675 level = be16_to_cpu(block->bb_level); in xfs_bmbt_verify() 678 if (be16_to_cpu(block->bb_numrecs) > mp->m_bmap_dmxr[level != 0]) in xfs_bmbt_verify() 792 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
|
D | xfs_dir2_node.c | 340 if ((off = be16_to_cpu(*from)) != NULLDATAOFF) in xfs_dir2_leaf_to_node() 631 if (be16_to_cpu(bests[fi]) >= length) in xfs_dir2_leafn_lookup_for_addname() 1216 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove() 1233 if (longest < be16_to_cpu(bf[0].length)) { in xfs_dir2_leafn_remove() 1264 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove() 1697 ASSERT(be16_to_cpu(bests[findex]) != NULLDATAOFF); in xfs_dir2_node_addname_int() 1698 ASSERT(be16_to_cpu(bests[findex]) >= length); in xfs_dir2_node_addname_int() 1783 if (be16_to_cpu(bests[findex]) != NULLDATAOFF && in xfs_dir2_node_addname_int() 1784 be16_to_cpu(bests[findex]) >= length) in xfs_dir2_node_addname_int() 1953 ASSERT(be16_to_cpu(bf[0].length) >= length); in xfs_dir2_node_addname_int() [all …]
|
D | xfs_attr_sf.h | 67 (be16_to_cpu(((xfs_attr_shortform_t *) \
|
D | xfs_da_format.h | 411 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p() 812 return &((char *)leafp)[be16_to_cpu(entries[idx].nameidx)]; in xfs_attr3_leaf_name()
|
D | xfs_btree.h | 425 return be16_to_cpu(block->bb_numrecs); in xfs_btree_get_numrecs() 436 return be16_to_cpu(block->bb_level); in xfs_btree_get_level()
|
D | xfs_ialloc_btree.c | 258 level = be16_to_cpu(block->bb_level); in xfs_inobt_verify() 261 if (be16_to_cpu(block->bb_numrecs) > mp->m_inobt_mxr[level != 0]) in xfs_inobt_verify()
|
D | xfs_alloc_btree.c | 293 level = be16_to_cpu(block->bb_level); in xfs_allocbt_verify() 336 if (be16_to_cpu(block->bb_numrecs) > mp->m_alloc_mxr[level != 0]) in xfs_allocbt_verify()
|
D | xfs_dquot_buf.c | 81 str, id, be16_to_cpu(ddq->d_magic), XFS_DQUOT_MAGIC); in xfs_dqcheck()
|
/linux-4.4.14/block/partitions/ |
D | sun.c | 69 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition() 89 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition() 92 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition() 100 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition() 111 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) in sun_partition() 113 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK) in sun_partition()
|
D | aix.c | 191 u16 lvm_version = be16_to_cpu(p->version); in aix_partition() 195 int pp_size_log2 = be16_to_cpu(p->pp_size); in aix_partition() 215 numlvs = be16_to_cpu(p->numlvs); in aix_partition() 230 lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps); in aix_partition() 239 int numpps = be16_to_cpu(pvd->pp_count); in aix_partition() 250 lp_ix = be16_to_cpu(p->lp_ix); in aix_partition() 255 lv_ix = be16_to_cpu(p->lv_ix) - 1; in aix_partition()
|
D | mac.c | 47 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) { in mac_partition() 51 secsize = be16_to_cpu(md->block_size); in mac_partition() 61 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) { in mac_partition() 82 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) in mac_partition()
|
D | sysv68.c | 68 slices = be16_to_cpu(b->dk_ios.ios_slccnt); in sysv68_partition()
|
/linux-4.4.14/fs/hfsplus/ |
D | unicode.c | 37 len1 = be16_to_cpu(s1->length); in hfsplus_strcasecmp() 38 len2 = be16_to_cpu(s2->length); in hfsplus_strcasecmp() 46 c1 = case_fold(be16_to_cpu(*p1)); in hfsplus_strcasecmp() 51 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 71 len1 = be16_to_cpu(s1->length); in hfsplus_strcmp() 72 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 77 c1 = be16_to_cpu(*p1); in hfsplus_strcmp() 78 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 134 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc() 140 c0 = be16_to_cpu(*ip++); in hfsplus_uni2asc() [all …]
|
D | catalog.c | 53 len = be16_to_cpu(key->cat.name.length); in hfsplus_cat_build_key() 72 ustrlen = be16_to_cpu(name->length); in hfsplus_cat_build_key_uni() 189 return 10 + be16_to_cpu(entry->thread.nodeName.length) * 2; in hfsplus_fill_cat_thread() 205 type = be16_to_cpu(tmp.type); in hfsplus_find_cat() 211 if (be16_to_cpu(tmp.thread.nodeName.length) > 255) { in hfsplus_find_cat() 348 len = be16_to_cpu(fd.search_key->cat.name.length) * 2; in hfsplus_delete_cat() 448 type = be16_to_cpu(entry.type); in hfsplus_rename_cat()
|
D | wrapper.c | 103 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb() 115 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb()
|
D | btree.c | 174 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open() 175 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open() 176 tree->depth = be16_to_cpu(head->depth); in hfs_btree_open()
|
D | brec.c | 26 *off = be16_to_cpu(retval[1]); in hfs_brec_lenoff() 27 return be16_to_cpu(retval[0]) - *off; in hfs_brec_lenoff() 81 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 165 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert()
|
D | dir.c | 62 type = be16_to_cpu(entry.type); in hfsplus_lookup() 172 if (be16_to_cpu(entry.type) != HFSPLUS_FOLDER_THREAD) { in hfsplus_readdir() 206 type = be16_to_cpu(entry.type); in hfsplus_readdir() 235 mode = be16_to_cpu(entry.file.permissions.mode); in hfsplus_readdir()
|
D | bnode.c | 47 return be16_to_cpu(data); in hfs_bnode_read_u16() 309 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump() 312 for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) { in hfs_bnode_dump() 512 node->num_recs = be16_to_cpu(desc->num_recs); in hfs_bnode_find()
|
D | part_tbl.c | 143 switch (be16_to_cpu(*((__be16 *)data))) { in hfs_part_find()
|
/linux-4.4.14/include/linux/ |
D | ihex.h | 27 int next = ((be16_to_cpu(rec->len) + 5) & ~3) - 2; in ihex_next_binrec() 30 return be16_to_cpu(rec->len) ? rec : NULL; in ihex_next_binrec() 43 if (!be16_to_cpu(rec->len)) in ihex_validate_fw() 47 ofs += (sizeof(*rec) + be16_to_cpu(rec->len) + 3) & ~3; in ihex_validate_fw()
|
D | virtio_byteorder.h | 20 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
|
/linux-4.4.14/drivers/misc/ |
D | bmp085.c | 111 cali->AC1 = be16_to_cpu(tmp[0]); in bmp085_read_calibration_data() 112 cali->AC2 = be16_to_cpu(tmp[1]); in bmp085_read_calibration_data() 113 cali->AC3 = be16_to_cpu(tmp[2]); in bmp085_read_calibration_data() 114 cali->AC4 = be16_to_cpu(tmp[3]); in bmp085_read_calibration_data() 115 cali->AC5 = be16_to_cpu(tmp[4]); in bmp085_read_calibration_data() 116 cali->AC6 = be16_to_cpu(tmp[5]); in bmp085_read_calibration_data() 117 cali->B1 = be16_to_cpu(tmp[6]); in bmp085_read_calibration_data() 118 cali->B2 = be16_to_cpu(tmp[7]); in bmp085_read_calibration_data() 119 cali->MB = be16_to_cpu(tmp[8]); in bmp085_read_calibration_data() 120 cali->MC = be16_to_cpu(tmp[9]); in bmp085_read_calibration_data() [all …]
|
/linux-4.4.14/fs/hfs/ |
D | extent.c | 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; in hfs_ext_keycmp() 80 count = be16_to_cpu(ext->count); in hfs_ext_find_block() 82 return be16_to_cpu(ext->block) + off; in hfs_ext_find_block() 95 count += be16_to_cpu(ext->count); in hfs_ext_block_count() 107 return be16_to_cpu(ext->block) + be16_to_cpu(ext->count); in hfs_ext_lastblock() 178 HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); in __hfs_ext_cache_extent() 211 be16_to_cpu(extent[i].block), in hfs_dump_extent() 212 be16_to_cpu(extent[i].count)); in hfs_dump_extent() 224 count = be16_to_cpu(extent->count); in hfs_add_extent() 226 start = be16_to_cpu(extent->block); in hfs_add_extent() [all …]
|
D | mdb.c | 112 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get() 136 HFS_SB(sb)->fs_ablocks = be16_to_cpu(mdb->drNmAlBlks); in hfs_mdb_get() 142 HFS_SB(sb)->fs_start = (be16_to_cpu(mdb->drAlBlSt) + part_start) >> in hfs_mdb_get() 146 HFS_SB(sb)->free_ablocks = be16_to_cpu(mdb->drFreeBks); in hfs_mdb_get() 148 HFS_SB(sb)->root_files = be16_to_cpu(mdb->drNmFls); in hfs_mdb_get() 149 HFS_SB(sb)->root_dirs = be16_to_cpu(mdb->drNmRtDirs); in hfs_mdb_get() 174 block = be16_to_cpu(mdb->drVBMSt) + part_start; in hfs_mdb_get() 306 block = be16_to_cpu(HFS_SB(sb)->mdb->drVBMSt) + HFS_SB(sb)->part_start; in hfs_mdb_commit()
|
D | bnode.c | 34 return be16_to_cpu(data); in hfs_bnode_read_u16() 145 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump() 148 for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) { in hfs_bnode_dump() 344 node->num_recs = be16_to_cpu(desc->num_recs); in hfs_bnode_find()
|
D | btree.c | 90 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open() 91 tree->max_key_len = be16_to_cpu(head->max_key_len); in hfs_btree_open() 92 tree->depth = be16_to_cpu(head->depth); in hfs_btree_open()
|
D | part_tbl.c | 70 switch (be16_to_cpu(*data)) { in hfs_part_find()
|
D | inode.c | 273 count += be16_to_cpu(ext[i].count); in hfs_inode_read_fork() 338 rec->file.PyLen, be16_to_cpu(rec->file.ClpSize)); in hfs_read_inode() 341 rec->file.RPyLen, be16_to_cpu(rec->file.ClpSize)); in hfs_read_inode() 358 inode->i_size = be16_to_cpu(rec->dir.Val) + 2; in hfs_read_inode()
|
/linux-4.4.14/drivers/usb/misc/ |
D | emi26.c | 116 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 138 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi26_load_firmware() 139 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi26_load_firmware() 140 i += be16_to_cpu(rec->len); in emi26_load_firmware() 157 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 175 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 191 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
|
D | emi62.c | 123 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 145 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi62_load_firmware() 146 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi62_load_firmware() 147 i += be16_to_cpu(rec->len); in emi62_load_firmware() 164 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 182 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 198 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
|
D | ezusb.c | 98 be16_to_cpu(record->len), WRITE_EXT_RAM); in ezusb_ihex_firmware_download() 104 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download() 118 be16_to_cpu(record->len), WRITE_INT_RAM); in ezusb_ihex_firmware_download() 124 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download()
|
/linux-4.4.14/net/rds/ |
D | cong.c | 299 i = be16_to_cpu(port) / RDS_CONG_MAP_PAGE_BITS; in rds_cong_set_bit() 300 off = be16_to_cpu(port) % RDS_CONG_MAP_PAGE_BITS; in rds_cong_set_bit() 313 i = be16_to_cpu(port) / RDS_CONG_MAP_PAGE_BITS; in rds_cong_clear_bit() 314 off = be16_to_cpu(port) % RDS_CONG_MAP_PAGE_BITS; in rds_cong_clear_bit() 324 i = be16_to_cpu(port) / RDS_CONG_MAP_PAGE_BITS; in rds_cong_test_bit() 325 off = be16_to_cpu(port) % RDS_CONG_MAP_PAGE_BITS; in rds_cong_test_bit() 385 rdsdebug("waiting on map %p for port %u\n", map, be16_to_cpu(port)); in rds_cong_wait()
|
D | bind.c | 83 rover = be16_to_cpu(*port); in rds_add_bound()
|
D | recv.c | 173 be16_to_cpu(inc->i_hdr.h_sport), in rds_recv_incoming() 174 be16_to_cpu(inc->i_hdr.h_dport), in rds_recv_incoming()
|
/linux-4.4.14/arch/m68k/mvme16x/ |
D | config.c | 67 uint16_t tag = be16_to_cpu(bi->tag); in mvme16x_parse_bootinfo() 93 sprintf(model, "Motorola MVME%x%s", be16_to_cpu(p->brdno), suf); in mvme16x_get_model() 99 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_get_hardware_list() 277 uint16_t brdno = be16_to_cpu(p->brdno); in config_mvme16x() 333 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_abort_int() 364 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_sched_init()
|
/linux-4.4.14/fs/gfs2/ |
D | dir.c | 411 be16_to_cpu(dent->de_name_len) == name->len && in __gfs2_dirent_find() 440 const char *end = (const char *)dent + be16_to_cpu(dent->de_rec_len); in gfs2_dirent_last() 451 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_space() 452 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space() 503 unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) > in gfs2_check_dirent() 553 size = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_scan() 565 size = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_scan() 591 u16 rec_len = be16_to_cpu(d->de_rec_len); in dirent_check_reclen() 673 prev_rec_len = be16_to_cpu(prev->de_rec_len); in dirent_del() 674 cur_rec_len = be16_to_cpu(cur->de_rec_len); in dirent_del() [all …]
|
D | glops.c | 367 height = be16_to_cpu(str->di_height); in gfs2_dinode_in() 372 depth = be16_to_cpu(str->di_depth); in gfs2_dinode_in()
|
/linux-4.4.14/drivers/memstick/core/ |
D | mspro_block.c | 339 be16_to_cpu(x_sys->block_size)); in mspro_block_attr_show_sysinfo() 341 be16_to_cpu(x_sys->block_count)); in mspro_block_attr_show_sysinfo() 343 be16_to_cpu(x_sys->user_block_count)); in mspro_block_attr_show_sysinfo() 345 be16_to_cpu(x_sys->page_size)); in mspro_block_attr_show_sysinfo() 363 be16_to_cpu(x_sys->memory_maker_code)); in mspro_block_attr_show_sysinfo() 365 be16_to_cpu(x_sys->memory_model_code)); in mspro_block_attr_show_sysinfo() 371 be16_to_cpu(x_sys->controller_number)); in mspro_block_attr_show_sysinfo() 374 be16_to_cpu(x_sys->controller_function)); in mspro_block_attr_show_sysinfo() 376 be16_to_cpu(x_sys->start_sector)); in mspro_block_attr_show_sysinfo() 378 be16_to_cpu(x_sys->unit_size)); in mspro_block_attr_show_sysinfo() [all …]
|
D | ms_block.c | 1166 p->header.block_id = be16_to_cpu(p->header.block_id); in msb_fix_boot_page_endianness() 1167 p->header.format_reserved = be16_to_cpu(p->header.format_reserved); in msb_fix_boot_page_endianness() 1176 p->attr.block_size = be16_to_cpu(p->attr.block_size); in msb_fix_boot_page_endianness() 1177 p->attr.number_of_blocks = be16_to_cpu(p->attr.number_of_blocks); in msb_fix_boot_page_endianness() 1179 = be16_to_cpu(p->attr.number_of_effective_blocks); in msb_fix_boot_page_endianness() 1180 p->attr.page_size = be16_to_cpu(p->attr.page_size); in msb_fix_boot_page_endianness() 1182 = be16_to_cpu(p->attr.memory_manufacturer_code); in msb_fix_boot_page_endianness() 1183 p->attr.memory_device_code = be16_to_cpu(p->attr.memory_device_code); in msb_fix_boot_page_endianness() 1185 = be16_to_cpu(p->attr.implemented_capacity); in msb_fix_boot_page_endianness() 1186 p->attr.controller_number = be16_to_cpu(p->attr.controller_number); in msb_fix_boot_page_endianness() [all …]
|
/linux-4.4.14/fs/efs/ |
D | inode.c | 98 inode->i_mode = be16_to_cpu(efs_inode->di_mode); in efs_iget() 99 set_nlink(inode, be16_to_cpu(efs_inode->di_nlink)); in efs_iget() 100 i_uid_write(inode, (uid_t)be16_to_cpu(efs_inode->di_uid)); in efs_iget() 101 i_gid_write(inode, (gid_t)be16_to_cpu(efs_inode->di_gid)); in efs_iget() 115 rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); in efs_iget() 126 in->numextents = be16_to_cpu(efs_inode->di_numextents); in efs_iget()
|
D | dir.c | 54 if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) { in efs_readdir()
|
D | super.c | 249 sb->inode_blocks = be16_to_cpu(super->fs_cgisize); in efs_validate_super() 250 sb->total_groups = be16_to_cpu(super->fs_ncg); in efs_validate_super()
|
D | namei.c | 41 if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) { in efs_find_entry()
|
/linux-4.4.14/fs/xfs/ |
D | uuid.c | 40 fsid[0] = (be16_to_cpu(uup->uu_clockseq) << 16) | in uuid_getnodeuniq() 41 be16_to_cpu(uup->uu_timemid); in uuid_getnodeuniq()
|
D | xfs_dir2_readdir.c | 213 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents() 214 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents() 579 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents() 582 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents() 611 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents() 612 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
|
D | xfs_attr_inactive.c | 146 if (be16_to_cpu(entry->nameidx) && in xfs_attr3_leaf_inactive() 174 if (be16_to_cpu(entry->nameidx) && in xfs_attr3_leaf_inactive()
|
D | xfs_attr_list.c | 252 switch (be16_to_cpu(node->hdr.info.magic)) { in xfs_attr_node_list() 301 magic = be16_to_cpu(node->hdr.info.magic); in xfs_attr_node_list() 435 be16_to_cpu(name_loc->valuelen), in xfs_attr3_leaf_list_int()
|
D | xfs_qm_syscalls.c | 674 dst->d_ino_warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_qm_scall_getquota() 675 dst->d_spc_warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_qm_scall_getquota() 682 dst->d_rt_spc_warns = be16_to_cpu(dqp->q_core.d_rtbwarns); in xfs_qm_scall_getquota()
|
D | xfs_trans_dquot.c | 620 warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_trans_dqresv() 632 warns = be16_to_cpu(dqp->q_core.d_rtbwarns); in xfs_trans_dqresv() 667 warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_trans_dqresv()
|
D | xfs_acl.c | 70 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | ud.c | 390 if (ah_attr->dlid == be16_to_cpu(IB_LID_PERMISSIVE)) in hfi1_make_ud_req() 667 dlid = be16_to_cpu(hdr->lrh[1]); in hfi1_ud_rcv() 680 sc5 = (be16_to_cpu(hdr->lrh[0]) >> 12) & 0xf; in hfi1_ud_rcv() 697 u16 slid = be16_to_cpu(hdr->lrh[3]); in hfi1_ud_rcv() 700 sc5 = (be16_to_cpu(hdr->lrh[0]) >> 12) & 0xf; in hfi1_ud_rcv() 728 sc5 = (be16_to_cpu(hdr->lrh[0]) >> 12) & 0xf; in hfi1_ud_rcv() 731 slid = be16_to_cpu(hdr->lrh[3]); in hfi1_ud_rcv() 741 (be16_to_cpu(hdr->lrh[0]) >> 4) & in hfi1_ud_rcv() 756 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in hfi1_ud_rcv() 764 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15))) in hfi1_ud_rcv() [all …]
|
D | driver.c | 266 int lnh = be16_to_cpu(rhdr->lrh[0]) & 3; in rcv_hdrerr() 277 u16 lid = be16_to_cpu(hdr->lrh[1]); in rcv_hdrerr() 378 sc5 = (be16_to_cpu(rhdr->lrh[0]) >> 12) & 0xf; in rcv_hdrerr() 398 rlid = be16_to_cpu(rhdr->lrh[3]); in rcv_hdrerr() 466 sc5 = (be16_to_cpu(hdr->lrh[0]) >> 12) & 0xf; in process_ecn() 473 u16 dlid = be16_to_cpu(hdr->lrh[1]); in process_ecn() 474 u16 slid = be16_to_cpu(hdr->lrh[3]); in process_ecn() 586 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in prescan_rxq()
|
D | trace.h | 464 (u8)(be16_to_cpu(hdr->lrh[0]) >> 12); 466 (u8)(be16_to_cpu(hdr->lrh[0]) >> 8) & 0xf; 468 (u8)(be16_to_cpu(hdr->lrh[0]) >> 4) & 0xf; 470 (u8)(be16_to_cpu(hdr->lrh[0]) & 3); 472 be16_to_cpu(hdr->lrh[1]); 475 be16_to_cpu(hdr->lrh[2]); 477 be16_to_cpu(hdr->lrh[3]); 583 __entry->lnh = (u8)(be16_to_cpu(hdr->lrh[0]) & 3); 589 __entry->slid = be16_to_cpu(hdr->lrh[3]); 590 __entry->dlid = be16_to_cpu(hdr->lrh[1]); [all …]
|
D | diag.c | 91 #define HFI1_GET_PKT_LEN(x) (((be16_to_cpu((x)->lrh[2]) & 0x7FF)) << 2) 1257 if (*((u16 *)value) == be16_to_cpu(hdr->lrh[3])) /* matches slid */ in hfi1_filter_lid() 1277 if (*((u16 *)value) == be16_to_cpu(hdr->lrh[1])) in hfi1_filter_dlid() 1306 if ((be16_to_cpu(hdr->lrh[0]) & 3) == HFI1_LRH_BTH) in hfi1_filter_mad_mgmt_class() 1339 if ((be16_to_cpu(hdr->lrh[0]) & 3) == HFI1_LRH_BTH) in hfi1_filter_qp_number() 1367 lnh = (be16_to_cpu(hdr->lrh[0]) & 3); in hfi1_filter_ibpacket_type() 1399 if ((*((u8 *)value)) == ((be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF)) in hfi1_filter_ib_service_level() 1422 lnh = (be16_to_cpu(hdr->lrh[0]) & 3); in hfi1_filter_ib_pkey() 1681 vl = be16_to_cpu(ahdr->ibh.lrh[0]) >> 12; in snoop_send_pio_handler()
|
D | ruc.c | 310 sc5, be16_to_cpu(hdr->lrh[3])))) { in hfi1_ruc_check_hdr() 313 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in hfi1_ruc_check_hdr() 319 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in hfi1_ruc_check_hdr() 342 sc5, be16_to_cpu(hdr->lrh[3])))) { in hfi1_ruc_check_hdr() 345 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in hfi1_ruc_check_hdr() 351 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in hfi1_ruc_check_hdr()
|
D | uc.c | 292 u16 rlid = be16_to_cpu(hdr->lrh[3]); in hfi1_uc_rcv() 307 u16 slid = be16_to_cpu(hdr->lrh[3]); in hfi1_uc_rcv() 308 u16 dlid = be16_to_cpu(hdr->lrh[1]); in hfi1_uc_rcv()
|
D | mad.c | 132 if (ibp->sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { in send_trap() 1095 ibp->mkey_lease_period = be16_to_cpu(pi->mkey_lease_period); in __subn_set_opa_portinfo() 1167 lwe = be16_to_cpu(pi->link_width.enabled); in __subn_set_opa_portinfo() 1177 lwe = be16_to_cpu(pi->link_width_downgrade.enabled); in __subn_set_opa_portinfo() 1192 lse = be16_to_cpu(pi->link_speed.enabled); in __subn_set_opa_portinfo() 1194 if (lse & be16_to_cpu(pi->link_speed.supported)) in __subn_set_opa_portinfo() 1201 ibp->vl_high_limit = be16_to_cpu(pi->vl.high_limit) & 0xFF; in __subn_set_opa_portinfo() 1273 crc_enabled = be16_to_cpu(pi->port_ltp_crc_mode); in __subn_set_opa_portinfo() 1281 !!(be16_to_cpu(pi->port_mode) in __subn_set_opa_portinfo() 1429 p[i] = be16_to_cpu(q[i]); in __subn_set_opa_pkeytable() [all …]
|
D | trace.c | 57 u8 lnh = (u8)(be16_to_cpu(hdr->lrh[0]) & 3); in ibhdr_exhdr_len()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | hv-24x7.c | 165 *len = be16_to_cpu(ev->event_name_len) - 2; in event_name() 171 unsigned nl = be16_to_cpu(ev->event_name_len); in event_desc() 174 *len = be16_to_cpu(*desc_len) - 2; in event_desc() 180 unsigned nl = be16_to_cpu(ev->event_name_len); in event_long_desc() 182 unsigned desc_len = be16_to_cpu(*desc_len_); in event_long_desc() 185 *len = be16_to_cpu(*long_desc_len) - 2; in event_long_desc() 210 unsigned nl = be16_to_cpu(ev->event_name_len); in event_end() 226 dl = be16_to_cpu(*dl_); in event_end() 241 ldl = be16_to_cpu(*ldl_); in event_end() 303 be16_to_cpu(event->event_counter_offs) + in event_fmt() [all …]
|
/linux-4.4.14/arch/powerpc/boot/ |
D | of.h | 30 #define be16_to_cpu(x) swab16(x) macro 37 #define be16_to_cpu(x) (x) macro
|
D | libfdt_env.h | 17 #define fdt16_to_cpu(x) be16_to_cpu(x)
|
/linux-4.4.14/arch/m68k/kernel/ |
D | bootinfo_proc.c | 38 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo() 39 uint16_t n = be16_to_cpu(bi->size); in save_bootinfo()
|
D | setup_mm.c | 151 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo() 154 uint16_t size = be16_to_cpu(record->size); in m68k_parse_bootinfo()
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 205 entry->u.end.status = be16_to_cpu(vfc_cmd->status); in ibmvfc_trc_end() 206 entry->u.end.error = be16_to_cpu(vfc_cmd->error); in ibmvfc_trc_end() 213 entry->u.end.status = be16_to_cpu(mad->status); in ibmvfc_trc_end() 280 err = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error)); in ibmvfc_get_err_result() 1476 int index = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error)); in ibmvfc_log_error() 1533 if (be16_to_cpu(vfc_cmd->response_flags) & IBMVFC_ADAPTER_RESID_VALID) in ibmvfc_scsi_done() 1549 if ((be16_to_cpu(vfc_cmd->status) & IBMVFC_VIOS_FAILURE) && in ibmvfc_scsi_done() 1550 (be16_to_cpu(vfc_cmd->error) == IBMVFC_PLOGI_REQUIRED)) in ibmvfc_scsi_done() 2015 ibmvfc_get_cmd_error(be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error)), in ibmvfc_reset_device() 2211 status = be16_to_cpu(rsp.mad_common.status); in ibmvfc_cancel_all() [all …]
|
/linux-4.4.14/fs/befs/ |
D | endian.h | 56 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() 81 run.start = be16_to_cpu((__force __be16)n.start); in fsrun_to_cpu() 82 run.len = be16_to_cpu((__force __be16)n.len); in fsrun_to_cpu()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | cq.c | 511 be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index), in mlx4_ib_handle_error_cqe() 589 wc->pkey_index = be16_to_cpu(hdr->tun.pkey_index); in use_tunnel_data() 595 wc->vlan_id = be16_to_cpu(hdr->tun.sl_vid); in use_tunnel_data() 600 wc->slid = be16_to_cpu(hdr->tun.slid_mac_47_32); in use_tunnel_data() 601 wc->sl = (u8) (be16_to_cpu(hdr->tun.sl_vid) >> 12); in use_tunnel_data() 751 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one() 758 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one() 763 wqe_ctr = be16_to_cpu(cqe->wqe_index); in mlx4_ib_poll_one() 863 wc->slid = be16_to_cpu(cqe->rlid); in mlx4_ib_poll_one() 872 wc->sl = be16_to_cpu(cqe->sl_vid) >> 13; in mlx4_ib_poll_one() [all …]
|
D | sysfs.c | 127 be16_to_cpu(((__be16 *) gid.raw)[0]), in show_port_gid() 128 be16_to_cpu(((__be16 *) gid.raw)[1]), in show_port_gid() 129 be16_to_cpu(((__be16 *) gid.raw)[2]), in show_port_gid() 130 be16_to_cpu(((__be16 *) gid.raw)[3]), in show_port_gid() 131 be16_to_cpu(((__be16 *) gid.raw)[4]), in show_port_gid() 132 be16_to_cpu(((__be16 *) gid.raw)[5]), in show_port_gid() 133 be16_to_cpu(((__be16 *) gid.raw)[6]), in show_port_gid() 134 be16_to_cpu(((__be16 *) gid.raw)[7])); in show_port_gid()
|
D | mad.c | 233 lid = be16_to_cpu(pinfo->lid); in smp_snoop() 236 be16_to_cpu(pinfo->sm_lid), in smp_snoop() 261 i + bn*32, be16_to_cpu(base[i])); in smp_snoop() 262 if (be16_to_cpu(base[i]) != in smp_snoop() 266 be16_to_cpu(base[i]); in smp_snoop() 391 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler() 735 be16_to_cpu(in_mad->mad_hdr.attr_id)); in ib_process_mad() 746 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE); in ib_process_mad() 1066 u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid); in handle_port_mgmt_change_event() 1166 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_multiplex_sa_handler() [all …]
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_mq.c | 120 *q->shared = cpu_to_be16((be16_to_cpu(*q->shared)+1) % q->q_size); in c2_mq_lconsume() 130 count = be16_to_cpu(*q->shared) - q->priv; 132 count = q->priv - be16_to_cpu(*q->shared);
|
D | c2_mq.h | 88 return q->priv == be16_to_cpu(*q->shared); in c2_mq_empty() 93 return q->priv == (be16_to_cpu(*q->shared) + q->q_size - 1) % q->q_size; in c2_mq_full()
|
D | c2_intr.c | 47 while (c2dev->hints_read != be16_to_cpu(*c2dev->hint_count)) { in c2_rnic_interrupt()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 583 if (be16_to_cpu(pcierr) != OPAL_EEH_PHB_ERROR) { in pnv_eeh_get_phb_state() 1321 if (be16_to_cpu(err_type) == OPAL_EEH_NO_ERROR || in pnv_eeh_next_error() 1322 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { in pnv_eeh_next_error() 1334 __func__, be16_to_cpu(err_type), in pnv_eeh_next_error() 1335 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), in pnv_eeh_next_error() 1337 switch (be16_to_cpu(err_type)) { in pnv_eeh_next_error() 1339 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { in pnv_eeh_next_error() 1342 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error() 1351 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) { in pnv_eeh_next_error() 1358 } else if (be16_to_cpu(severity) == in pnv_eeh_next_error() [all …]
|
D | opal-power.c | 45 for (i = 0; i < be16_to_cpu(epow_classes); i++) { in detect_epow() 46 epow = be16_to_cpu(opal_epow_status[i]); in detect_epow()
|
D | opal-prd.c | 200 size = be16_to_cpu(item->msg.size); in opal_prd_read() 242 size = be16_to_cpu(hdr.size); in opal_prd_write() 366 msg_size = be16_to_cpu(hdr->size); in opal_prd_msg_notifier()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 477 (be16_to_cpu(hdr->lrh[0]) >> 4) & in qib_ud_rcv() 486 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in qib_ud_rcv() 494 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15))) in qib_ud_rcv() 500 if (tlen != 256 || (be16_to_cpu(hdr->lrh[0]) >> 12) != 15) in qib_ud_rcv() 573 wc.slid = be16_to_cpu(hdr->lrh[3]); in qib_ud_rcv() 574 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF; in qib_ud_rcv() 575 dlid = be16_to_cpu(hdr->lrh[1]); in qib_ud_rcv()
|
D | qib_mad.c | 104 if (ibp->sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { in qib_send_trap() 690 ibp->mkey_lease_period = be16_to_cpu(pip->mkey_lease_period); in subn_set_portinfo() 692 lid = be16_to_cpu(pip->lid); in subn_set_portinfo() 706 smlid = be16_to_cpu(pip->sm_lid); in subn_set_portinfo() 1048 q[i] = be16_to_cpu(p[i]); in subn_set_pkeytable() 1247 ibp->pma_tag = be16_to_cpu(p->tag); in pma_set_portsamplescontrol() 2221 ppd->cc_sl_control_map = be16_to_cpu(p->control_map); in cc_set_congestion_setting() 2228 be16_to_cpu(p->entries[i].ccti_timer); in cc_set_congestion_setting() 2259 if (be16_to_cpu(p->ccti_limit) < IB_CCT_ENTRIES) in cc_set_congestion_control_table() 2262 cct_entry = (be16_to_cpu(p->ccti_limit))%IB_CCT_ENTRIES; in cc_set_congestion_control_table() [all …]
|
D | qib_driver.c | 311 u16 lid = be16_to_cpu(hdr->lrh[1]); in qib_rcv_hdrerr() 312 int lnh = be16_to_cpu(hdr->lrh[0]) & 3; in qib_rcv_hdrerr() 495 u16 lrh_len = be16_to_cpu(hdr->lrh[2]) << 2; in qib_kreceive()
|
D | qib_ruc.c | 293 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in qib_ruc_check_hdr() 299 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in qib_ruc_check_hdr() 325 (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF, in qib_ruc_check_hdr() 331 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr()
|
/linux-4.4.14/include/linux/byteorder/ |
D | generic.h | 96 #define be16_to_cpu __be16_to_cpu macro 160 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
|
/linux-4.4.14/drivers/power/ |
D | olpc_battery.c | 391 val->intval = (s16)be16_to_cpu(ec_word) * 9760L / 32; in olpc_bat_get_property() 399 val->intval = (s16)be16_to_cpu(ec_word) * 15625L / 120; in olpc_bat_get_property() 430 val->intval = (s16)be16_to_cpu(ec_word) * 100 / 256; in olpc_bat_get_property() 437 val->intval = (int)be16_to_cpu(ec_word) * 100 / 256; in olpc_bat_get_property() 444 val->intval = (s16)be16_to_cpu(ec_word) * 6250 / 15; in olpc_bat_get_property()
|
/linux-4.4.14/drivers/gpu/drm/mga/ |
D | mga_warp.c | 93 size += WARP_UCODE_SIZE(be16_to_cpu(rec->len)); in mga_warp_install_microcode() 121 src_size = be16_to_cpu(rec->len); in mga_warp_install_microcode()
|
/linux-4.4.14/drivers/media/rc/ |
D | redrat3.c | 289 u16 mod_freq_count = be16_to_cpu(irdata->mod_freq_count); in redrat3_val_to_mod_freq() 292 mod_freq = (RR3_CLK * be16_to_cpu(irdata->num_periods)) / in redrat3_val_to_mod_freq() 366 sig_size = be16_to_cpu(rr3->irdata.sig_size); in redrat3_process_ir_data() 570 pktlen = be16_to_cpu(header->length); in redrat3_read_packet_start() 571 pkttype = be16_to_cpu(header->transfer_type); in redrat3_read_packet_start() 582 unsigned fw_error = be16_to_cpu(error->fw_error); in redrat3_read_packet_start() 615 be16_to_cpu(rr3->irdata.header.length)); in redrat3_read_packet_continue() 635 if (rr3->bytes_read < be16_to_cpu(rr3->irdata.header.length) + in redrat3_get_ir_data() 641 pkttype = be16_to_cpu(rr3->irdata.header.transfer_type); in redrat3_get_ir_data()
|
/linux-4.4.14/drivers/ipack/ |
D | ipack.c | 337 dev->id_vendor = ((be16_to_cpu(id[3]) & 0xff) << 16) in ipack_parse_id2() 338 + be16_to_cpu(id[4]); in ipack_parse_id2() 339 dev->id_device = be16_to_cpu(id[5]); in ipack_parse_id2() 340 flags = be16_to_cpu(id[10]); in ipack_parse_id2() 344 dev->id_crc_correct = (crc == be16_to_cpu(id[12])); in ipack_parse_id2()
|
/linux-4.4.14/fs/logfs/ |
D | journal.c | 147 inlen = be16_to_cpu(jh->h_len); in unpack() 148 outlen = be16_to_cpu(jh->h_datalen); in unpack() 172 type = be16_to_cpu(jh->h_type); in __read_je_header() 173 len = be16_to_cpu(jh->h_len); in __read_je_header() 174 datalen = be16_to_cpu(jh->h_datalen); in __read_je_header() 190 len = be16_to_cpu(jh->h_len); in __read_je_payload() 233 type = be16_to_cpu(jh->h_type); in read_je() 234 datalen = be16_to_cpu(jh->h_datalen); in read_je() 280 len = be16_to_cpu(jh->h_len); in logfs_read_segment() 281 datalen = be16_to_cpu(jh->h_datalen); in logfs_read_segment()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 86 mlx5_wq_ll_push(wq, be16_to_cpu(wqe->next.next_wqe_index)); in mlx5e_post_rx_wqes() 215 be16_to_cpu(cqe->vlan_info)); in mlx5e_build_rx_skb() 241 wqe_counter = be16_to_cpu(wqe_counter_be); in mlx5e_poll_rx_cq()
|
D | qp.c | 123 be16_to_cpu(pf_eqe->rdma.packet_length); in mlx5_eq_pagefault() 145 be16_to_cpu(pf_eqe->wqe.wqe_index); in mlx5_eq_pagefault() 147 be16_to_cpu(pf_eqe->wqe.packet_length); in mlx5_eq_pagefault()
|
D | debugfs.c | 338 no_sq = be16_to_cpu(ctx->sq_crq_size) >> 15; in qp_read_field() 340 param = 1 << (be16_to_cpu(ctx->sq_crq_size) >> 11); in qp_read_field()
|
D | cmd.c | 570 u16 op = be16_to_cpu(((struct mlx5_inbox_hdr *)(ent->lay->in))->opcode); in dump_command() 712 return be16_to_cpu(hdr->opcode); in msg_to_opcode() 793 op = be16_to_cpu(((struct mlx5_inbox_hdr *)in->first.data)->opcode); in mlx5_cmd_invoke() 1361 return be16_to_cpu(in->opcode); in opcode_from_in() 1366 return be16_to_cpu(in->opcode) == MLX5_CMD_OP_MANAGE_PAGES; in is_manage_pages()
|
/linux-4.4.14/block/ |
D | t10-pi.c | 110 be16_to_cpu(pi->guard_tag), be16_to_cpu(csum)); in t10_pi_verify()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 415 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_MASK) { in gelic_wl_synthesize_ie() 427 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_WPA_MASK) { in gelic_wl_synthesize_ie() 603 iwe.u.freq.m = be16_to_cpu(scan->channel); in gelic_wl_translate_scan() 639 if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_PRIVACY) in gelic_wl_translate_scan() 648 if (be16_to_cpu(scan->capability) & in gelic_wl_translate_scan() 650 if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_ESS) in gelic_wl_translate_scan() 661 iwe.u.qual.level = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 662 iwe.u.qual.qual = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 668 if (be16_to_cpu(scan->size) <= sizeof(*scan)) { in gelic_wl_translate_scan() 681 data_len = be16_to_cpu(scan->size) - sizeof(*scan); in gelic_wl_translate_scan() [all …]
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_fcbuild.c | 371 if (be16_to_cpu(plogi->class3.rxsz) < (FC_MIN_PDUSZ)) in fc_plogi_rsp_parse() 388 if ((be16_to_cpu(plogi->class3.rxsz) < FC_MIN_PDUSZ) in fc_plogi_parse() 389 || (be16_to_cpu(plogi->class3.rxsz) > FC_MAX_PDUSZ) in fc_plogi_parse() 562 if ((be16_to_cpu(pdisc->class3.rxsz) < in fc_pdisc_parse() 681 num_pages = (be16_to_cpu(prlo->payload_len) - 4) / 16; in fc_logout_params_pages() 684 num_pages = (be16_to_cpu(tprlo->payload_len) - 4) / 16; in fc_logout_params_pages() 710 return be16_to_cpu(tprlo_acc->payload_len); in fc_tprlo_acc_build() 734 return be16_to_cpu(prlo_acc->payload_len); in fc_prlo_acc_build() 879 if (be16_to_cpu(pdisc->class3.rxsz) < (FC_MIN_PDUSZ)) in fc_pdisc_rsp_parse() 906 return be16_to_cpu(prlo->payload_len); in fc_prlo_build() [all …]
|
D | bfa_core.c | 1282 fwcfg->num_ioim_reqs = be16_to_cpu(fwcfg->num_ioim_reqs); in bfa_iocfc_cfgrsp() 1283 fwcfg->num_fwtio_reqs = be16_to_cpu(fwcfg->num_fwtio_reqs); in bfa_iocfc_cfgrsp() 1284 fwcfg->num_tskim_reqs = be16_to_cpu(fwcfg->num_tskim_reqs); in bfa_iocfc_cfgrsp() 1285 fwcfg->num_fcxp_reqs = be16_to_cpu(fwcfg->num_fcxp_reqs); in bfa_iocfc_cfgrsp() 1286 fwcfg->num_uf_bufs = be16_to_cpu(fwcfg->num_uf_bufs); in bfa_iocfc_cfgrsp() 1287 fwcfg->num_rports = be16_to_cpu(fwcfg->num_rports); in bfa_iocfc_cfgrsp() 1611 be16_to_cpu(iocfc->cfginfo->intr_attr.delay) : in bfa_iocfc_get_attr() 1612 be16_to_cpu(iocfc->cfgrsp->intr_attr.delay); in bfa_iocfc_get_attr() 1615 be16_to_cpu(iocfc->cfginfo->intr_attr.latency) : in bfa_iocfc_get_attr() 1616 be16_to_cpu(iocfc->cfgrsp->intr_attr.latency); in bfa_iocfc_get_attr()
|
D | bfa_fcs_rport.c | 1973 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gidpn_response() 2043 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gpnid_response() 2557 if (be16_to_cpu(plogi->class3.rxsz) < be16_to_cpu(plogi->csp.rxsz)) in bfa_fcs_rport_update() 2558 rport->maxfrsize = be16_to_cpu(plogi->class3.rxsz); in bfa_fcs_rport_update() 2560 rport->maxfrsize = be16_to_cpu(plogi->csp.rxsz); in bfa_fcs_rport_update() 2562 bfa_trc(port->fcs, be16_to_cpu(plogi->csp.bbcred)); in bfa_fcs_rport_update() 2573 (be16_to_cpu(plogi->csp.bbcred) < port->fabric->bb_credit)) { in bfa_fcs_rport_update() 2575 bfa_trc(port->fcs, be16_to_cpu(plogi->csp.bbcred)); in bfa_fcs_rport_update() 2578 port->fabric->bb_credit = be16_to_cpu(plogi->csp.bbcred); in bfa_fcs_rport_update() 3430 num_ents = be16_to_cpu(rpsc2_acc->num_pids); in bfa_fcs_rpf_rpsc2_response() [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | sysfs.c | 625 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[0]), in show_sys_image_guid() 626 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[1]), in show_sys_image_guid() 627 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[2]), in show_sys_image_guid() 628 be16_to_cpu(((__be16 *) &attr.sys_image_guid)[3])); in show_sys_image_guid() 637 be16_to_cpu(((__be16 *) &dev->node_guid)[0]), in show_node_guid() 638 be16_to_cpu(((__be16 *) &dev->node_guid)[1]), in show_node_guid() 639 be16_to_cpu(((__be16 *) &dev->node_guid)[2]), in show_node_guid() 640 be16_to_cpu(((__be16 *) &dev->node_guid)[3])); in show_node_guid()
|
D | multicast.c | 402 be16_to_cpu(group->rec.pkey), &pkey_index); in process_group_error() 530 be16_to_cpu(rec->pkey), &pkey_index); in join_handler() 738 ah_attr->dlid = be16_to_cpu(rec->mlid); in ib_init_ah_from_mcmember()
|
/linux-4.4.14/drivers/input/misc/ |
D | mpu3050.c | 163 coords->x = be16_to_cpu(buffer[0]); in mpu3050_read_xyz() 164 coords->y = be16_to_cpu(buffer[1]); in mpu3050_read_xyz() 165 coords->z = be16_to_cpu(buffer[2]); in mpu3050_read_xyz()
|
D | ad714x-i2c.c | 68 data[i] = be16_to_cpu(chip->xfer_buf[i]); in ad714x_i2c_read()
|
D | ad714x-spi.c | 60 data[i] = be16_to_cpu(chip->xfer_buf[i + 1]); in ad714x_spi_read()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-camera.c | 129 id = be16_to_cpu(id_be); in em28xx_probe_sensor_micron() 145 if (id != be16_to_cpu(id_be)) in em28xx_probe_sensor_micron() 148 id = be16_to_cpu(id_be); in em28xx_probe_sensor_micron()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | libfdt_env.h | 12 #define fdt16_to_cpu(x) be16_to_cpu(x)
|
/linux-4.4.14/drivers/iio/accel/ |
D | mma9551_core.c | 307 *val = be16_to_cpu(v); in mma9551_read_config_word() 365 *val = be16_to_cpu(v); in mma9551_read_status_word() 404 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_config_words() 443 buf[i] = be16_to_cpu(be_buf[i]); in mma9551_read_status_words()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | htc_hst.c | 94 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 117 service_id = be16_to_cpu(svc_rspmsg->service_id); in htc_process_conn_rsp() 118 max_msglen = be16_to_cpu(svc_rspmsg->max_msg_len); in htc_process_conn_rsp() 439 switch (be16_to_cpu(*msg_id)) { in ath9k_htc_rx_msg()
|
D | wmi.c | 157 cmd_id = be16_to_cpu(hdr->command_id); in ath9k_wmi_event_tasklet() 218 cmd_id = be16_to_cpu(hdr->command_id); in ath9k_wmi_ctrl_rx() 230 if (be16_to_cpu(hdr->seq_no) != wmi->last_seq_id) { in ath9k_wmi_ctrl_rx()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1033 gfar_set_attribute(be16_to_cpu(value->pdst), in gfar_set_basic_ip() 1034 be16_to_cpu(mask->pdst), in gfar_set_basic_ip() 1036 gfar_set_attribute(be16_to_cpu(value->psrc), in gfar_set_basic_ip() 1037 be16_to_cpu(mask->psrc), in gfar_set_basic_ip() 1124 gfar_set_attribute(be16_to_cpu(value->h_proto), in gfar_set_ether() 1125 be16_to_cpu(mask->h_proto), in gfar_set_ether() 1131 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid() 1136 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm() 1141 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi() 1146 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim() [all …]
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_ddcb.c | 191 be16_to_cpu(pddcb->retc_16), in print_ddcb_info() 192 be16_to_cpu(pddcb->seqnum_16), in print_ddcb_info() 345 req->cmd.vcrc = be16_to_cpu(pddcb->vcrc_16); in copy_ddcb_results() 349 req->cmd.attn = be16_to_cpu(pddcb->attn_16); in copy_ddcb_results() 351 req->cmd.retc = be16_to_cpu(pddcb->retc_16); in copy_ddcb_results() 411 retc_16 = be16_to_cpu(pddcb->retc_16); in genwqe_check_ddcb_queue() 421 __func__, be16_to_cpu(pddcb->seqnum_16), in genwqe_check_ddcb_queue() 438 vcrc_16 = be16_to_cpu(pddcb->vcrc_16); in genwqe_check_ddcb_queue()
|
D | card_debugfs.c | 293 i, be16_to_cpu(pddcb->retc_16), in genwqe_ddcb_info_show() 294 be16_to_cpu(pddcb->seqnum_16), in genwqe_ddcb_info_show()
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
D | ics-opal.c | 130 server = be16_to_cpu(oserver); in ics_opal_set_affinity() 224 return ics_opal_unmangle_server(be16_to_cpu(server)); in ics_opal_get_server()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 118 u16 lid = be16_to_cpu(pinfo->lid); in smp_snoop() 122 be16_to_cpu(pinfo->sm_lid), in smp_snoop() 206 u16 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad()
|
/linux-4.4.14/security/apparmor/ |
D | match.c | 49 th.td_id = be16_to_cpu(*(u16 *) (blob)) - 1; in unpack_table() 50 th.td_flags = be16_to_cpu(*(u16 *) (blob + 2)); in unpack_table() 70 u16, be16_to_cpu); in unpack_table()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_ud.c | 508 (be16_to_cpu(hdr->lrh[0]) >> 12) != 15)) || in ipath_ud_rcv() 511 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15)))) { in ipath_ud_rcv() 564 wc.slid = be16_to_cpu(hdr->lrh[3]); in ipath_ud_rcv() 565 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF; in ipath_ud_rcv() 566 dlid = be16_to_cpu(hdr->lrh[1]); in ipath_ud_rcv()
|
D | ipath_mad.c | 443 dev->mkey_lease_period = be16_to_cpu(pip->mkey_lease_period); in recv_subn_set_portinfo() 445 lid = be16_to_cpu(pip->lid); in recv_subn_set_portinfo() 456 smlid = be16_to_cpu(pip->sm_lid); in recv_subn_set_portinfo() 791 q[i] = be16_to_cpu(p[i]); in recv_subn_set_pkeytable() 909 dev->pma_tag = be16_to_cpu(p->tag); in recv_pma_set_portsamplescontrol()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_fs.c | 52 be16_to_cpu(((__be16 *) gid->raw)[i])); in format_gid() 222 be16_to_cpu(path.pathrec.dlid), in ipoib_path_seq_show()
|
D | ipoib_multicast.c | 260 ret = ipoib_mcast_attach(dev, be16_to_cpu(mcast->mcmember.mlid), in ipoib_mcast_join_finish() 273 .dlid = be16_to_cpu(mcast->mcmember.mlid), in ipoib_mcast_join_finish() 301 be16_to_cpu(mcast->mcmember.mlid), in ipoib_mcast_join_finish() 707 be16_to_cpu(mcast->mcmember.mlid)); in ipoib_mcast_leave()
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | gdm_endian.c | 38 return be16_to_cpu(x); in gdm_dev16_to_cpu()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | tcp.c | 90 be16_to_cpu(__hdr->magic), be16_to_cpu(__hdr->data_len), \ 91 be16_to_cpu(__hdr->msg_type), be32_to_cpu(__hdr->status), \ 1196 switch(be16_to_cpu(hdr->magic)) { in o2net_process_message() 1221 nmh = o2net_handler_get(be16_to_cpu(hdr->msg_type), in o2net_process_message() 1225 be16_to_cpu(hdr->msg_type), be32_to_cpu(hdr->key)); in o2net_process_message() 1232 if (be16_to_cpu(hdr->data_len) > nmh->nh_max_len) in o2net_process_message() 1240 sc->sc_msg_type = be16_to_cpu(hdr->msg_type); in o2net_process_message() 1242 be16_to_cpu(hdr->data_len), in o2net_process_message() 1388 if (be16_to_cpu(hdr->data_len) > in o2net_advance_rx() 1408 if (sc->sc_page_off - sizeof(struct o2net_msg) < be16_to_cpu(hdr->data_len)) { in o2net_advance_rx() [all …]
|
/linux-4.4.14/drivers/media/radio/wl128x/ |
D | fmdrv_rx.c | 119 curr_frq = be16_to_cpu((__force __be16)curr_frq); in fm_rx_set_freq() 192 curr_frq = be16_to_cpu((__force __be16)curr_frq); in fm_rx_seek() 288 curr_frq = be16_to_cpu((__force __be16)curr_frq); in fm_rx_seek() 534 *rssilvl = be16_to_cpu(curr_rssi_lel); in fm_rx_get_rssi_level() 625 *mode = be16_to_cpu(curr_mode); in fm_rx_get_stereo_mono()
|
D | fmdrv_common.c | 598 fmdev->irq_info.flag = be16_to_cpu((__force __be16)fmdev->irq_info.flag); in fm_irq_handle_flag_getcmd_resp() 764 cur_picode = be16_to_cpu((__force __be16)rds_fmt.data.groupgeneral.pidata); in fm_irq_handle_rdsdata_getcmd_resp() 989 read_freq = be16_to_cpu((__force __be16)read_freq); in fm_irq_afjump_rd_freq_resp() 1354 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1357 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up() 1366 be16_to_cpu(asic_id), be16_to_cpu(asic_ver)); in fm_power_up()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842.c | 155 if (s > be16_to_cpu(hdr->group[0].padding)) { in nx842_crypto_add_header() 355 u16 padding = be16_to_cpu(g->padding); in decompress() 470 if (be16_to_cpu(hdr->magic) != NX842_CRYPTO_MAGIC) { in nx842_crypto_decompress() 508 ignore = be16_to_cpu(hdr->ignore); in nx842_crypto_decompress()
|
/linux-4.4.14/fs/isofs/ |
D | joliet.c | 27 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | rtas.h | 292 return be16_to_cpu(sect->id); in pseries_errorlog_id() 298 return be16_to_cpu(sect->length); in pseries_errorlog_length()
|
/linux-4.4.14/drivers/net/ethernet/adaptec/ |
D | starfire.c | 974 writew(be16_to_cpu(eaddrs[2]), setup_frm); setup_frm += 4; in netdev_open() 975 writew(be16_to_cpu(eaddrs[1]), setup_frm); setup_frm += 4; in netdev_open() 976 writew(be16_to_cpu(eaddrs[0]), setup_frm); setup_frm += 8; in netdev_open() 1763 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 4; in set_rx_mode() 1764 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4; in set_rx_mode() 1765 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 8; in set_rx_mode() 1770 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 4; in set_rx_mode() 1771 writew(be16_to_cpu(eaddrs[1]), filter_addr); filter_addr += 4; in set_rx_mode() 1772 writew(be16_to_cpu(eaddrs[2]), filter_addr); filter_addr += 8; in set_rx_mode() 1794 writew(be16_to_cpu(eaddrs[0]), filter_addr); filter_addr += 4; in set_rx_mode() [all …]
|
/linux-4.4.14/net/sched/ |
D | em_cmp.c | 44 val = be16_to_cpu(val); in em_cmp_match()
|
/linux-4.4.14/lib/ |
D | iomap.c | 67 #define mmio_read16be(addr) be16_to_cpu(__raw_readw(addr)) 108 #define mmio_write16be(val,port) __raw_writew(be16_to_cpu(val),port)
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mad.c | 75 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE); in mlx5_ib_process_mad() 138 packet_error = be16_to_cpu(out_mad->status); in mlx5_query_ext_port_caps() 306 *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]); in mlx5_query_mad_ifc_pkey()
|
D | cq.c | 191 wqe_ctr = be16_to_cpu(cqe->wqe_counter); in handle_responder() 225 wc->slid = be16_to_cpu(cqe->slid); in handle_responder() 381 u16 syndrome = be16_to_cpu(cqe->syndrome); in get_sig_err_item() 475 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 503 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 512 wqe_ctr = be16_to_cpu(cqe64->wqe_counter); in mlx5_poll_one() 897 mlx5_ib_free_srq_wqe(srq, be16_to_cpu(cqe64->wqe_counter)); in __mlx5_ib_cq_clean()
|
D | ah.c | 81 ah_attr->dlid = be16_to_cpu(ah->av.rlid); in mlx5_ib_query_ah()
|
D | srq.c | 384 srq_attr->srq_limit = be16_to_cpu(out->ctx.lwm); in mlx5_ib_query_srq() 454 srq->head = be16_to_cpu(next->next_wqe_index); in mlx5_ib_post_srq_recv()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | vtbl.c | 186 name_len = be16_to_cpu(vtbl[i].name_len); in vtbl_check() 266 int len1 = be16_to_cpu(vtbl[i].name_len); in vtbl_check() 267 int len2 = be16_to_cpu(vtbl[n].name_len); in vtbl_check() 554 vol->name_len = be16_to_cpu(vtbl[i].name_len); in init_volumes()
|
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 545 *val = sign_extend32(be16_to_cpu(dat), 13); in ad5933_read_raw() 672 val[0] = be16_to_cpu(buf[0]); in ad5933_work() 673 val[1] = be16_to_cpu(buf[1]); in ad5933_work() 675 val[0] = be16_to_cpu(buf[0]); in ad5933_work()
|
/linux-4.4.14/drivers/staging/iio/adc/ |
D | ad7606_spi.c | 33 data[i] = be16_to_cpu(data[i]); in ad7606_spi_read_block()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | vicam.c | 258 memcpy(firmware_buf, rec->data, be16_to_cpu(rec->len)); in sd_init() 260 be16_to_cpu(rec->len)); in sd_init()
|
/linux-4.4.14/drivers/atm/ |
D | ambassador.c | 473 u16 vc = be16_to_cpu (rx->vc); in rx_complete() 475 u16 status = be16_to_cpu (rx->status); in rx_complete() 476 u16 rx_len = be16_to_cpu (rx->length); in rx_complete() 1822 tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4); in loader_write() 1823 memcpy(tb->data, rec->data, be16_to_cpu(rec->len)); in loader_write() 1838 tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4); in loader_verify() 1840 if (!res && memcmp(tb->data, rec->data, be16_to_cpu(rec->len))) in loader_verify() 1939 if (be16_to_cpu(rec->len) != sizeof(__be32) || be32_to_cpu(rec->addr)) { in ucode_init() 1951 be16_to_cpu(rec->len)); in ucode_init() 1952 if (be16_to_cpu(rec->len) > 4 * MAX_TRANSFER_DATA) { in ucode_init() [all …]
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 488 if (be16_to_cpu(crq->len) <= 0) { in ibmvtpm_crq_process() 492 ibmvtpm->rtce_size = be16_to_cpu(crq->len); in ibmvtpm_crq_process() 517 ibmvtpm->res_len = be16_to_cpu(crq->len); in ibmvtpm_crq_process()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 225 if (cmdcode == be16_to_cpu(SLI_CTNS_GID_FT) || in lpfc_alloc_ct_rsp() 226 cmdcode == be16_to_cpu(SLI_CTNS_GFF_ID)) in lpfc_alloc_ct_rsp() 650 be16_to_cpu(SLI_CT_RESPONSE_FS_RJT)) { in lpfc_cmpl_ct_cmd_gid_ft() 756 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gff_id() 877 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> in lpfc_cmpl_ct() 939 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rft_id() 960 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rnn_id() 981 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rspn_id() 1002 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rsnn_nn() 1035 be16_to_cpu(SLI_CT_RESPONSE_FS_ACC)) in lpfc_cmpl_ct_cmd_rff_id() [all …]
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | chipone_icn8318.c | 127 x = be16_to_cpu(touch->x); in icn8318_irq() 128 y = be16_to_cpu(touch->y); in icn8318_irq()
|
D | cyttsp_core.c | 331 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata() 332 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata()
|
/linux-4.4.14/arch/parisc/lib/ |
D | checksum.c | 50 result = be16_to_cpu(*buff); in do_csum()
|
/linux-4.4.14/arch/m68k/mvme147/ |
D | config.c | 58 uint16_t tag = be16_to_cpu(bi->tag); in mvme147_parse_bootinfo()
|
/linux-4.4.14/arch/m68k/amiga/ |
D | config.c | 150 switch (be16_to_cpu(record->tag)) { in amiga_parse_bootinfo() 181 dev->slotaddr = be16_to_cpu(cd->cd_SlotAddr); in amiga_parse_bootinfo() 182 dev->slotsize = be16_to_cpu(cd->cd_SlotSize); in amiga_parse_bootinfo()
|
D | platform.c | 72 if (be16_to_cpu(rom->er_Manufacturer) == ZORRO_MANUF(id) && in z_dev_present()
|
/linux-4.4.14/drivers/iio/adc/ |
D | ad7298.c | 184 return be16_to_cpu(st->rx_buf[0]); in ad7298_scan_direct() 211 *val = sign_extend32(be16_to_cpu(buf), 11); in ad7298_scan_temp()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 304 pi->rss_size = FW_VI_CMD_RSSSIZE_G(be16_to_cpu(vi_rpl.rsssize_pkd)); in t4vf_port_init() 332 init_link_config(&pi->link_cfg, be16_to_cpu(port_rpl.u.info.pcap)); in t4vf_port_init() 1043 return FW_VI_CMD_VIID_G(be16_to_cpu(rpl.type_viid)); in t4vf_alloc_vi() 1234 be16_to_cpu(p->valid_to_idx)); in t4vf_alloc_mac_filt() 1309 ret = FW_VI_MAC_CMD_IDX_G(be16_to_cpu(p->valid_to_idx)); in t4vf_change_mac() 1552 be16_to_cpu(port_cmd->u.info.pcap); in t4vf_handle_fw_rpl()
|
D | sge.c | 413 int hw_cidx = be16_to_cpu(tq->stat->cidx); in reclaimable() 1592 be16_to_cpu(pkt->vlan)); in do_gro() 1664 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(pkt->vlan)); in t4vf_ethrx_handler() 2326 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq() 2331 rspq->abs_id = be16_to_cpu(rpl.physiqid); in t4vf_sge_alloc_rxq() 2341 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 274 be16_to_cpu( in cxgb4_dcb_handle_fw_update() 345 .protocol = be16_to_cpu(fwap->protocolid), in cxgb4_dcb_handle_fw_update() 371 ap->protocolid = be16_to_cpu(fwap->protocolid); in cxgb4_dcb_handle_fw_update() 789 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp() 840 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp() 1150 be16_to_cpu(pcmd.u.dcb.app_priority.protocolid); in cxgb4_getpeerapp_tbl()
|
/linux-4.4.14/fs/ufs/ |
D | swab.h | 85 return be16_to_cpu((__force __be16)n); in fs16_to_cpu()
|
/linux-4.4.14/drivers/hwmon/ |
D | ad7314.c | 54 return be16_to_cpu(chip->rx); in ad7314_spi_read()
|
D | mcp3021.c | 70 reg = be16_to_cpu(buf); in mcp3021_read16()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | unaligned-sh4a.h | 80 return be16_to_cpu(sh4a_get_unaligned_cpu16(p)); in get_unaligned_be16()
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvsi_lib.c | 71 switch (be16_to_cpu(pkt->verb)) { in hvsi_got_control() 89 if (be16_to_cpu(pkt->verb) != VSV_SEND_VERSION_NUMBER) in hvsi_got_query()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 280 emsg.version = be16_to_cpu(emsg_be->version); in brcmf_fweh_event_worker() 281 emsg.flags = be16_to_cpu(emsg_be->flags); in brcmf_fweh_event_worker()
|
/linux-4.4.14/lib/842/ |
D | 842_decompress.c | 69 ((s) == 2 ? be16_to_cpu(get_unaligned((__be16 *)d)) : \ 121 *d = be16_to_cpu(get_unaligned((__be16 *)in)) >> (16 - bits); in next_bits()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | nvram_64.c | 532 if (be16_to_cpu(oops_hdr->version) < OOPS_HDR_VERSION) { in nvram_pstore_read() 535 length = be16_to_cpu(oops_hdr->version); in nvram_pstore_read() 540 length = be16_to_cpu(oops_hdr->report_length); in nvram_pstore_read() 1190 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()
|
/linux-4.4.14/fs/qnx6/ |
D | qnx6.h | 114 return be16_to_cpu((__force __be16)n); in fs16_to_cpu()
|
/linux-4.4.14/drivers/net/ethernet/qualcomm/ |
D | qca_7k.c | 82 *result = be16_to_cpu(rx_data); in qcaspi_read_register()
|
/linux-4.4.14/arch/sh/kernel/ |
D | iomap.c | 28 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
|
/linux-4.4.14/drivers/iio/light/ |
D | vcnl4000.c | 88 *val = be16_to_cpu(buf); in vcnl4000_measure()
|
D | stk3310.c | 224 *val = be16_to_cpu(buf); in stk3310_read_event() 332 *val = be16_to_cpu(buf); in stk3310_read_raw()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_krb5_unseal.c | 161 if (be16_to_cpu(*((__be16 *)ptr)) != KG2_TOK_MIC) in gss_verify_mic_v2()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | io.h | 487 #define ioread16be(addr) be16_to_cpu(ioread16(addr)) 489 #define iowrite16be(v, addr) iowrite16(be16_to_cpu(v), (addr))
|
/linux-4.4.14/drivers/scsi/ |
D | eata_pio.c | 625 …A_valid, gc->scsi_id[3], gc->scsi_id[2], gc->scsi_id[1], be16_to_cpu(gc->queuesiz), be16_to_cpu(gc… in print_pio_config() 683 size = sizeof(hostdata) + (sizeof(struct eata_ccb) * be16_to_cpu(gc->queuesiz)); in register_pio_HBA() 708 memset(hd->ccb, 0, (sizeof(struct eata_ccb) * be16_to_cpu(gc->queuesiz))); in register_pio_HBA()
|
/linux-4.4.14/arch/mips/lib/ |
D | iomap.c | 44 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
|
/linux-4.4.14/net/nfc/ |
D | llcp_commands.c | 57 return be16_to_cpu(*((__be16 *)(tlv + 2))); in llcp_tlv16() 422 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_connect() 479 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_cc()
|
D | llcp_sock.c | 332 miux = be16_to_cpu(llcp_sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_getsockopt() 333 be16_to_cpu(local->miux) : be16_to_cpu(llcp_sock->miux); in nfc_llcp_getsockopt()
|
/linux-4.4.14/drivers/iio/gyro/ |
D | adis16080.c | 70 *val = sign_extend32(be16_to_cpu(st->buf), 11); in adis16080_read_sample()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | io.h | 37 #define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; })
|
/linux-4.4.14/drivers/mtd/maps/ |
D | ixp4xx.c | 61 return be16_to_cpu(__raw_readw((void __iomem *)((unsigned long)addr ^ 0x2))); in flash_read16()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | io.h | 186 #define ioread16be(addr) be16_to_cpu(readw(addr))
|
/linux-4.4.14/arch/arm/include/asm/ |
D | kvm_emulate.h | 217 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()
|
/linux-4.4.14/drivers/usb/storage/ |
D | ene_ub6250.c | 940 (be16_to_cpu(SysInfo->wPageSize) != MS_SYSINF_PAGE_SIZE) || in ms_lib_process_bootblock() 960 info->MS_Lib.blockSize = be16_to_cpu(SysInfo->wBlockSize); in ms_lib_process_bootblock() 961 info->MS_Lib.NumberOfPhyBlock = be16_to_cpu(SysInfo->wBlockNumber); in ms_lib_process_bootblock() 962 info->MS_Lib.NumberOfLogBlock = be16_to_cpu(SysInfo->wTotalBlockNumber)-2; in ms_lib_process_bootblock() 965 info->MS_Model = be16_to_cpu(SysInfo->wMemorySize); in ms_lib_process_bootblock() 1015 phyblk = be16_to_cpu(*(u16 *)(PageBuffer + (EntryOffset % MS_BYTES_PER_PAGE))); in ms_lib_process_bootblock() 1218 blk = be16_to_cpu(PageBuf[index]); in ms_lib_check_disableblock() 1994 (be16_to_cpu(((struct ms_bootblock_page0 *)PageBuffer0)->header.wBlockID) != MS_BOOT_BLOCK_ID) || in ms_card_init() 1995 …(be16_to_cpu(((struct ms_bootblock_page0 *)PageBuffer0)->header.wFormatVersion) != MS_BOOT_BLOCK_F… in ms_card_init()
|
/linux-4.4.14/drivers/usb/atm/ |
D | ueagle-atm.c | 2076 be16_to_cpu(cmv->wGroup), be16_to_cpu(cmv->wFunction), in uea_dispatch_cmv_e4() 2077 be16_to_cpu(cmv->wOffset), be16_to_cpu(cmv->wAddress), in uea_dispatch_cmv_e4() 2080 if (be16_to_cpu(cmv->wFunction) != dsc->function) in uea_dispatch_cmv_e4() 2083 if (be16_to_cpu(cmv->wFunction) == E4_MAKEFUNCTION(E4_ADSLDIRECTIVE, in uea_dispatch_cmv_e4() 2091 if (be16_to_cpu(cmv->wOffset) != dsc->offset || in uea_dispatch_cmv_e4() 2092 be16_to_cpu(cmv->wGroup) != dsc->group || in uea_dispatch_cmv_e4() 2093 be16_to_cpu(cmv->wAddress) != dsc->address) in uea_dispatch_cmv_e4()
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart_hwdep.c | 116 for( i=0; i < be16_to_cpu(elf_header->e_phnum); i++ ) { in mixart_load_elf() 117 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | gdm_wimax.c | 547 *L = be16_to_cpu(__U82U16(&buf[2])); in gdm_wimax_hci_get_tlv() 638 be16_to_cpu(hci->cmd_evt)); in gdm_wimax_transmit_aggr_pkt() 642 length = be16_to_cpu(hci->length); in gdm_wimax_transmit_aggr_pkt()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 689 length_for_csum = (be16_to_cpu(iph->tot_len) - (iph->ihl << 2)); in get_fixed_ipv4_csum() 911 u16 vid = be16_to_cpu(cqe->sl_vid); in mlx4_en_process_rx_cq() 919 be16_to_cpu(cqe->sl_vid)); in mlx4_en_process_rx_cq() 980 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(cqe->sl_vid)); in mlx4_en_process_rx_cq() 985 be16_to_cpu(cqe->sl_vid)); in mlx4_en_process_rx_cq()
|
D | en_clock.c | 55 lo = (u64)be16_to_cpu(ts_cqe->timestamp_lo); in mlx4_en_get_cqe_ts()
|
/linux-4.4.14/arch/m68k/apollo/ |
D | config.c | 54 switch (be16_to_cpu(record->tag)) { in apollo_parse_bootinfo()
|
/linux-4.4.14/drivers/zorro/ |
D | zorro.c | 165 z->id = (be16_to_cpu(z->rom.er_Manufacturer) << 16) | in amiga_zorro_probe()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | kvm_emulate.h | 250 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()
|
D | io.h | 179 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; …
|
/linux-4.4.14/fs/affs/ |
D | inode.c | 74 id = be16_to_cpu(tail->uid); in affs_iget() 82 id = be16_to_cpu(tail->gid); in affs_iget()
|
/linux-4.4.14/drivers/cdrom/ |
D | cdrom.c | 391 buflen = be16_to_cpu(di->disc_information_length) + in cdrom_get_disc_info() 462 if (be16_to_cpu(mfd->feature_code) != CDF_MRW) in cdrom_is_mrw() 571 offset = be16_to_cpu(mph->desc_length); in cdrom_mrw_set_lba_space() 572 size = be16_to_cpu(mph->mode_data_length) + 2; in cdrom_mrw_set_lba_space() 676 if (be16_to_cpu(eh->data_len) < sizeof(*med)) in cdrom_get_media_event() 725 if (be16_to_cpu(*feature_code) == CDF_HWDM) in cdrom_has_defect_mgt() 742 if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_is_random_writable() 854 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_ram_open_write() 2799 buflen = be16_to_cpu(ti->track_information_length) + in cdrom_get_track_info() 3105 offset = 8 + be16_to_cpu(*(__be16 *)(buffer + 6)); in mmc_ioctl_cdrom_volume()
|
/linux-4.4.14/drivers/nfc/ |
D | pn533.c | 99 #define PN533_EXT_FRAME_CHECKSUM(f) (f->data[be16_to_cpu(f->datalen)]) 631 checksum = pn533_ext_checksum(be16_to_cpu(eif->datalen)); in pn533_std_rx_frame_is_valid() 637 be16_to_cpu(eif->datalen)); in pn533_std_rx_frame_is_valid() 665 + be16_to_cpu(eif->datalen) + PN533_STD_FRAME_TAIL_LEN; in pn533_std_rx_frame_size() 1212 #define PN533_TYPE_A_SENS_RES_NFCID1(x) ((u8)((be16_to_cpu(x) & 0x00C0) >> 6)) 1213 #define PN533_TYPE_A_SENS_RES_SSD(x) ((u8)((be16_to_cpu(x) & 0x001F) >> 0)) 1214 #define PN533_TYPE_A_SENS_RES_PLATCONF(x) ((u8)((be16_to_cpu(x) & 0x0F00) >> 8)) 1282 nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); in pn533_target_found_type_a() 1377 nfc_tgt->sens_res = be16_to_cpu(tgt_jewel->sens_res); in pn533_target_found_jewel()
|
/linux-4.4.14/drivers/ata/ |
D | libata-zpodd.c | 77 if (be16_to_cpu(desc->feature_code) != 3) in zpodd_get_mech_type()
|
/linux-4.4.14/fs/sysv/ |
D | sysv.h | 226 return be16_to_cpu((__force __be16)n); in fs16_to_cpu()
|
/linux-4.4.14/arch/m68k/hp300/ |
D | config.c | 77 switch (be16_to_cpu(record->tag)) { in hp300_parse_bootinfo()
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_login.c | 240 conn->cid = be16_to_cpu(cid); in iscsi_login_set_conn_values() 513 (sess_p->tsih == be16_to_cpu(pdu->tsih))) { in iscsi_login_non_zero_tsih_s2() 1089 login->cid = be16_to_cpu(login_req->cid); in iscsit_get_login_rx() 1090 login->tsih = be16_to_cpu(login_req->tsih); in iscsit_get_login_rx()
|
/linux-4.4.14/arch/m68k/bvme6000/ |
D | config.c | 57 if (be16_to_cpu(bi->tag) == BI_VME_TYPE) in bvme6000_parse_bootinfo()
|
/linux-4.4.14/drivers/regulator/ |
D | ad5398.c | 49 *data = be16_to_cpu(val); in ad5398_read_reg()
|
/linux-4.4.14/drivers/nfc/microread/ |
D | microread.c | 502 be16_to_cpu(*(u16 *)&skb->data[MICROREAD_EMCF_A_ATQA]); in microread_target_discovered() 516 be16_to_cpu(*(u16 *)&skb->data[MICROREAD_EMCF_A3_ATQA]); in microread_target_discovered()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 82 tmp = be16_to_cpu(b[offset]); in __mlxsw_item_get16() 102 tmp = be16_to_cpu(b[offset]); in __mlxsw_item_set16()
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 361 if (be16_to_cpu(skb->protocol) != ETH_P_80211_RAW) { in p80211knetdev_hard_start_xmit() 372 if (be16_to_cpu(skb->protocol) == ETH_P_80211_RAW) { in p80211knetdev_hard_start_xmit()
|
/linux-4.4.14/fs/dlm/ |
D | dir.c | 116 namelen = be16_to_cpu(v); in dlm_recover_directory()
|