Home
last modified time | relevance | path

Searched refs:get_unaligned_be16 (Results 1 – 25 of 180) sorted by relevance

12345678

/linux-6.15/drivers/hwmon/
H A Daquacomputer_d5next.c732 *val = (s16)get_unaligned_be16(priv->buffer + offset); in aqc_get_ctrl_val()
1368 sensor_value = get_unaligned_be16(data + in aqc_raw_event()
1379 sensor_value = get_unaligned_be16(data + in aqc_raw_event()
1392 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1395 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1398 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1401 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1421 sensor_value = get_unaligned_be16(data + in aqc_raw_event()
1452 get_unaligned_be16(data + HIGHFLOWNEXT_POWER) * 1000000; in aqc_raw_event()
1456 get_unaligned_be16(data + HIGHFLOWNEXT_5V_VOLTAGE_USB) * 10; in aqc_raw_event()
[all …]
H A Dnzxt-kraken2.c117 priv->fan_input[0] = get_unaligned_be16(data + 3); in kraken2_raw_event()
118 priv->fan_input[1] = get_unaligned_be16(data + 5); in kraken2_raw_event()
/linux-6.15/drivers/hwmon/occ/
H A Dcommon.c247 val = get_unaligned_be16(&temp->sensor_id); in occ_show_temp_1()
256 val = get_unaligned_be16(&temp->value) * 1000; in occ_show_temp_1()
381 val = get_unaligned_be16(&freq->sensor_id); in occ_show_freq_1()
384 val = get_unaligned_be16(&freq->value); in occ_show_freq_1()
414 val = get_unaligned_be16(&freq->value); in occ_show_freq_2()
441 val = get_unaligned_be16(&power->sensor_id); in occ_show_power_1()
609 val = get_unaligned_be16(&caps->cap) * 1000000ULL; in occ_show_caps_1_2()
618 val = get_unaligned_be16(&caps->max) * 1000000ULL; in occ_show_caps_1_2()
621 val = get_unaligned_be16(&caps->min) * 1000000ULL; in occ_show_caps_1_2()
659 val = get_unaligned_be16(&caps->cap) * 1000000ULL; in occ_show_caps_3()
[all …]
/linux-6.15/drivers/scsi/
H A Dscsi_trace.c12 #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 Dscsi_proto_test.c30 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-6.15/drivers/md/dm-vdo/indexer/
H A Dhash-utils.h29 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-6.15/drivers/mfd/
H A Dsi476x-cmd.c479 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-6.15/drivers/iio/chemical/
H A Dpms7003.c103 return clamp_val(get_unaligned_be16(data), in pms7003_get_pm()
210 u16 checksum = get_unaligned_be16(frame->data + offset); in pms7003_frame_is_okay()
230 magic = get_unaligned_be16(buf); in pms7003_receive_buf()
234 num = get_unaligned_be16(buf + 2); in pms7003_receive_buf()
/linux-6.15/drivers/power/supply/
H A Drk817_charger.c179 vcalib0 = get_unaligned_be16(bulk_reg); in rk817_bat_calib_vol()
183 vcalib1 = get_unaligned_be16(bulk_reg); in rk817_bat_calib_vol()
372 tmp = get_unaligned_be16(bulk_reg); in rk817_read_props()
382 tmp = (short int)get_unaligned_be16(bulk_reg); in rk817_read_props()
424 reg = get_unaligned_be16(bulk_reg); in rk817_read_props()
775 tmp = get_unaligned_be16(bulk_reg); in rk817_read_or_set_full_charge_on_boot()
829 tmp = get_unaligned_be16(bulk_reg); in rk817_read_or_set_full_charge_on_boot()
/linux-6.15/drivers/media/radio/si470x/
H A Dradio-si470x-usb.c253 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-6.15/drivers/target/
H A Dtarget_core_xcopy.c125 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()
H A Dtarget_core_spc.c768 len = get_unaligned_be16(&buf[2]) + 4; in spc_emulate_inquiry()
2299 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2307 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2312 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2315 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2325 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2338 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2349 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb()
2376 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb()
2413 *size = get_unaligned_be16(&cdb[8]); in spc_parse_cdb()
[all …]
/linux-6.15/block/partitions/
H A Dldm.c77 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()
179 vm->ver_major = get_unaligned_be16(data + 0x12); in ldm_parse_vmdb()
180 vm->ver_minor = get_unaligned_be16(data + 0x14); in ldm_parse_vmdb()
449 if (get_unaligned_be16(data + 0x10) != 0x01) { in ldm_validate_vmdb()
1230 rec = get_unaligned_be16(data + 0x0C); in ldm_frag_add()
1231 num = get_unaligned_be16(data + 0x0E); in ldm_frag_add()
1370 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks()
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c329 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-6.15/security/keys/trusted-keys/
H A Dtrusted_tpm2.c43 priv_len = get_unaligned_be16(src) + 2; in tpm2_key_encode()
48 pub_len = get_unaligned_be16(src) + 2; in tpm2_key_encode()
413 private_len = get_unaligned_be16(blob); in tpm2_load_cmd()
419 public_len = get_unaligned_be16(blob + 2 + private_len); in tpm2_load_cmd()
/linux-6.15/drivers/input/touchscreen/
H A Dili210x.c115 *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()
H A Deeti_ts.c51 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 Ds6sy761.c355 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 Dcy8ctma140.c78 x = get_unaligned_be16(buf); in cy8ctma140_report()
79 y = get_unaligned_be16(buf + 2); in cy8ctma140_report()
/linux-6.15/tools/include/tools/
H A Dbe_byteshift.h41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() function
/linux-6.15/net/bluetooth/bnep/
H A Dcore.c110 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-6.15/drivers/iio/magnetometer/
H A Dyamaha-yas530.c253 val = get_unaligned_be16(&data[0]); in yas530_extract_axis()
268 val = get_unaligned_be16(&data[0]); in yas532_extract_axis()
325 val = get_unaligned_be16(&data[0]); in yas530_measure()
339 val = get_unaligned_be16(&data[0]); in yas530_measure()
402 *t = get_unaligned_be16(&data[0]); in yas537_measure()
403 xy1y2[0] = FIELD_GET(GENMASK(13, 0), get_unaligned_be16(&data[2])); in yas537_measure()
404 xy1y2[1] = get_unaligned_be16(&data[4]); in yas537_measure()
405 xy1y2[2] = get_unaligned_be16(&data[6]); in yas537_measure()
/linux-6.15/net/sched/
H A Dem_cmp.c37 val = get_unaligned_be16(ptr); in em_cmp_match()
/linux-6.15/drivers/nfc/nxp-nci/
H A Dfirmware.c137 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-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h379 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
390 usr_stype = get_unaligned_be16(&event_packet->hdr.usr_subtype); in brcmf_fweh_process_skb()

12345678