| /linux/drivers/hwmon/occ/ |
| H A D | common.c | 253 val = get_unaligned_be16(&temp->sensor_id); in occ_show_temp_1() 262 val = get_unaligned_be16(&temp->value) * 1000; in occ_show_temp_1() 387 val = get_unaligned_be16(&freq->sensor_id); in occ_show_freq_1() 390 val = get_unaligned_be16(&freq->value); in occ_show_freq_1() 420 val = get_unaligned_be16(&freq->value); in occ_show_freq_2() 453 val = get_unaligned_be16(&power->sensor_id); in occ_show_power_1() 464 val = get_unaligned_be16(&power->value) * 1000000ULL; in occ_show_power_1() 503 val = get_unaligned_be16(&power->value) * 1000000ULL; in occ_show_power_2() 541 val = get_unaligned_be16(&power->system.value) * 1000000ULL; in occ_show_power_a0() 555 val = get_unaligned_be16(&power->proc.value) * 1000000ULL; in occ_show_power_a0() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | wacom_w9000.c | 109 wacom_data->prop.max_x = get_unaligned_be16(&data[1]); in wacom_w9000_query() 110 wacom_data->prop.max_y = get_unaligned_be16(&data[3]); in wacom_w9000_query() 111 wacom_data->max_pressure = get_unaligned_be16(&data[5]); in wacom_w9000_query() 112 wacom_data->fw_version = get_unaligned_be16(&data[7]); in wacom_w9000_query() 179 x = get_unaligned_be16(&data[1]); in wacom_w9000_coord() 180 y = get_unaligned_be16(&data[3]); in wacom_w9000_coord() 181 pressure = get_unaligned_be16(&data[5]); in wacom_w9000_coord()
|
| H A D | eeti_ts.c | 51 x = get_unaligned_be16(&buf[1]); in eeti_ts_report_event() 52 y = get_unaligned_be16(&buf[3]); in eeti_ts_report_event()
|
| H A D | hynitron-cst816x.c | 121 tch->abs_x = get_unaligned_be16(&tch->abs_x) & GENMASK(11, 0); in cst816x_process_touch() 122 tch->abs_y = get_unaligned_be16(&tch->abs_y) & GENMASK(11, 0); in cst816x_process_touch()
|
| H A D | ili210x.c | 114 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords() 115 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords() 202 val = get_unaligned_be16(touchdata + 3 + (finger * 5) + 0); in ili212x_touchdata_to_coords() 207 *y = get_unaligned_be16(touchdata + 3 + (finger * 5) + 2); in ili212x_touchdata_to_coords() 277 val = get_unaligned_be16(touchdata + 1 + (finger * 5) + 0); in ili251x_touchdata_to_coords() 282 *y = get_unaligned_be16(touchdata + 1 + (finger * 5) + 2); in ili251x_touchdata_to_coords()
|
| H A D | s6sy761.c | 355 sdata->devid = get_unaligned_be16(buffer + 1); in s6sy761_hw_init() 364 *max_x = get_unaligned_be16(buffer); in s6sy761_hw_init() 365 *max_y = get_unaligned_be16(buffer + 2); in s6sy761_hw_init()
|
| H A D | cy8ctma140.c | 78 x = get_unaligned_be16(buf); in cy8ctma140_report() 79 y = get_unaligned_be16(buf + 2); in cy8ctma140_report()
|
| /linux/drivers/iio/dac/ |
| H A D | ad5706r.c | 58 reg = get_unaligned_be16(data); in ad5706r_regmap_write() 59 val = get_unaligned_be16(data + 2); in ad5706r_regmap_write() 90 reg = get_unaligned_be16(reg_buf); in ad5706r_regmap_read() 112 val = get_unaligned_be16(&st->rx_buf[2]); in ad5706r_regmap_read()
|
| /linux/drivers/scsi/ |
| H A D | scsi_trace.c | 12 #define SERVICE_ACTION32(cdb) (get_unaligned_be16(&cdb[8])) 43 txlen = get_unaligned_be16(&cdb[7]); in scsi_trace_rw10() 138 unsigned int regions = get_unaligned_be16(&cdb[7]); in scsi_trace_unmap() 337 boundary_size = get_unaligned_be16(&cdb[10]); in scsi_trace_atomic_write16_out() 338 nr_blocks = get_unaligned_be16(&cdb[12]); in scsi_trace_atomic_write16_out()
|
| H A D | scsi_proto_test.c | 30 KUNIT_EXPECT_EQ(test, get_unaligned_be16(&ss.s.stream_identifier), in test_scsi_proto() 39 KUNIT_EXPECT_EQ(test, get_unaligned_be16(&sh.h.number_of_open_streams), in test_scsi_proto()
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | hash-utils.h | 29 u64 bytes = (u64) get_unaligned_be16(chapter_bits) << 32; in uds_extract_chapter_index_bytes() 42 return get_unaligned_be16(&name->name[SAMPLE_BYTES_OFFSET]); in uds_extract_sampling_bytes()
|
| /linux/drivers/iio/pressure/ |
| H A D | adp810.c | 128 *val = get_unaligned_be16(&buf.dp); in adp810_read_raw() 131 *val = get_unaligned_be16(&buf.tmp); in adp810_read_raw() 139 *val = get_unaligned_be16(&buf.sf); in adp810_read_raw()
|
| /linux/drivers/mfd/ |
| H A D | si476x-cmd.c | 478 return get_unaligned_be16(resp + 2); in si476x_core_cmd_get_property() 774 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_am_rsq_status() 937 report->pi = get_unaligned_be16(resp + 4); in si476x_core_cmd_fm_rds_status() 984 report->expected = get_unaligned_be16(resp + 2); in si476x_core_cmd_fm_rds_blockcount() 985 report->received = get_unaligned_be16(resp + 4); in si476x_core_cmd_fm_rds_blockcount() 986 report->uncorrectable = get_unaligned_be16(resp + 6); in si476x_core_cmd_fm_rds_blockcount() 1203 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_fm_rsq_status_a10() 1211 report->readantcap = get_unaligned_be16(resp + 13); in si476x_core_cmd_fm_rsq_status_a10() 1257 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_fm_rsq_status_a20() 1265 report->readantcap = get_unaligned_be16(resp + 13); in si476x_core_cmd_fm_rsq_status_a20() [all …]
|
| /linux/drivers/iio/chemical/ |
| H A D | pms7003.c | 102 return clamp_val(get_unaligned_be16(data), in pms7003_get_pm() 209 u16 checksum = get_unaligned_be16(frame->data + offset); in pms7003_frame_is_okay() 229 magic = get_unaligned_be16(buf); in pms7003_receive_buf() 233 num = get_unaligned_be16(buf + 2); in pms7003_receive_buf()
|
| /linux/drivers/iio/adc/ |
| H A D | ti-ads131m02.c | 215 status = get_unaligned_be16(&priv->rx_buffer[0]); in ads131m_check_status_crc_err() 289 response = get_unaligned_be16(&priv->rx_buffer[0]); in ads131m_write_reg_unlocked() 355 *val = get_unaligned_be16(&priv->rx_buffer[0]); in ads131m_read_reg_unlocked() 427 received_crc = get_unaligned_be16(&priv->rx_buffer[data_len]); in ads131m_verify_output_crc() 468 status = get_unaligned_be16(&priv->rx_buffer[0]); in ads131m_adc_read() 700 response = get_unaligned_be16(&priv->rx_buffer[0]); in ads131m_sw_reset()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_iscsi.c | 329 tmp = cpu_to_le16(get_unaligned_be16(p)); in qed_sp_iscsi_conn_offload() 331 tmp = cpu_to_le16(get_unaligned_be16(p + 1)); in qed_sp_iscsi_conn_offload() 333 tmp = cpu_to_le16(get_unaligned_be16(p + 2)); in qed_sp_iscsi_conn_offload() 337 tmp = cpu_to_le16(get_unaligned_be16(p)); in qed_sp_iscsi_conn_offload() 339 tmp = cpu_to_le16(get_unaligned_be16(p + 1)); in qed_sp_iscsi_conn_offload() 341 tmp = cpu_to_le16(get_unaligned_be16(p + 2)); in qed_sp_iscsi_conn_offload() 401 tmp = cpu_to_le16(get_unaligned_be16(p)); in qed_sp_iscsi_conn_offload() 403 tmp = cpu_to_le16(get_unaligned_be16(p + 1)); in qed_sp_iscsi_conn_offload() 405 tmp = cpu_to_le16(get_unaligned_be16(p + 2)); in qed_sp_iscsi_conn_offload() 409 tmp = cpu_to_le16(get_unaligned_be16(p)); in qed_sp_iscsi_conn_offload() [all …]
|
| /linux/drivers/target/ |
| H A D | target_core_xcopy.c | 125 ript = get_unaligned_be16(&desc[2]); in target_xcopy_parse_tiddesc_e4() 305 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 312 xop->stdi = get_unaligned_be16(&desc[4]); in target_xcopy_parse_segdesc_02() 313 xop->dtdi = get_unaligned_be16(&desc[6]); in target_xcopy_parse_segdesc_02() 325 xop->nolb = get_unaligned_be16(&desc[10]); in target_xcopy_parse_segdesc_02() 808 tdll = get_unaligned_be16(&p[2]); in target_parse_xcopy_cmd()
|
| /linux/drivers/net/pse-pd/ |
| H A D | realtek-pse-mcu-core.c | 411 measurement->voltage_raw = get_unaligned_be16(&resp.payload[1]); in rtpse_mcu_port_get_measurement() 412 measurement->current_raw = get_unaligned_be16(&resp.payload[3]); in rtpse_mcu_port_get_measurement() 413 measurement->temperature_raw = get_unaligned_be16(&resp.payload[5]); in rtpse_mcu_port_get_measurement() 414 measurement->power_raw = get_unaligned_be16(&resp.payload[7]); in rtpse_mcu_port_get_measurement() 881 info->device_id = get_unaligned_be16(&payload[3]); in rtpse_mcu_gen2_parse_system_info() 913 info->device_id = get_unaligned_be16(&payload[3]); in rtpse_mcu_gen1_parse_system_info()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm2.c | 34 priv_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 39 pub_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 407 private_len = get_unaligned_be16(blob); in tpm2_load_cmd() 413 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
|
| /linux/net/bluetooth/bnep/ |
| H A D | core.c | 107 n = get_unaligned_be16(data); in bnep_ctrl_set_netfilter() 123 f[i].start = get_unaligned_be16(data++); in bnep_ctrl_set_netfilter() 124 f[i].end = get_unaligned_be16(data++); in bnep_ctrl_set_netfilter() 153 n = get_unaligned_be16(data); in bnep_ctrl_set_mcfilter() 354 if (!skb_pull(skb, get_unaligned_be16(data))) in bnep_rx_frame()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | yamaha-yas530.c | 254 val = get_unaligned_be16(&data[0]); in yas530_extract_axis() 269 val = get_unaligned_be16(&data[0]); in yas532_extract_axis() 326 val = get_unaligned_be16(&data[0]); in yas530_measure() 340 val = get_unaligned_be16(&data[0]); in yas530_measure() 403 *t = get_unaligned_be16(&data[0]); in yas537_measure() 404 xy1y2[0] = FIELD_GET(GENMASK(13, 0), get_unaligned_be16(&data[2])); in yas537_measure() 405 xy1y2[1] = get_unaligned_be16(&data[4]); in yas537_measure() 406 xy1y2[2] = get_unaligned_be16(&data[6]); in yas537_measure()
|
| /linux/security/apparmor/ |
| H A D | match.c | 46 th.td_id = get_unaligned_be16(blob) - 1; in unpack_table() 49 th.td_flags = get_unaligned_be16(blob + 2); in unpack_table() 73 u16, __be16, get_unaligned_be16); in unpack_table() 340 dfa->flags = get_unaligned_be16(data + 12); in aa_dfa_unpack()
|
| /linux/tools/include/tools/ |
| H A D | be_byteshift.h | 41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() function
|
| /linux/net/sched/ |
| H A D | em_cmp.c | 40 val = get_unaligned_be16(ptr); in em_cmp_match()
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 1354 *plen = get_unaligned_be16(&cdb[7]); in scsi_10_lba_len() 2156 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_00() 2184 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_80() 2246 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_83() 2284 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_89() 2368 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_b0() 2398 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_b1() 2421 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_b2() 2459 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_b6() 2497 return get_unaligned_be16(&rbuf[2]) + 4; in ata_scsiop_inq_b9() [all …]
|