/linux-master/include/rdma/ |
H A D | opa_addr.h | 13 #define OPA_TO_IB_UCAST_LID(x) (((x) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) \ 61 be16_to_cpu(IB_MULTICAST_LID_BASE)) || 63 be16_to_cpu(IB_MULTICAST_LID_BASE))) 81 be16_to_cpu(IB_MULTICAST_LID_BASE))
|
/linux-master/block/partitions/ |
H A D | sun.c | 76 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { 78 state->disk->disk_name, be16_to_cpu(label->magic)); */ 96 (be16_to_cpu(label->vtoc.nparts) <= 8)); 99 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; 107 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); 118 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) 120 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK)
|
H A D | mac.c | 50 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) { 54 secsize = be16_to_cpu(md->block_size); 64 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) { 85 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC)
|
H A D | aix.c | 175 u16 lvm_version = be16_to_cpu(p->version); 179 int pp_size_log2 = be16_to_cpu(p->pp_size); 199 numlvs = be16_to_cpu(p->numlvs); 214 lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps); 224 int numpps = be16_to_cpu(pvd->pp_count); 235 lp_ix = be16_to_cpu(p->lp_ix); 240 lv_ix = be16_to_cpu(p->lv_ix) - 1;
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 171 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) 173 if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length)) 187 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 192 if (offset + be16_to_cpu(dup->length) > end) 194 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != 206 if (be16_to_cpu(dup->length) > 207 be16_to_cpu(bf[2].length)) 210 offset += be16_to_cpu(du [all...] |
H A D | xfs_attr_sf.h | 54 return (void *)sf + be16_to_cpu(sf->totsize);
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | pp_endian.h | 31 #define PP_SMC_TO_HOST_US(X) be16_to_cpu(X)
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2_tlv.h | 33 tlv_top = (void *) tlv + be16_to_cpu(tlv->len) - 1; 39 if (varsize && (be16_to_cpu(tlv->len) < payload_size)) 41 if (!varsize && (be16_to_cpu(tlv->len) != payload_size))
|
H A D | mlxfw_mfa2_tlv_multi.h | 40 be16_to_cpu(multi->num_extensions) + 1)
|
H A D | mlxfw_mfa2_tlv_multi.c | 10 NLA_ALIGN(sizeof(*(tlv)) + be16_to_cpu((tlv)->len)) 36 tlv_len = NLA_ALIGN(tlv_len + be16_to_cpu(multi->total_len));
|
/linux-master/include/linux/ |
H A D | ihex.h | 26 return be16_to_cpu(p->len) + sizeof(*p); 43 return be16_to_cpu(rec->len) ? rec : NULL; 56 if (rec == end && !be16_to_cpu(rec->len))
|
/linux-master/tools/perf/util/ |
H A D | s390-sample-raw.c | 56 ce.def = be16_to_cpu(cep->def); 57 ce.set = be16_to_cpu(cep->set); 58 ce.ctr = be16_to_cpu(cep->ctr); 59 ce.res1 = be16_to_cpu(cep->res1); 88 te.cfvn = be16_to_cpu(tep->cfvn); 89 te.csvn = be16_to_cpu(tep->csvn); 96 te.mach_type = be16_to_cpu(tep->mach_type); 97 te.res1 = be16_to_cpu(tep->res1); 191 ce.def = be16_to_cpu(cep->def); 192 ce.set = be16_to_cpu(ce [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | libfdt_env.h | 20 #define fdt16_to_cpu(x) be16_to_cpu(x)
|
H A D | of.h | 31 #define be16_to_cpu(x) swab16(x) macro 38 #define be16_to_cpu(x) (x) macro
|
/linux-master/arch/m68k/kernel/ |
H A D | bootinfo_proc.c | 39 while (be16_to_cpu(bi->tag) != BI_LAST) { 40 uint16_t n = be16_to_cpu(bi->size);
|
/linux-master/net/6lowpan/ |
H A D | debugfs.c | 105 be16_to_cpu(ctx->pfx.s6_addr16[0]), 106 be16_to_cpu(ctx->pfx.s6_addr16[1]), 107 be16_to_cpu(ctx->pfx.s6_addr16[2]), 108 be16_to_cpu(ctx->pfx.s6_addr16[3]), 109 be16_to_cpu(ctx->pfx.s6_addr16[4]), 110 be16_to_cpu(ctx->pfx.s6_addr16[5]), 111 be16_to_cpu(ctx->pfx.s6_addr16[6]), 112 be16_to_cpu(ctx->pfx.s6_addr16[7]));
|
/linux-master/fs/hfsplus/ |
H A D | unicode.c | 38 len1 = be16_to_cpu(s1->length); 39 len2 = be16_to_cpu(s2->length); 47 c1 = case_fold(be16_to_cpu(*p1)); 52 c2 = case_fold(be16_to_cpu(*p2)); 72 len1 = be16_to_cpu(s1->length); 73 len2 = be16_to_cpu(s2->length); 78 c1 = be16_to_cpu(*p1); 79 c2 = be16_to_cpu(*p2); 135 ustrlen = be16_to_cpu(ustr->length); 141 c0 = be16_to_cpu(*i [all...] |
/linux-master/drivers/usb/misc/ |
H A D | emi26.c | 113 rec->data, be16_to_cpu(rec->len), 135 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { 136 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); 137 i += be16_to_cpu(rec->len); 154 rec->data, be16_to_cpu(rec->len), 172 rec->data, be16_to_cpu(rec->len), 188 rec->data, be16_to_cpu(rec->len),
|
H A D | emi62.c | 120 rec->data, be16_to_cpu(rec->len), 142 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { 143 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); 144 i += be16_to_cpu(rec->len); 161 rec->data, be16_to_cpu(rec->len), 179 rec->data, be16_to_cpu(rec->len), 195 rec->data, be16_to_cpu(rec->len),
|
H A D | ezusb.c | 83 be16_to_cpu(record->len), WRITE_EXT_RAM); 89 be16_to_cpu(record->len)); 103 be16_to_cpu(record->len), WRITE_INT_RAM); 109 be16_to_cpu(record->len));
|
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg-hdr.c | 51 header->length = be16_to_cpu(*(__be16 *)(data + offset)); 55 header->frame_height = be16_to_cpu(*(__be16 *)(data + offset)); 57 header->frame_width = be16_to_cpu(*(__be16 *)(data + offset));
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.c | 63 if (be16_to_cpu(opal_fdm_active->registered_regions) == 0) 98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); 129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { 158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { 161 i = be16_to_cpu(fdm->registered_regions); 162 while (i < be16_to_cpu(fdm->region_cnt)) { 174 fadump_conf->boot_mem_regs_cnt = be16_to_cpu(fdm->region_cnt); 197 reg_cnt = be16_to_cpu(opal_fdm->region_cnt); 279 registered_regs = be16_to_cpu(opal_fd [all...] |
H A D | opal-power.c | 41 for (i = 0; i < be16_to_cpu(epow_classes); i++) { 42 epow = be16_to_cpu(opal_epow_status[i]);
|
/linux-master/fs/hfs/ |
H A D | extent.c | 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; 80 count = be16_to_cpu(ext->count); 82 return be16_to_cpu(ext->block) + off; 95 count += be16_to_cpu(ext->count); 107 return be16_to_cpu(ext->block) + be16_to_cpu(ext->count); 182 HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); 215 be16_to_cpu(extent[i].block), 216 be16_to_cpu(exten [all...] |
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_endian.c | 20 return be16_to_cpu((__force __be16)x);
|