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

123

/linux-master/drivers/infiniband/core/
H A Dpacker.c43 case 2: return be16_to_cpup((__be16 *) (structure + offset));
/linux-master/net/mac80211/
H A Daes_ccm.h26 be16_to_cpup((__be16 *)aad),
36 be16_to_cpup((__be16 *)aad),
H A Daes_gcm.h18 be16_to_cpup((__be16 *)aad),
27 be16_to_cpup((__be16 *)aad),
/linux-master/tools/testing/selftests/powerpc/vphn/
H A Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x) macro
15 #define be16_to_cpup(x) (*x) macro
/linux-master/arch/m68k/kernel/
H A Dsetup_mm.c155 u16 len = be16_to_cpup(data);
/linux-master/arch/powerpc/perf/
H A Dhv-24x7.c96 int ntypes = be16_to_cpup((__be16 *)&buf->val[0]);
100 phys_sockets = be16_to_cpup((__be16 *)&buf->val[2]);
101 phys_chipspersocket = be16_to_cpup((__be16 *)&buf->val[4]);
102 phys_coresperchip = be16_to_cpup((__be16 *)&buf->val[6]);
/linux-master/arch/powerpc/platforms/pseries/
H A Dvphn.c42 u16 new = be16_to_cpup(field++);
/linux-master/drivers/firewire/
H A Dnet.c761 length = be16_to_cpup(hdr_ptr);
/linux-master/drivers/fsi/
H A Dfsi-master-ast-cf.c855 sig = be16_to_cpup((__be16 *)(data + HDR_OFFSET + HDR_SYS_SIG));
/linux-master/drivers/hid/
H A Dwacom_wac.c581 input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[4]));
582 input_report_abs(input, ABS_Y, be16_to_cpup((__be16 *)&data[6]));
583 input_report_abs(input, ABS_Z, be16_to_cpup((__be16 *)&data[8]));
938 x = (be16_to_cpup((__be16 *)&data[2]) << 1) | ((data[9] >> 1) & 1);
939 y = (be16_to_cpup((__be16 *)&data[4]) << 1) | (data[9] & 1);
/linux-master/drivers/hwmon/
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]));
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 Dibmaem.c406 *x = be16_to_cpup((__be16 *)rs_resp->bytes);
H A Dibmpex.c32 return be16_to_cpup((__be16 *)&data[offset]);
H A Dsht3x.c282 val = be16_to_cpup((__be16 *)buf);
284 val = be16_to_cpup((__be16 *)(buf + 3));
340 raw = be16_to_cpup((__be16 *)buffer);
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);
/linux-master/drivers/i2c/busses/
H A Di2c-highlander.c92 *dst++ = be16_to_cpup((__be16 *)src);
/linux-master/drivers/iio/accel/
H A Dsca3000.c740 *val = sign_extend32(be16_to_cpup((__be16 *)st->rx) >>
752 *val = (be16_to_cpup((__be16 *)st->rx) >>
/linux-master/drivers/iio/adc/
H A Dad7476.c126 return be16_to_cpup((__be16 *)st->data);
/linux-master/drivers/iio/chemical/
H A Dscd30_core.c62 *val = be16_to_cpup(&tmp);
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_accel.c188 *val = (int16_t)be16_to_cpup(data);
H A Dinv_icm42600_buffer.c473 st->fifo.count = be16_to_cpup(raw_fifo_count);
H A Dinv_icm42600_gyro.c188 *val = (int16_t)be16_to_cpup(data);
H A Dinv_icm42600_temp.c34 *temp = (int16_t)be16_to_cpup(raw);
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c588 *val = (short)be16_to_cpup(&d);

Completed in 320 milliseconds

123