Home
last modified time | relevance | path

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

1234567

/Linux-v6.6/drivers/hwmon/
Daquacomputer_d5next.c702 *val = (s16)get_unaligned_be16(priv->buffer + offset); in aqc_get_ctrl_val()
1307 priv->serial_number[0] = get_unaligned_be16(data + priv->serial_number_start_offset); in aqc_raw_event()
1308 priv->serial_number[1] = get_unaligned_be16(data + priv->serial_number_start_offset + in aqc_raw_event()
1310 priv->firmware_version = get_unaligned_be16(data + priv->firmware_version_offset); in aqc_raw_event()
1314 sensor_value = get_unaligned_be16(data + in aqc_raw_event()
1325 sensor_value = get_unaligned_be16(data + in aqc_raw_event()
1338 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1341 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1344 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
1347 get_unaligned_be16(data + priv->fan_sensor_offsets[i] + in aqc_raw_event()
[all …]
Dnzxt-kraken2.c124 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-v6.6/drivers/hwmon/occ/
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()
453 val = get_unaligned_be16(&power->value) * 1000000ULL; in occ_show_power_1()
500 val = get_unaligned_be16(&power->value) * 1000000ULL; in occ_show_power_2()
538 val = get_unaligned_be16(&power->system.value) * 1000000ULL; in occ_show_power_a0()
552 val = get_unaligned_be16(&power->proc.value) * 1000000ULL; in occ_show_power_a0()
[all …]
/Linux-v6.6/drivers/iio/chemical/
Dpms7003.c102 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-v6.6/drivers/mfd/
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()
987 report->uncorrectable = get_unaligned_be16(resp + 6); 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()
[all …]
/Linux-v6.6/drivers/power/supply/
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()
317 tmp = get_unaligned_be16(bulk_reg); in rk817_bat_calib_cap()
394 tmp = get_unaligned_be16(bulk_reg); in rk817_read_props()
404 tmp = (short int)get_unaligned_be16(bulk_reg); in rk817_read_props()
446 reg = get_unaligned_be16(bulk_reg); in rk817_read_props()
771 tmp = get_unaligned_be16(bulk_reg); in rk817_read_or_set_full_charge_on_boot()
825 tmp = get_unaligned_be16(bulk_reg); in rk817_read_or_set_full_charge_on_boot()
/Linux-v6.6/drivers/scsi/
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()
/Linux-v6.6/security/keys/trusted-keys/
Dtrusted_tpm2.c42 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-v6.6/drivers/media/radio/si470x/
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-v6.6/drivers/target/
Dtarget_core_xcopy.c124 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()
807 tdll = get_unaligned_be16(&p[2]); in target_parse_xcopy_cmd()
Dtarget_core_spc.c768 len = get_unaligned_be16(&buf[2]) + 4; in spc_emulate_inquiry()
2293 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2301 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2306 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2309 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2319 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2332 *size = get_unaligned_be16(&cdb[7]); in spc_parse_cdb()
2343 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb()
2370 *size = get_unaligned_be16(&cdb[3]); in spc_parse_cdb()
2407 *size = get_unaligned_be16(&cdb[8]); in spc_parse_cdb()
[all …]
Dtarget_core_sbc.c174 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()
879 u16 service_action = get_unaligned_be16(&cdb[8]); in sbc_parse_cdb()
978 size = get_unaligned_be16(&cdb[7]); in sbc_parse_cdb()
1108 dl = get_unaligned_be16(&buf[0]); in sbc_execute_unmap()
1109 bd_dl = get_unaligned_be16(&buf[2]); in sbc_execute_unmap()
/Linux-v6.6/block/partitions/
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()
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()
1232 rec = get_unaligned_be16(data + 0x0C); in ldm_frag_add()
1233 num = get_unaligned_be16(data + 0x0E); in ldm_frag_add()
1372 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
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-v6.6/drivers/input/touchscreen/
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()
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()
Ds6sy761.c358 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()
Dcy8ctma140.c78 x = get_unaligned_be16(buf); in cy8ctma140_report()
79 y = get_unaligned_be16(buf + 2); in cy8ctma140_report()
Dnovatek-nvt-ts.c220 width = get_unaligned_be16(&data->buf[NVT_TS_PARAMS_WIDTH]); in nvt_ts_probe()
221 height = get_unaligned_be16(&data->buf[NVT_TS_PARAMS_HEIGHT]); in nvt_ts_probe()
/Linux-v6.6/tools/include/tools/
Dbe_byteshift.h41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() function
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h343 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-v6.6/net/bluetooth/bnep/
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-v6.6/drivers/iio/magnetometer/
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()
401 *t = get_unaligned_be16(&data[0]); in yas537_measure()
402 xy1y2[0] = FIELD_GET(GENMASK(13, 0), get_unaligned_be16(&data[2])); in yas537_measure()
403 xy1y2[1] = get_unaligned_be16(&data[4]); in yas537_measure()
404 xy1y2[2] = get_unaligned_be16(&data[6]); in yas537_measure()
/Linux-v6.6/net/sched/
Dem_cmp.c37 val = get_unaligned_be16(ptr); in em_cmp_match()
/Linux-v6.6/drivers/nfc/nxp-nci/
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()

1234567