Home
last modified time | relevance | path

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

123

/linux-6.6.21/net/mac80211/
Daes_ccm.h26 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_encrypt()
36 be16_to_cpup((__be16 *)aad), in ieee80211_aes_ccm_decrypt()
Daes_gcm.h18 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_encrypt()
27 be16_to_cpup((__be16 *)aad), in ieee80211_aes_gcm_decrypt()
/linux-6.6.21/drivers/input/mouse/
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()
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()
/linux-6.6.21/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x) macro
15 #define be16_to_cpup(x) (*x) macro
Dvphn.c42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
/linux-6.6.21/drivers/hwmon/
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()
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()
Dsht3x.c276 val = be16_to_cpup((__be16 *)buf); in sht3x_update_client()
278 val = be16_to_cpup((__be16 *)(buf + 3)); in sht3x_update_client()
334 raw = be16_to_cpup((__be16 *)buffer); in limits_update()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
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()
/linux-6.6.21/drivers/input/touchscreen/
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()
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()
/linux-6.6.21/drivers/iio/resolver/
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()
/linux-6.6.21/net/sunrpc/auth_gss/
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()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvphn.c42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
/linux-6.6.21/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_temp.c34 *temp = (int16_t)be16_to_cpup(raw); in inv_icm42600_temp_read()
/linux-6.6.21/drivers/macintosh/
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()
/linux-6.6.21/sound/soc/codecs/
Dtas2781-fmwlib.c173 be16_to_cpup((__be16 *)&config_data[config_offset]); in tasdevice_add_config()
480 fw_hdr->device_family = be16_to_cpup((__be16 *)&buf[offset]); in fw_parse_variable_header_kernel()
487 fw_hdr->device = be16_to_cpup((__be16 *)&buf[offset]); in fw_parse_variable_header_kernel()
601 unsigned short len = be16_to_cpup((__be16 *)&data[2]); in tasdevice_process_block()
627 unsigned short len = be16_to_cpup((__be16 *)&data[2]); in tasdevice_process_block()
668 sleep_time = be16_to_cpup((__be16 *)&data[2]) * 1000; in tasdevice_process_block()
1072 img_data->nr_blk = be16_to_cpup((__be16 *)&data[offset]); in fw_parse_data()
1109 tas_fmw->nr_programs = be16_to_cpup((__be16 *)&buf[offset]); in fw_parse_program_data()
1176 tas_fmw->nr_configurations = be16_to_cpup((__be16 *)&data[offset]); in fw_parse_configuration_data()
1861 tas_fmw->nr_calibrations = be16_to_cpup((__be16 *)&data[offset]); in fw_parse_calibration_data()
/linux-6.6.21/include/linux/byteorder/
Dgeneric.h109 #define be16_to_cpup __be16_to_cpup macro
/linux-6.6.21/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c96 fifo_count = be16_to_cpup((__be16 *)&st->data[0]); in inv_mpu6050_read_fifo()
/linux-6.6.21/drivers/input/tablet/
Dhanwang.c178 be16_to_cpup((__be16 *)&data[2])); in hanwang_parse_packet()
180 be16_to_cpup((__be16 *)&data[4])); in hanwang_parse_packet()
/linux-6.6.21/drivers/input/keyboard/
Ddlink-dir685-touchkeys.c45 key = be16_to_cpup((__be16 *) &buf[4]); in dir685_tk_irq_thread()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_provider.c84 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device()
144 props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); in mthca_query_port()
146 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port()
154 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); in mthca_query_port()
155 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); in mthca_query_port()
/linux-6.6.21/drivers/net/ethernet/
Ddnet.c63 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-6.6.21/drivers/infiniband/core/
Dpacker.c43 case 2: return be16_to_cpup((__be16 *) (structure + offset)); in value_read()

123