Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/net/mac80211/
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()
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()
/kernel/linux/linux-6.6/net/mac80211/
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()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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 Dhs3001.c94 hs3001_extract_humidity(be16_to_cpup((__be16 *)&buf[0])); in hs3001_data_fetch_command()
96 hs3001_extract_temperature(be16_to_cpup((__be16 *)&buf[2])); in hs3001_data_fetch_command()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmad.c394 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys()
570 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port()
572 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
580 props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); in mlx5_query_mad_ifc_port()
581 props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); in mlx5_query_mad_ifc_port()
592 be16_to_cpup((__be16 *)(out_mad->data + 60)); in mlx5_query_mad_ifc_port()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
H A Dcy8ctmg110_ts.c127 be16_to_cpup((__be16 *)(reg_p + 0))); in cy8ctmg110_touch_pos()
129 be16_to_cpup((__be16 *)(reg_p + 2))); in cy8ctmg110_touch_pos()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c176 ec = be16_to_cpup((__be16 *)(ptr + 4)); in gss_krb5_unwrap_v2()
177 rrc = be16_to_cpup((__be16 *)(ptr + 6)); in gss_krb5_unwrap_v2()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dvphn.c42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()

Completed in 15 milliseconds

123456