| /linux/drivers/input/mouse/ |
| H A D | elan_i2c_smbus.c | 145 *value = be16_to_cpup((__be16 *)val); in elan_smbus_get_baseline_data() 201 *id = be16_to_cpup((__be16 *)val); in elan_smbus_get_product_id() 221 *csum = be16_to_cpup((__be16 *)val); in elan_smbus_get_checksum() 307 constant = be16_to_cpup((__be16 *)val); in elan_smbus_iap_get_mode() 395 password = be16_to_cpup((__be16 *)val); in elan_smbus_prepare_fw_update() 463 result = be16_to_cpup((__be16 *)val); in elan_smbus_write_fw_block()
|
| /linux/net/mac80211/ |
| H A D | aes_gcm.h | 18 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_encrypt() 27 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_decrypt()
|
| H A D | aes_ccm.h | 26 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_encrypt() 36 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_decrypt()
|
| /linux/tools/testing/selftests/powerpc/vphn/ |
| H A D | test-vphn.c | 10 #define be16_to_cpup(x) bswap_16(*x) macro 15 #define be16_to_cpup(x) (*x) macro
|
| H A D | vphn.c | 42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
|
| /linux/drivers/hwmon/ |
| H A D | shtc1.c | 123 val = be16_to_cpup((__be16 *)buf); in shtc1_update_client() 125 val = be16_to_cpup((__be16 *)(buf + 3)); in shtc1_update_client() 217 id_reg = be16_to_cpup((__be16 *)id_reg_buf); in shtc1_probe()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 448 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys() 624 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port() 626 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port() 634 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); in mlx5_query_mad_ifc_port() 635 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); in mlx5_query_mad_ifc_port() 646 be16_to_cpup((__be16 *)(out_mad->data + 60)); in mlx5_query_mad_ifc_port()
|
| /linux/drivers/iio/resolver/ |
| H A D | ad2s1200.c | 89 *val = be16_to_cpup(&st->rx) >> 4; in ad2s1200_read_raw() 92 *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11); in ad2s1200_read_raw()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_wrap.c | 175 ec = be16_to_cpup((__be16 *)(ptr + 4)); in gss_krb5_unwrap_v2() 176 rrc = be16_to_cpup((__be16 *)(ptr + 6)); in gss_krb5_unwrap_v2()
|
| /linux/drivers/input/touchscreen/ |
| H A D | cy8ctmg110_ts.c | 127 be16_to_cpup((__be16 *)(reg_p + 0))); in cy8ctmg110_touch_pos() 129 be16_to_cpup((__be16 *)(reg_p + 2))); in cy8ctmg110_touch_pos()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | vphn.c | 42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_ad7417_sensor.c | 56 raw = be16_to_cpup((__le16 *)buf); in wf_ad7417_temp_get() 132 raw = be16_to_cpup((__le16 *)buf) >> 6; in wf_ad7417_adc_get()
|
| /linux/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_ring.c | 84 fifo_count = be16_to_cpup((__be16 *)&st->data[0]); in inv_mpu6050_read_fifo()
|
| /linux/drivers/input/tablet/ |
| H A D | hanwang.c | 178 be16_to_cpup((__be16 *)&data[2])); in hanwang_parse_packet() 180 be16_to_cpup((__be16 *)&data[4])); in hanwang_parse_packet()
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 87 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device() 147 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); in mthca_query_port() 149 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port() 157 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); in mthca_query_port() 158 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); in mthca_query_port()
|
| /linux/include/linux/byteorder/ |
| H A D | generic.h | 109 #define be16_to_cpup __be16_to_cpup macro
|
| /linux/drivers/infiniband/core/ |
| H A D | packer.c | 43 case 2: return be16_to_cpup((__be16 *) (structure + offset)); in value_read()
|
| /linux/arch/powerpc/perf/ |
| H A D | hv-24x7.c | 97 int ntypes = be16_to_cpup((__be16 *)&buf->val[0]); in read_24x7_sys_info() 101 phys_sockets = be16_to_cpup((__be16 *)&buf->val[2]); in read_24x7_sys_info() 102 phys_chipspersocket = be16_to_cpup((__be16 *)&buf->val[4]); in read_24x7_sys_info() 103 phys_coresperchip = be16_to_cpup((__be16 *)&buf->val[6]); in read_24x7_sys_info()
|
| /linux/drivers/net/usb/ |
| H A D | lg-vl600.c | 176 if (be16_to_cpup(ðhdr->h_proto) == ETH_P_ARP && in vl600_rx_fixup()
|
| /linux/drivers/iio/imu/inv_icm45600/ |
| H A D | inv_icm45600_core.c | 106 unsigned int reg = be16_to_cpup(reg_buf); in inv_icm45600_read() 119 unsigned int reg = be16_to_cpup(data); in inv_icm45600_write()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-highlander.c | 92 *dst++ = be16_to_cpup((__be16 *)src); in smbus_write_data()
|
| /linux/sound/soc/codecs/ |
| H A D | rtq9124.c | 392 *val = size == 4 ? be32_to_cpup(val_buf) : be16_to_cpup(val_buf); in rtq9124_regmap_read()
|
| /linux/drivers/iio/accel/ |
| H A D | sca3000.c | 726 *val = sign_extend32(be16_to_cpup((__be16 *)st->rx) >> in sca3000_read_raw() 738 *val = (be16_to_cpup((__be16 *)st->rx) >> in sca3000_read_raw()
|
| /linux/drivers/usb/host/ |
| H A D | ohci.h | 631 be16_to_cpup((__force __be16 *)x) : in hc16_to_cpup()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm2.c | 542 data_len = be16_to_cpup( in tpm2_unseal_cmd()
|