Searched refs:be16_to_cpup (Results 1 - 25 of 73) sorted by relevance

123

/linux-master/net/mac80211/
H A Daes_gcm.h18 be16_to_cpup((__be16 *)aad),
27 be16_to_cpup((__be16 *)aad),
H A Daes_ccm.h26 be16_to_cpup((__be16 *)aad),
36 be16_to_cpup((__be16 *)aad),
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_temp.c34 *temp = (int16_t)be16_to_cpup(raw);
/linux-master/arch/powerpc/platforms/pseries/
H A Dvphn.c42 u16 new = be16_to_cpup(field++);
/linux-master/tools/testing/selftests/powerpc/vphn/
H A Dvphn.c42 u16 new = be16_to_cpup(field++);
H A Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x) macro
15 #define be16_to_cpup(x) (*x) macro
/linux-master/drivers/input/mouse/
H A Delan_i2c_smbus.c145 *value = be16_to_cpup((__be16 *)val);
201 *id = be16_to_cpup((__be16 *)val);
221 *csum = be16_to_cpup((__be16 *)val);
307 constant = be16_to_cpup((__be16 *)val);
395 password = be16_to_cpup((__be16 *)val);
463 result = be16_to_cpup((__be16 *)val);
H A Dsynaptics_usb.c110 x = (s16)(be16_to_cpup((__be16 *)&synusb->data[2]) << 3) >> 7;
111 y = (s16)(be16_to_cpup((__be16 *)&synusb->data[4]) << 3) >> 7;
133 x = be16_to_cpup((__be16 *)&synusb->data[2]);
134 y = be16_to_cpup((__be16 *)&synusb->data[4]);
/linux-master/drivers/iio/resolver/
H A Dad2s1200.c90 *val = be16_to_cpup(&st->rx) >> 4;
93 *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11);
/linux-master/drivers/input/touchscreen/
H A Dipaq-micro-ts.c33 be16_to_cpup((__be16 *) &msg[2]));
35 be16_to_cpup((__be16 *) &msg[0]));
H A Dcy8ctmg110_ts.c127 be16_to_cpup((__be16 *)(reg_p + 0)));
129 be16_to_cpup((__be16 *)(reg_p + 2)));
H A Dstmfts.c545 sdata->chip_id = be16_to_cpup((__be16 *)&reg[6]);
547 sdata->fw_ver = be16_to_cpup((__be16 *)&reg[2]);
/linux-master/drivers/hwmon/
H A Dhs3001.c94 hs3001_extract_humidity(be16_to_cpup((__be16 *)&buf[0]));
96 hs3001_extract_temperature(be16_to_cpup((__be16 *)&buf[2]));
H A Dshtc1.c123 val = be16_to_cpup((__be16 *)buf);
125 val = be16_to_cpup((__be16 *)(buf + 3));
219 id_reg = be16_to_cpup((__be16 *)id_reg_buf);
H A Dchipcap2.c316 *val = be16_to_cpup((__be16 *)&buf[1]);
356 *val = cc2_rh_convert(be16_to_cpup((__be16 *)&data[0]));
359 *val = cc2_temp_convert(be16_to_cpup((__be16 *)&data[2]));
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmad.c394 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28));
570 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16));
572 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18));
580 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46));
581 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48));
592 be16_to_cpup((__be16 *)(out_mad->data + 60));
/linux-master/include/linux/byteorder/
H A Dgeneric.h109 #define be16_to_cpup __be16_to_cpup macro
/linux-master/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c56 raw = be16_to_cpup((__le16 *)buf);
132 raw = be16_to_cpup((__le16 *)buf) >> 6;
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c176 ec = be16_to_cpup((__be16 *)(ptr + 4));
177 rrc = be16_to_cpup((__be16 *)(ptr + 6));
/linux-master/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c45 key = be16_to_cpup((__be16 *) &buf[4]);
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_ring.c96 fifo_count = be16_to_cpup((__be16 *)&st->data[0]);
/linux-master/drivers/input/tablet/
H A Dhanwang.c178 be16_to_cpup((__be16 *)&data[2]));
180 be16_to_cpup((__be16 *)&data[4]));
/linux-master/drivers/infiniband/core/
H A Dpacker.c43 case 2: return be16_to_cpup((__be16 *) (structure + offset));
/linux-master/sound/soc/codecs/
H A Dtas2781-fmwlib.c235 be16_to_cpup((__be16 *)&config_data[config_offset]);
581 fw_hdr->device_family = be16_to_cpup((__be16 *)&buf[offset]);
588 fw_hdr->device = be16_to_cpup((__be16 *)&buf[offset]);
702 unsigned short len = be16_to_cpup((__be16 *)&data[2]);
728 unsigned short len = be16_to_cpup((__be16 *)&data[2]);
769 sleep_time = be16_to_cpup((__be16 *)&data[2]) * 1000;
1042 img_data->nr_blk = be16_to_cpup((__be16 *)&data[offset]);
1079 tas_fmw->nr_programs = be16_to_cpup((__be16 *)&buf[offset]);
1146 tas_fmw->nr_configurations = be16_to_cpup((__be16 *)&data[offset]);
1831 tas_fmw->nr_calibrations = be16_to_cpup((__be1
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c84 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30));
144 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16));
146 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18));
154 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46));
155 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48));

Completed in 343 milliseconds

123