/linux/drivers/input/mouse/ |
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()
|
A D | synaptics_usb.c | 110 x = (s16)(be16_to_cpup((__be16 *)&synusb->data[2]) << 3) >> 7; in synusb_report_stick() 111 y = (s16)(be16_to_cpup((__be16 *)&synusb->data[4]) << 3) >> 7; in synusb_report_stick() 133 x = be16_to_cpup((__be16 *)&synusb->data[2]); in synusb_report_touchpad() 134 y = be16_to_cpup((__be16 *)&synusb->data[4]); in synusb_report_touchpad()
|
/linux/net/mac80211/ |
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()
|
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()
|
/linux/tools/testing/selftests/powerpc/vphn/ |
A D | test-vphn.c | 10 #define be16_to_cpup(x) bswap_16(*x) macro 15 #define be16_to_cpup(x) (*x) macro
|
A D | vphn.c | 42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
|
/linux/drivers/hwmon/ |
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() 219 id_reg = be16_to_cpup((__be16 *)id_reg_buf); in shtc1_probe()
|
A D | sht3x.c | 244 val = be16_to_cpup((__be16 *)buf); in sht3x_update_client() 246 val = be16_to_cpup((__be16 *)(buf + 3)); in sht3x_update_client() 305 raw = be16_to_cpup((__be16 *)buffer); in limits_update()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | mad.c | 367 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys() 543 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port() 545 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port() 553 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); in mlx5_query_mad_ifc_port() 554 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); in mlx5_query_mad_ifc_port() 565 be16_to_cpup((__be16 *)(out_mad->data + 60)); in mlx5_query_mad_ifc_port()
|
/linux/drivers/input/touchscreen/ |
A D | ipaq-micro-ts.c | 33 be16_to_cpup((__be16 *) &msg[2])); in micro_ts_receive() 35 be16_to_cpup((__be16 *) &msg[0])); in micro_ts_receive()
|
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/drivers/iio/resolver/ |
A D | ad2s1200.c | 90 *val = be16_to_cpup(&st->rx) >> 4; in ad2s1200_read_raw() 93 *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11); in ad2s1200_read_raw()
|
/linux/drivers/macintosh/ |
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/arch/powerpc/platforms/pseries/ |
A D | vphn.c | 42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
|
/linux/drivers/iio/imu/inv_icm42600/ |
A D | inv_icm42600_temp.c | 34 *temp = (int16_t)be16_to_cpup(raw); in inv_icm42600_temp_read()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_provider.c | 92 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device() 152 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); in mthca_query_port() 154 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port() 162 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); in mthca_query_port() 163 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); in mthca_query_port()
|
/linux/arch/powerpc/perf/ |
A D | hv-24x7.c | 104 len = be16_to_cpup((__be16 *)&rtas_data_buf[0]); in read_24x7_sys_info() 108 ntypes = be16_to_cpup((__be16 *)&rtas_data_buf[2]); in read_24x7_sys_info() 113 phys_sockets = be16_to_cpup((__be16 *)&rtas_data_buf[4]); in read_24x7_sys_info() 114 phys_chipspersocket = be16_to_cpup((__be16 *)&rtas_data_buf[6]); in read_24x7_sys_info() 115 phys_coresperchip = be16_to_cpup((__be16 *)&rtas_data_buf[8]); in read_24x7_sys_info()
|
/linux/drivers/input/tablet/ |
A D | hanwang.c | 181 be16_to_cpup((__be16 *)&data[2])); in hanwang_parse_packet() 183 be16_to_cpup((__be16 *)&data[4])); in hanwang_parse_packet()
|
/linux/drivers/staging/iio/meter/ |
A D | ade7854-spi.c | 107 *val = be16_to_cpup((const __be16 *)st->rx); in ade7854_spi_read_reg()
|
/linux/include/linux/byteorder/ |
A D | generic.h | 109 #define be16_to_cpup __be16_to_cpup macro
|
/linux/drivers/net/ethernet/ |
A D | dnet.c | 63 tmp = be16_to_cpup((const __be16 *)bp->dev->dev_addr); in __dnet_set_hwaddr() 65 tmp = be16_to_cpup((const __be16 *)(bp->dev->dev_addr + 2)); in __dnet_set_hwaddr() 67 tmp = be16_to_cpup((const __be16 *)(bp->dev->dev_addr + 4)); in __dnet_set_hwaddr()
|
/linux/drivers/input/keyboard/ |
A D | dlink-dir685-touchkeys.c | 45 key = be16_to_cpup((__be16 *) &buf[4]); in dir685_tk_irq_thread()
|
/linux/drivers/iio/imu/inv_mpu6050/ |
A D | inv_mpu_ring.c | 165 fifo_count = be16_to_cpup((__be16 *)&st->data[0]); in inv_mpu6050_read_fifo()
|
/linux/drivers/infiniband/core/ |
A D | packer.c | 43 case 2: return be16_to_cpup((__be16 *) (structure + offset)); in value_read()
|
/linux/net/sunrpc/auth_gss/ |
A D | gss_krb5_wrap.c | 497 ec = be16_to_cpup((__be16 *)(ptr + 4)); in gss_unwrap_kerberos_v2() 498 rrc = be16_to_cpup((__be16 *)(ptr + 6)); in gss_unwrap_kerberos_v2()
|