Home
last modified time | relevance | path

Searched refs:be16_to_cpup (Results 1 – 25 of 92) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Delan_i2c_smbus.c145 *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()
H A Dsynaptics_usb.c110 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()
/OK3568_Linux_fs/kernel/net/mac80211/
H A Daes_ccm.h26 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_encrypt()
36 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_decrypt()
H A Daes_gcm.h18 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_encrypt()
27 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_decrypt()
/OK3568_Linux_fs/kernel/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
H A Dvphn.c42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dmad.c373 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys()
549 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port()
551 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
559 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); in mlx5_query_mad_ifc_port()
560 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); in mlx5_query_mad_ifc_port()
571 be16_to_cpup((__be16 *)(out_mad->data + 60)); in mlx5_query_mad_ifc_port()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dshtc1.c123 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()
H A Dsht3x.c244 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()
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dide-floppy.c342 transfer_rate = be16_to_cpup((__be16 *)&buf[8 + 2]); in ide_floppy_get_flexible_disk_page()
343 sector_size = be16_to_cpup((__be16 *)&buf[8 + 6]); in ide_floppy_get_flexible_disk_page()
344 cyls = be16_to_cpup((__be16 *)&buf[8 + 8]); in ide_floppy_get_flexible_disk_page()
345 rpm = be16_to_cpup((__be16 *)&buf[8 + 28]); in ide_floppy_get_flexible_disk_page()
409 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); in ide_floppy_get_capacity()
/OK3568_Linux_fs/kernel/security/keys/trusted-keys/
H A Dtrusted_tpm2.c196 private_len = be16_to_cpup((__be16 *) &payload->blob[0]); in tpm2_load_cmd()
200 public_len = be16_to_cpup((__be16 *) &payload->blob[2 + private_len]); in tpm2_load_cmd()
277 data_len = be16_to_cpup( in tpm2_unseal_cmd()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dipaq-micro-ts.c33 be16_to_cpup((__be16 *) &msg[2])); in micro_ts_receive()
35 be16_to_cpup((__be16 *) &msg[0])); in micro_ts_receive()
/OK3568_Linux_fs/kernel/drivers/iio/resolver/
H A Dad2s1200.c90 *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()
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c56 raw = be16_to_cpup((__le16 *)buf); in wf_ad7417_temp_get()
132 raw = be16_to_cpup((__le16 *)buf) >> 6; in wf_ad7417_adc_get()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dvphn.c42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
/OK3568_Linux_fs/u-boot/include/linux/unaligned/
H A Daccess_ok.h23 return be16_to_cpup((__be16 *)p); in get_unaligned_be16()
/OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_temp.c34 *temp = (int16_t)be16_to_cpup(raw); in inv_icm42600_temp_read()
/OK3568_Linux_fs/kernel/include/linux/unaligned/
H A Daccess_ok.h25 return be16_to_cpup((__be16 *)p); in get_unaligned_be16()
/OK3568_Linux_fs/u-boot/include/linux/byteorder/
H A Dgeneric.h110 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/byteorder/
H A Dgeneric.h124 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/byteorder/
H A Dgeneric.h124 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/byteorder/
H A Dgeneric.h124 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/byteorder/
H A Dgeneric.h124 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/byteorder/
H A Dgeneric.h129 #define be16_to_cpup __be16_to_cpup macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/byteorder/
H A Dgeneric.h125 #define be16_to_cpup __be16_to_cpup macro

1234