| /linux/drivers/hwmon/ |
| A D | aquacomputer_d5next.c | 195 priv->serial_number[0] = get_unaligned_be16(data + D5NEXT_SERIAL_FIRST_PART); in d5next_raw_event() 198 priv->firmware_version = get_unaligned_be16(data + D5NEXT_FIRMWARE_VERSION); in d5next_raw_event() 203 priv->temp_input = get_unaligned_be16(data + D5NEXT_COOLANT_TEMP) * 10; in d5next_raw_event() 205 priv->speed_input[0] = get_unaligned_be16(data + D5NEXT_PUMP_SPEED); in d5next_raw_event() 206 priv->speed_input[1] = get_unaligned_be16(data + D5NEXT_FAN_SPEED); in d5next_raw_event() 208 priv->power_input[0] = get_unaligned_be16(data + D5NEXT_PUMP_POWER) * 10000; in d5next_raw_event() 209 priv->power_input[1] = get_unaligned_be16(data + D5NEXT_FAN_POWER) * 10000; in d5next_raw_event() 212 priv->voltage_input[1] = get_unaligned_be16(data + D5NEXT_FAN_VOLTAGE) * 10; in d5next_raw_event() 213 priv->voltage_input[2] = get_unaligned_be16(data + D5NEXT_5V_VOLTAGE) * 10; in d5next_raw_event() 215 priv->current_input[0] = get_unaligned_be16(data + D5NEXT_PUMP_CURRENT); in d5next_raw_event() [all …]
|
| A D | nzxt-kraken2.c | 124 priv->fan_input[0] = get_unaligned_be16(data + 3); in kraken2_raw_event() 125 priv->fan_input[1] = get_unaligned_be16(data + 5); in kraken2_raw_event()
|
| /linux/drivers/hwmon/occ/ |
| A D | common.c | 245 val = get_unaligned_be16(&temp->sensor_id); in occ_show_temp_1() 254 val = get_unaligned_be16(&temp->value) * 1000; in occ_show_temp_1() 379 val = get_unaligned_be16(&freq->sensor_id); in occ_show_freq_1() 382 val = get_unaligned_be16(&freq->value); in occ_show_freq_1() 412 val = get_unaligned_be16(&freq->value); in occ_show_freq_2() 439 val = get_unaligned_be16(&power->sensor_id); in occ_show_power_1() 607 val = get_unaligned_be16(&caps->cap) * 1000000ULL; in occ_show_caps_1_2() 616 val = get_unaligned_be16(&caps->max) * 1000000ULL; in occ_show_caps_1_2() 619 val = get_unaligned_be16(&caps->min) * 1000000ULL; in occ_show_caps_1_2() 657 val = get_unaligned_be16(&caps->cap) * 1000000ULL; in occ_show_caps_3() [all …]
|
| /linux/drivers/target/ |
| A D | target_core_spc.c | 767 len = get_unaligned_be16(&buf[2]) + 4; in spc_emulate_inquiry() 1331 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1339 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1344 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1347 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1357 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1370 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb() 1381 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb() 1408 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb() 1441 *size = get_unaligned_be16(&cdb[8]); in spc_parse_cdb() [all …]
|
| A D | target_core_xcopy.c | 124 ript = get_unaligned_be16(&desc[2]); in target_xcopy_parse_tiddesc_e4() 304 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 311 xop->stdi = get_unaligned_be16(&desc[4]); in target_xcopy_parse_segdesc_02() 312 xop->dtdi = get_unaligned_be16(&desc[6]); in target_xcopy_parse_segdesc_02() 324 xop->nolb = get_unaligned_be16(&desc[10]); in target_xcopy_parse_segdesc_02() 809 tdll = get_unaligned_be16(&p[2]); in target_parse_xcopy_cmd()
|
| A D | target_core_sbc.c | 174 num_blocks = get_unaligned_be16(&cmd->t_task_cdb[7]); in sbc_get_write_same_sectors() 236 return get_unaligned_be16(&cdb[7]); in transport_get_sectors_10() 950 u16 service_action = get_unaligned_be16(&cdb[8]); in sbc_parse_cdb() 1068 size = get_unaligned_be16(&cdb[7]); in sbc_parse_cdb() 1198 dl = get_unaligned_be16(&buf[0]); in sbc_execute_unmap() 1199 bd_dl = get_unaligned_be16(&buf[2]); in sbc_execute_unmap()
|
| /linux/drivers/mfd/ |
| A D | si476x-cmd.c | 479 return get_unaligned_be16(resp + 2); in si476x_core_cmd_get_property() 775 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_am_rsq_status() 938 report->pi = get_unaligned_be16(resp + 4); in si476x_core_cmd_fm_rds_status() 985 report->expected = get_unaligned_be16(resp + 2); in si476x_core_cmd_fm_rds_blockcount() 986 report->received = get_unaligned_be16(resp + 4); in si476x_core_cmd_fm_rds_blockcount() 1204 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_fm_rsq_status_a10() 1212 report->readantcap = get_unaligned_be16(resp + 13); in si476x_core_cmd_fm_rsq_status_a10() 1258 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_fm_rsq_status_a20() 1266 report->readantcap = get_unaligned_be16(resp + 13); in si476x_core_cmd_fm_rsq_status_a20() 1314 report->readfreq = get_unaligned_be16(resp + 3); in si476x_core_cmd_fm_rsq_status_a30() [all …]
|
| /linux/drivers/iio/chemical/ |
| 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/scsi/ |
| 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()
|
| /linux/security/keys/trusted-keys/ |
| A D | trusted_tpm2.c | 42 priv_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 47 pub_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 388 private_len = get_unaligned_be16(blob); in tpm2_load_cmd() 394 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| 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/media/radio/si470x/ |
| A D | radio-si470x-usb.c | 253 radio->registers[regnr] = get_unaligned_be16(&radio->usb_buf[1]); in si470x_get_register() 294 radio->registers[regnr] = get_unaligned_be16( in si470x_get_all_registers() 389 get_unaligned_be16(&radio->int_in_buffer[1]); in si470x_int_in_callback() 398 get_unaligned_be16(&radio->int_in_buffer[ in si470x_int_in_callback() 642 (get_unaligned_be16(&radio->usb_buf[1]) & 0xfff) != 0x0242) { in si470x_usb_driver_probe()
|
| /linux/block/partitions/ |
| A D | ldm.c | 77 ph->ver_major = get_unaligned_be16(data + 0x000C); in ldm_parse_privhead() 78 ph->ver_minor = get_unaligned_be16(data + 0x000E); in ldm_parse_privhead() 181 vm->ver_major = get_unaligned_be16(data + 0x12); in ldm_parse_vmdb() 182 vm->ver_minor = get_unaligned_be16(data + 0x14); in ldm_parse_vmdb() 451 if (get_unaligned_be16(data + 0x10) != 0x01) { in ldm_validate_vmdb() 1241 rec = get_unaligned_be16(data + 0x0C); in ldm_frag_add() 1242 num = get_unaligned_be16(data + 0x0E); in ldm_frag_add() 1381 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks()
|
| /linux/drivers/input/touchscreen/ |
| A D | ili210x.c | 115 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords() 116 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords() 203 val = get_unaligned_be16(touchdata + 3 + (finger * 5) + 0); in ili212x_touchdata_to_coords() 208 *y = get_unaligned_be16(touchdata + 3 + (finger * 5) + 2); in ili212x_touchdata_to_coords() 278 val = get_unaligned_be16(touchdata + 1 + (finger * 5) + 0); in ili251x_touchdata_to_coords() 283 *y = get_unaligned_be16(touchdata + 1 + (finger * 5) + 2); in ili251x_touchdata_to_coords()
|
| 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()
|
| A D | s6sy761.c | 358 sdata->devid = get_unaligned_be16(buffer + 1); in s6sy761_hw_init() 367 *max_x = get_unaligned_be16(buffer); in s6sy761_hw_init() 368 *max_y = get_unaligned_be16(buffer + 2); in s6sy761_hw_init()
|
| A D | cy8ctma140.c | 78 x = get_unaligned_be16(buf); in cy8ctma140_report() 79 y = get_unaligned_be16(buf + 2); in cy8ctma140_report()
|
| /linux/net/bluetooth/bnep/ |
| A D | core.c | 110 n = get_unaligned_be16(data); in bnep_ctrl_set_netfilter() 126 f[i].start = get_unaligned_be16(data++); in bnep_ctrl_set_netfilter() 127 f[i].end = get_unaligned_be16(data++); in bnep_ctrl_set_netfilter() 156 n = get_unaligned_be16(data); in bnep_ctrl_set_mcfilter()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | fweh.h | 343 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb() 354 usr_stype = get_unaligned_be16(&event_packet->hdr.usr_subtype); in brcmf_fweh_process_skb()
|
| /linux/drivers/nfc/nxp-nci/ |
| A D | firmware.c | 137 fw_info->frame_size = get_unaligned_be16(fw_info->data) & in nxp_nci_fw_send() 284 frame_crc = get_unaligned_be16(skb->data + len); in nxp_nci_fw_check_crc()
|
| /linux/tools/include/tools/ |
| A D | be_byteshift.h | 41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() function
|
| /linux/net/sched/ |
| A D | em_cmp.c | 37 val = get_unaligned_be16(ptr); in em_cmp_match()
|
| /linux/drivers/usb/serial/ |
| A D | mxuport.c | 339 u16 rcv_msr_event = get_unaligned_be16(buf); in mxuport_msr_event() 481 rcv_port = get_unaligned_be16(data); in mxuport_process_read_urb_demux_data() 489 rcv_len = get_unaligned_be16(data + 2); in mxuport_process_read_urb_demux_data() 528 rcv_port = get_unaligned_be16(data); in mxuport_process_read_urb_demux_event() 538 rcv_event = get_unaligned_be16(data + 2); in mxuport_process_read_urb_demux_event()
|
| /linux/drivers/media/i2c/ |
| A D | ir-kbd-i2c.c | 108 vendor = get_unaligned_be16(buf + 1); in get_key_haup_common() 485 if (get_unaligned_be16(&array[i]) == val) { in find_slot() 547 u16 d = get_unaligned_be16(&code_block->space[i]); in zilog_ir_format() 549 if (get_unaligned_be16(&code_block->space[s]) > d) in zilog_ir_format()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| A D | mcp251xfd-regmap.c | 242 crc_received = get_unaligned_be16(buf_rx->data + data_len); in mcp251xfd_regmap_crc_read_check_crc() 380 get_unaligned_be16(buf_rx->data + val_len)); in mcp251xfd_regmap_crc_read() 387 get_unaligned_be16(buf_rx->data + val_len)); in mcp251xfd_regmap_crc_read()
|