/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_desc.h | 109 #define GVE_SEQNO(x) (be16_to_cpu(x) & 0x7)
|
/linux-master/drivers/mtd/maps/ |
H A D | physmap-ixp4xx.c | 42 return be16_to_cpu(__raw_readw((void __iomem *)((unsigned long)addr ^ 0x2)));
|
/linux-master/fs/xfs/scrub/ |
H A D | readdir.c | 116 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 117 next_off = off + be16_to_cpu(dup->length); 229 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 230 length = be16_to_cpu(dup->length);
|
/linux-master/drivers/net/netdevsim/ |
H A D | udp_tunnels.c | 30 be16_to_cpu(ti->port) << 16 | ti->type; 53 u32 val = be16_to_cpu(ti->port) << 16 | ti->type; 84 be16_to_cpu(ti.port) << 16 | ti.type;
|
/linux-master/drivers/iio/adc/ |
H A D | ad7292.c | 98 return be16_to_cpu(st->d16); 114 return (be16_to_cpu(st->d16) >> shift); 144 return be16_to_cpu(st->d16);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_vxlan.c | 34 be16_to_cpu(enc_ports.key->dst))) { 39 be16_to_cpu(enc_ports.key->dst)); 66 int dst_port = be16_to_cpu(e->tun_info->key.tp_dst);
|
H A D | tc_tun_geneve.c | 37 if (be16_to_cpu(enc_ports.key->dst) != GENEVE_UDP_PORT) { 42 be16_to_cpu(enc_ports.key->dst)); 259 be16_to_cpu(option_key->opt_class),
|
/linux-master/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 274 entry->u.end.status = be16_to_cpu(vfc_cmd->status); 275 entry->u.end.error = be16_to_cpu(vfc_cmd->error); 282 entry->u.end.status = be16_to_cpu(mad->status); 350 err = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error)); 1797 int index = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error)); 1814 cmnd->cmnd[0], err, be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error), 1857 if (be16_to_cpu(vfc_cm [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_device.c | 347 u16 ox_id = be16_to_cpu(hdr->fh_ox_id); 579 efc_send_flogi_p2p_acc(node, be16_to_cpu(hdr->fh_ox_id), d_id); 607 efc_send_logo_acc(node, be16_to_cpu(hdr->fh_ox_id)); 635 efc_send_ls_rjt(node, be16_to_cpu(hdr->fh_ox_id), 750 efc_send_ls_rjt(node, be16_to_cpu(hdr->fh_ox_id), 1145 efc_send_ls_rjt(node, be16_to_cpu(hdr->fh_ox_id), 1151 efc_d_send_prli_rsp(node, be16_to_cpu(hdr->fh_ox_id)); 1248 efc_send_logo_acc(node, be16_to_cpu(hdr->fh_ox_id)); 1350 efc_send_ls_rjt(node, be16_to_cpu(hdr->fh_ox_id), 1356 efc_send_prli_acc(node, be16_to_cpu(hd [all...] |
/linux-master/drivers/net/phy/ |
H A D | sfp.c | 986 *value = be16_to_cpu(val); 1005 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), 1006 be16_to_cpu(sfp->diag.cal_t_offset), value); 1016 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), 1017 be16_to_cpu(sfp->diag.cal_v_offset), value); 1024 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), 1025 be16_to_cpu(sfp->diag.cal_txi_offset), value); 1032 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), 1033 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); 1113 *value = be16_to_cpu(sf [all...] |
/linux-master/drivers/iio/chemical/ |
H A D | sgp30.c | 357 *val2 = be16_to_cpu(words[1].value); 362 *val2 = be16_to_cpu(words[0].value); 392 *val = be16_to_cpu(words[1].value); 397 *val = be16_to_cpu(words[0].value); 529 data->feature_set = be16_to_cpu(data->buffer.raw_words[0].value);
|
/linux-master/drivers/ipack/ |
H A D | ipack.c | 331 dev->id_vendor = ((be16_to_cpu(id[3]) & 0xff) << 16) 332 + be16_to_cpu(id[4]); 333 dev->id_device = be16_to_cpu(id[5]); 334 flags = be16_to_cpu(id[10]); 338 dev->id_crc_correct = (crc == be16_to_cpu(id[12]));
|
/linux-master/fs/hfsplus/ |
H A D | catalog.c | 54 len = be16_to_cpu(key->cat.name.length); 73 ustrlen = be16_to_cpu(name->length); 190 return 10 + be16_to_cpu(entry->thread.nodeName.length) * 2; 206 type = be16_to_cpu(tmp.type); 212 if (be16_to_cpu(tmp.thread.nodeName.length) > 255) { 365 len = be16_to_cpu(fd.search_key->cat.name.length) * 2; 476 type = be16_to_cpu(entry.type);
|
/linux-master/drivers/net/dsa/ |
H A D | bcm_sf2_cfp.c | 276 reg = udf_lower_bits(num_udf) << 24 | be16_to_cpu(vlan_tci) >> 8; 286 reg = (u32)(be16_to_cpu(vlan_tci) & 0xff) << 24; 297 reg = be16_to_cpu(ports->dst) >> 8; 308 reg = (be16_to_cpu(ports->dst) & 0xff) << 24 | 309 (u32)be16_to_cpu(ports->src) << 8 | 494 reg = udf_bits << 24 | be16_to_cpu(vlan_tci) >> 8; 505 val = (u32)be16_to_cpu(port) << 8 | ((reg >> 8) & 0xff); 506 val |= (u32)(be16_to_cpu(vlan_tci) & 0xff) << 24; 883 if ((be16_to_cpu(fs->m_ext.vlan_tci) & VLAN_VID_MASK) != 887 vid = be16_to_cpu(f [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | eeh-powernv.c | 550 if (be16_to_cpu(pcierr) != OPAL_EEH_PHB_ERROR) { 1296 switch (be16_to_cpu(data->type)) { 1443 if (be16_to_cpu(err_type) == OPAL_EEH_NO_ERROR || 1444 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { 1456 __func__, be16_to_cpu(err_type), 1457 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), 1459 switch (be16_to_cpu(err_type)) { 1461 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { 1464 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { 1473 if (be16_to_cpu(severit [all...] |
H A D | opal-prd.c | 198 size = be16_to_cpu(item->msg.header.size); 240 size = be16_to_cpu(hdr.size); 357 msg_size = be16_to_cpu(hdr->size);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_leaf.c | 46 to->magic = be16_to_cpu(from3->hdr.info.hdr.magic); 47 to->count = be16_to_cpu(from3->hdr.count); 48 to->stale = be16_to_cpu(from3->hdr.stale); 56 to->magic = be16_to_cpu(from->hdr.info.magic); 57 to->count = be16_to_cpu(from->hdr.count); 58 to->stale = be16_to_cpu(from->hdr.stale); 682 if (be16_to_cpu(bestsp[i]) >= length) { 698 else if (be16_to_cpu(bestsp[i]) >= length) { 852 ((char *)hdr + be16_to_cpu(bf[0].offset)); 889 if (be16_to_cpu(bests [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | icp10100.c | 152 dev_dbg(&st->client->dev, "sending cmd %#x\n", be16_to_cpu(cmd->cmd)); 214 st->cal[i] = be16_to_cpu(val); 231 id = ICP10100_ID_REG_GET(be16_to_cpu(val)); 264 *pressure = (be16_to_cpu(measures[0]) << 8) | 265 (be16_to_cpu(measures[1]) >> 8); 266 *temperature = be16_to_cpu(measures[2]);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vas.c | 600 caps->max_lpar_creds = be16_to_cpu(hv_caps->max_lpar_creds); 601 caps->max_win_creds = be16_to_cpu(hv_caps->max_win_creds); 603 be16_to_cpu(hv_caps->target_lpar_creds)); 605 caps->def_lpar_creds = be16_to_cpu(hv_caps->def_lpar_creds); 897 new_nr_creds = be16_to_cpu(hv_cop_caps.target_lpar_creds); 983 new_nr_creds = be16_to_cpu(hv_cop_caps.target_lpar_creds);
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 120 u16 lid = be16_to_cpu(pinfo->lid); 124 be16_to_cpu(pinfo->sm_lid), 205 u16 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE);
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 943 gfar_set_attribute(be16_to_cpu(value->pdst), 944 be16_to_cpu(mask->pdst), 946 gfar_set_attribute(be16_to_cpu(value->psrc), 947 be16_to_cpu(mask->psrc), 1034 gfar_set_attribute(be16_to_cpu(value->h_proto), 1035 be16_to_cpu(mask->h_proto), 1041 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; 1046 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; 1051 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; 1056 return be16_to_cpu(rul [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | wmi.c | 165 cmd_id = be16_to_cpu(hdr->command_id); 231 cmd_id = be16_to_cpu(hdr->command_id); 243 if (be16_to_cpu(hdr->seq_no) != wmi->last_seq_id) {
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 165 loffset = be16_to_cpu(tbl->offset); 166 lnum_entries = be16_to_cpu(tbl->num_entries); 221 loffset = be16_to_cpu(tbl->offset); 222 lnum_entries = be16_to_cpu(tbl->num_entries);
|
/linux-master/fs/efs/ |
H A D | namei.c | 42 if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) {
|
/linux-master/fs/qnx6/ |
H A D | qnx6.h | 115 return be16_to_cpu((__force __be16)n);
|