Home
last modified time | relevance | path

Searched refs:get_unaligned_le16 (Results 1 – 25 of 184) sorted by relevance

12345678

/Linux-v5.10/drivers/nvme/host/
Dtrace.c13 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_delete_sq()
24 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_create_sq()
25 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_sq()
26 u16 sq_flags = get_unaligned_le16(cdw10 + 4); in nvme_trace_create_sq()
27 u16 cqid = get_unaligned_le16(cdw10 + 6); in nvme_trace_create_sq()
40 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_delete_cq()
51 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_create_cq()
52 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_cq()
53 u16 cq_flags = get_unaligned_le16(cdw10 + 4); in nvme_trace_create_cq()
54 u16 irq_vector = get_unaligned_le16(cdw10 + 6); in nvme_trace_create_cq()
[all …]
/Linux-v5.10/net/mac80211/
Dtkip.c90 p1k[2] = get_unaligned_le16(ta + 0); in tkip_mixing_phase1()
91 p1k[3] = get_unaligned_le16(ta + 2); in tkip_mixing_phase1()
92 p1k[4] = get_unaligned_le16(ta + 4); in tkip_mixing_phase1()
96 p1k[0] += tkipS(p1k[4] ^ get_unaligned_le16(tk + 0 + j)); in tkip_mixing_phase1()
97 p1k[1] += tkipS(p1k[0] ^ get_unaligned_le16(tk + 4 + j)); in tkip_mixing_phase1()
98 p1k[2] += tkipS(p1k[1] ^ get_unaligned_le16(tk + 8 + j)); in tkip_mixing_phase1()
99 p1k[3] += tkipS(p1k[2] ^ get_unaligned_le16(tk + 12 + j)); in tkip_mixing_phase1()
100 p1k[4] += tkipS(p1k[3] ^ get_unaligned_le16(tk + 0 + j)) + i; in tkip_mixing_phase1()
120 ppk[0] += tkipS(ppk[5] ^ get_unaligned_le16(tk + 0)); in tkip_mixing_phase2()
121 ppk[1] += tkipS(ppk[0] ^ get_unaligned_le16(tk + 2)); in tkip_mixing_phase2()
[all …]
Dmichael.c47 michael_block(mctx, get_unaligned_le16(&da[4]) | in michael_mic_hdr()
48 (get_unaligned_le16(sa) << 16)); in michael_mic_hdr()
/Linux-v5.10/drivers/nvme/target/
Dtrace.c14 u16 ctrlid = get_unaligned_le16(cdw10 + 2); in nvmet_trace_admin_identify()
42 u16 rl = get_unaligned_le16(cdw10 + 12); in nvmet_trace_get_lba_status()
56 u16 length = get_unaligned_le16(cdw10 + 8); in nvmet_trace_read_write()
57 u16 control = get_unaligned_le16(cdw10 + 10); in nvmet_trace_read_write()
139 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect()
140 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect()
141 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect()
/Linux-v5.10/drivers/input/mouse/
Dcyapa_gen6.c123 product_family = get_unaligned_le16(&resp_data[7]); in cyapa_get_pip_fixed_info()
211 product_family = get_unaligned_le16(&resp_data[7]); in cyapa_gen6_read_sys_info()
224 cyapa->physical_size_x = get_unaligned_le16(&resp_data[35]) / 100; in cyapa_gen6_read_sys_info()
225 cyapa->physical_size_y = get_unaligned_le16(&resp_data[37]) / 100; in cyapa_gen6_read_sys_info()
227 cyapa->max_abs_x = get_unaligned_le16(&resp_data[39]); in cyapa_gen6_read_sys_info()
228 cyapa->max_abs_y = get_unaligned_le16(&resp_data[41]); in cyapa_gen6_read_sys_info()
230 cyapa->max_z = get_unaligned_le16(&resp_data[43]); in cyapa_gen6_read_sys_info()
381 interval_setting->active_interval = get_unaligned_le16(&resp_data[5]); in cyapa_gen6_set_interval_setting()
382 interval_setting->lp1_interval = get_unaligned_le16(&resp_data[7]); in cyapa_gen6_set_interval_setting()
383 interval_setting->lp2_interval = get_unaligned_le16(&resp_data[9]); in cyapa_gen6_set_interval_setting()
[all …]
Dcyapa_gen5.c484 length = get_unaligned_le16(pip->empty_buf); in cyapa_empty_pip_output_data()
511 length = get_unaligned_le16(pip->empty_buf); in cyapa_empty_pip_output_data()
695 resp_len = get_unaligned_le16(&data[PIP_RESP_LENGTH_OFFSET]); in cyapa_sort_tsg_pip_app_resp_data()
737 resp_len = get_unaligned_le16(&buf[PIP_RESP_LENGTH_OFFSET]); in cyapa_sort_gen5_hid_descriptor_data()
738 max_output_len = get_unaligned_le16(&buf[16]); in cyapa_sort_gen5_hid_descriptor_data()
787 length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); in gen5_idle_state_parse()
807 length = get_unaligned_le16( in gen5_idle_state_parse()
809 max_output_len = get_unaligned_le16(&resp_data[16]); in gen5_idle_state_parse()
851 length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); in gen5_hid_description_header_parse()
852 max_output_len = get_unaligned_le16(&resp_data[16]); in gen5_hid_description_header_parse()
[all …]
/Linux-v5.10/drivers/input/touchscreen/
Dsurface3_spi.c73 get_unaligned_le16(&finger->tracking_id)); in surface3_spi_report_touch()
82 get_unaligned_le16(&finger->x)); in surface3_spi_report_touch()
85 get_unaligned_le16(&finger->y)); in surface3_spi_report_touch()
88 get_unaligned_le16(&finger->width)); in surface3_spi_report_touch()
91 get_unaligned_le16(&finger->height)); in surface3_spi_report_touch()
99 timestamp = get_unaligned_le16(&data[15]); in surface3_spi_process_touch()
150 get_unaligned_le16(&pen->x)); in surface3_spi_report_pen()
153 get_unaligned_le16(&pen->y)); in surface3_spi_report_pen()
156 get_unaligned_le16(&pen->pressure)); in surface3_spi_report_pen()
Dwdt87xx_i2c.c309 rx_len = min_t(size_t, buf_size, get_unaligned_le16(rx_buf)); in wdt87xx_get_feature()
446 param->vendor_id = get_unaligned_le16(buf + DEV_DESC_OFFSET_VID); in wdt87xx_get_sysparam()
447 param->product_id = get_unaligned_le16(buf + DEV_DESC_OFFSET_PID); in wdt87xx_get_sysparam()
455 param->xmls_id1 = get_unaligned_le16(buf + CTL_PARAM_OFFSET_XMLS_ID1); in wdt87xx_get_sysparam()
456 param->xmls_id2 = get_unaligned_le16(buf + CTL_PARAM_OFFSET_XMLS_ID2); in wdt87xx_get_sysparam()
457 param->phy_ch_x = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_CH_X); in wdt87xx_get_sysparam()
458 param->phy_ch_y = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_CH_Y); in wdt87xx_get_sysparam()
459 param->phy_w = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_W) / 10; in wdt87xx_get_sysparam()
460 param->phy_h = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_H) / 10; in wdt87xx_get_sysparam()
464 get_unaligned_le16(buf + CTL_PARAM_OFFSET_FACTOR); in wdt87xx_get_sysparam()
[all …]
Dwacom_i2c.c75 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
76 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
77 features->pressure_max = get_unaligned_le16(&data[11]); in wacom_query_device()
78 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
Dsis_i2c.c118 len = get_unaligned_le16(&buf[SIS_PKT_LEN_OFFSET]); in sis_read_packet()
141 pkg_crc = get_unaligned_le16(&buf[len - 2]); in sis_read_packet()
208 x = get_unaligned_le16(&data[SIS_CONTACT_X_OFFSET]); in sis_ts_report_contact()
209 y = get_unaligned_le16(&data[SIS_CONTACT_Y_OFFSET]); in sis_ts_report_contact()
/Linux-v5.10/lib/pldmfw/
Dpldmfw.c150 data->total_header_size = get_unaligned_le16(&header->size); in pldm_parse_header()
158 get_unaligned_le16(&header->component_bitmap_len); in pldm_parse_header()
276 type = get_unaligned_le16(&__desc->type); in pldm_parse_desc_tlvs()
279 size = get_unaligned_le16(&__desc->size); in pldm_parse_desc_tlvs()
343 record_len = get_unaligned_le16(&__record->record_len); in pldm_parse_one_record()
344 record->package_data_len = get_unaligned_le16(&__record->package_data_len); in pldm_parse_one_record()
423 get_unaligned_le16(&component_area->component_image_count); in pldm_parse_records()
473 component->classification = get_unaligned_le16(&__component->classification); in pldm_parse_components()
474 component->identifier = get_unaligned_le16(&__component->identifier); in pldm_parse_components()
476 component->options = get_unaligned_le16(&__component->options); in pldm_parse_components()
[all …]
Dpldmfw_private.h153 get_unaligned_le16(&(desc)->size)))
188 ((const u8 *)(record) + get_unaligned_le16(&(record)->record_len)))
/Linux-v5.10/fs/cifs/
Dcifs_unicode.c198 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
202 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16()
206 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16()
316 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_utf16_bytes()
320 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_utf16_bytes()
324 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_utf16_bytes()
/Linux-v5.10/drivers/input/joystick/iforce/
Diforce-packets.c165 (__s16) get_unaligned_le16(data)); in iforce_process_packet()
167 (__s16) get_unaligned_le16(data + 2)); in iforce_process_packet()
180 (__s16) get_unaligned_le16(data)); in iforce_process_packet()
206 mark_core_as_ready(iforce, get_unaligned_le16(data + j)); in iforce_process_packet()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Deeprom.c72 if (get_unaligned_le16(efuse + MT_EE_TX_POWER_0_START_2G) == 0) in mt7603_has_cal_free_data()
75 if (get_unaligned_le16(efuse + MT_EE_TX_POWER_1_START_2G) == 0) in mt7603_has_cal_free_data()
139 u16 val = get_unaligned_le16(dev->eeprom.data); in mt7603_check_eeprom()
/Linux-v5.10/drivers/hid/
Dhid-sony.c1010 timestamp = get_unaligned_le16(&rd[offset]); in dualshock4_parse_report()
1648 gyro_pitch_bias = get_unaligned_le16(&buf[1]); in dualshock4_get_calibration_data()
1649 gyro_yaw_bias = get_unaligned_le16(&buf[3]); in dualshock4_get_calibration_data()
1650 gyro_roll_bias = get_unaligned_le16(&buf[5]); in dualshock4_get_calibration_data()
1652 gyro_pitch_plus = get_unaligned_le16(&buf[7]); in dualshock4_get_calibration_data()
1653 gyro_pitch_minus = get_unaligned_le16(&buf[9]); in dualshock4_get_calibration_data()
1654 gyro_yaw_plus = get_unaligned_le16(&buf[11]); in dualshock4_get_calibration_data()
1655 gyro_yaw_minus = get_unaligned_le16(&buf[13]); in dualshock4_get_calibration_data()
1656 gyro_roll_plus = get_unaligned_le16(&buf[15]); in dualshock4_get_calibration_data()
1657 gyro_roll_minus = get_unaligned_le16(&buf[17]); in dualshock4_get_calibration_data()
[all …]
Dhid-uclogic-params.c183 get_unaligned_le16(buf + 2); in uclogic_params_pen_init_v1()
185 get_unaligned_le16(buf + 4); in uclogic_params_pen_init_v1()
187 get_unaligned_le16(buf + 8); in uclogic_params_pen_init_v1()
188 resolution = get_unaligned_le16(buf + 10); in uclogic_params_pen_init_v1()
331 get_unaligned_le16(buf + 8); in uclogic_params_pen_init_v2()
332 resolution = get_unaligned_le16(buf + 10); in uclogic_params_pen_init_v2()
/Linux-v5.10/drivers/net/wireless/ath/
Dhw.c125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
129 REG_WRITE(ah, AR_BSSMSKU, get_unaligned_le16(common->bssidmask + 4)); in ath_hw_setbssidmask()
/Linux-v5.10/net/wireless/
Dradiotap.c111 if (max_length < get_unaligned_le16(&radiotap_header->it_len)) in ieee80211_radiotap_iterator_init()
115 iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len); in ieee80211_radiotap_iterator_init()
293 vnslen = get_unaligned_le16(iterator->_arg + 4); in ieee80211_radiotap_iterator_next()
/Linux-v5.10/lib/lzo/
Dlzo1x_decompress_safe.c163 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
169 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
202 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
/Linux-v5.10/fs/isofs/
Disofs.h86 return get_unaligned_le16(p); in isonum_721()
95 return get_unaligned_le16(p); in isonum_723()
/Linux-v5.10/drivers/bluetooth/
Dbtbcm.c487 vid = get_unaligned_le16(skb->data + 1); in btbcm_initialize()
488 pid = get_unaligned_le16(skb->data + 3); in btbcm_initialize()
583 skb->data[1], get_unaligned_le16(skb->data + 5)); in btbcm_setup_apple()
591 get_unaligned_le16(skb->data + 1), in btbcm_setup_apple()
592 get_unaligned_le16(skb->data + 3)); in btbcm_setup_apple()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c110 val = get_unaligned_le16(efuse + MT_EE_BT_RCAL_RESULT); in mt76x2_apply_cal_free_data()
114 val = get_unaligned_le16(efuse + MT_EE_BT_VCDL_CALIBRATION); in mt76x2_apply_cal_free_data()
118 val = get_unaligned_le16(efuse + MT_EE_BT_PMUCFG); in mt76x2_apply_cal_free_data()
125 u16 val = get_unaligned_le16(dev->mt76.eeprom.data); in mt76x2_check_eeprom()
128 val = get_unaligned_le16(dev->mt76.eeprom.data + MT_EE_PCI_ID); in mt76x2_check_eeprom()
/Linux-v5.10/drivers/input/tablet/
Dgtco.c249 data16 = get_unaligned_le16(&report[i]); in parse_hid_report_descriptor()
702 val = get_unaligned_le16(&device->buffer[1]); in gtco_urb_callback()
705 val = get_unaligned_le16(&device->buffer[3]); in gtco_urb_callback()
770 val = get_unaligned_le16(le_buffer); in gtco_urb_callback()
780 val = get_unaligned_le16(&device->buffer[1]); in gtco_urb_callback()
783 val = get_unaligned_le16(&device->buffer[3]); in gtco_urb_callback()
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dwlan_cfg.c144 wid = get_unaligned_le16(info); in wilc_wlan_parse_response_frame()
162 cfg->hw[i].val = get_unaligned_le16(&info[4]); in wilc_wlan_parse_response_frame()
199 wid = get_unaligned_le16(info); in wilc_wlan_parse_info_frame()
303 u16 size = get_unaligned_le16(cfg->s[i].str); in wilc_wlan_cfg_get_val()

12345678