Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/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-6.1.9/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-6.1.9/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()
70 u16 length = get_unaligned_le16(cdw10 + 8); in nvmet_trace_read_write()
71 u16 control = get_unaligned_le16(cdw10 + 10); in nvmet_trace_read_write()
155 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect()
156 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect()
157 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect()
/linux-6.1.9/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()
696 resp_len = get_unaligned_le16(&data[PIP_RESP_LENGTH_OFFSET]); in cyapa_sort_tsg_pip_app_resp_data()
738 resp_len = get_unaligned_le16(&buf[PIP_RESP_LENGTH_OFFSET]); in cyapa_sort_gen5_hid_descriptor_data()
739 max_output_len = get_unaligned_le16(&buf[16]); in cyapa_sort_gen5_hid_descriptor_data()
788 length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); in gen5_idle_state_parse()
808 length = get_unaligned_le16( in gen5_idle_state_parse()
810 max_output_len = get_unaligned_le16(&resp_data[16]); in gen5_idle_state_parse()
852 length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); in gen5_hid_description_header_parse()
853 max_output_len = get_unaligned_le16(&resp_data[16]); in gen5_hid_description_header_parse()
[all …]
/linux-6.1.9/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-6.1.9/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()
148 get_unaligned_le16(&pen->x)); in surface3_spi_report_pen()
151 get_unaligned_le16(&pen->y)); in surface3_spi_report_pen()
154 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 …]
Dgoodix.c354 input_x = get_unaligned_le16(&data[4]); in goodix_ts_report_pen_down()
355 input_y = get_unaligned_le16(&data[6]); in goodix_ts_report_pen_down()
356 input_w = get_unaligned_le16(&data[8]); in goodix_ts_report_pen_down()
358 input_x = get_unaligned_le16(&data[2]); in goodix_ts_report_pen_down()
359 input_y = get_unaligned_le16(&data[4]); in goodix_ts_report_pen_down()
360 input_w = get_unaligned_le16(&data[6]); in goodix_ts_report_pen_down()
397 int input_x = get_unaligned_le16(&coor_data[1]); in goodix_ts_report_touch_8b()
398 int input_y = get_unaligned_le16(&coor_data[3]); in goodix_ts_report_touch_8b()
399 int input_w = get_unaligned_le16(&coor_data[5]); in goodix_ts_report_touch_8b()
412 int input_x = get_unaligned_le16(&coor_data[3]); in goodix_ts_report_touch_9b()
[all …]
Dwacom_i2c.c93 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
94 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
95 features->pressure_max = get_unaligned_le16(&data[11]); in wacom_query_device()
96 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
Dilitek_ts_i2c.c192 x = get_unaligned_le16(buf + i * packet_len + 2); in ilitek_process_and_report_v6()
193 y = get_unaligned_le16(buf + i * packet_len + 4); in ilitek_process_and_report_v6()
258 ts->mcu_ver = get_unaligned_le16(outbuf); in api_protocol_get_mcu_ver()
292 ts->screen_min_x = get_unaligned_le16(outbuf); in api_protocol_get_scrn_res()
293 ts->screen_min_y = get_unaligned_le16(outbuf + 2); in api_protocol_get_scrn_res()
294 ts->screen_max_x = get_unaligned_le16(outbuf + 4); in api_protocol_get_scrn_res()
295 ts->screen_max_y = get_unaligned_le16(outbuf + 6); in api_protocol_get_scrn_res()
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-6.1.9/drivers/platform/surface/aggregator/
Dssh_parser.c32 u16 expected = get_unaligned_le16(crc); in sshp_validate_crc()
43 return src->len >= 2 && get_unaligned_le16(src->ptr) == SSH_MSG_SYN; in sshp_starts_with_syn()
74 if (likely(get_unaligned_le16(src->ptr + i) == SSH_MSG_SYN)) { in sshp_find_syn()
151 sp.len = get_unaligned_le16(&((struct ssh_frame *)sf.ptr)->len); in sshp_parse_frame()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_fd.c58 return get_unaligned_le16(&urb_cmd->es58x_fd_urb_cmd.msg_len); in es58x_fd_get_msg_len()
68 u16 msg_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_echo_msg()
103 u16 rx_can_msg_buf_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_rx_can_msg()
172 u16 msg_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_rx_event_msg()
191 u16 msg_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_rx_cmd_ret_u32()
208 u16 msg_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_tx_ack_msg()
217 get_unaligned_le16(&tx_ack_msg->tx_free_entries), in es58x_fd_tx_ack_msg()
269 u16 msg_len = get_unaligned_le16(&es58x_fd_urb_cmd->msg_len); in es58x_fd_device_cmd_id()
Des581_4.c36 return get_unaligned_le16(&urb_cmd->es581_4_urb_cmd.msg_len); in es581_4_get_msg_len()
52 msg_len = get_unaligned_le16(&es581_4_urb_cmd->msg_len) - in es581_4_echo_msg()
180 u16 msg_len = get_unaligned_le16(&es581_4_urb_cmd->msg_len); in es581_4_rx_cmd_ret_u32()
204 u16 msg_len = get_unaligned_le16(&es581_4_urb_cmd->msg_len); in es581_4_tx_ack_msg()
223 get_unaligned_le16(&tx_ack_msg->tx_free_entries), in es581_4_tx_ack_msg()
231 u16 msg_len = get_unaligned_le16(&es581_4_urb_cmd->msg_len); in es581_4_dispatch_rx_cmd()
/linux-6.1.9/fs/cifs/
Dcifs_unicode.c197 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
201 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16()
205 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16()
315 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_utf16_bytes()
319 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_utf16_bytes()
323 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_utf16_bytes()
/linux-6.1.9/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-6.1.9/drivers/hid/
Dhid-playstation.c738 gyro_pitch_bias = get_unaligned_le16(&buf[1]); in dualsense_get_calibration_data()
739 gyro_yaw_bias = get_unaligned_le16(&buf[3]); in dualsense_get_calibration_data()
740 gyro_roll_bias = get_unaligned_le16(&buf[5]); in dualsense_get_calibration_data()
741 gyro_pitch_plus = get_unaligned_le16(&buf[7]); in dualsense_get_calibration_data()
742 gyro_pitch_minus = get_unaligned_le16(&buf[9]); in dualsense_get_calibration_data()
743 gyro_yaw_plus = get_unaligned_le16(&buf[11]); in dualsense_get_calibration_data()
744 gyro_yaw_minus = get_unaligned_le16(&buf[13]); in dualsense_get_calibration_data()
745 gyro_roll_plus = get_unaligned_le16(&buf[15]); in dualsense_get_calibration_data()
746 gyro_roll_minus = get_unaligned_le16(&buf[17]); in dualsense_get_calibration_data()
747 gyro_speed_plus = get_unaligned_le16(&buf[19]); in dualsense_get_calibration_data()
[all …]
Dhid-sony.c1108 timestamp = get_unaligned_le16(&rd[offset]); in dualshock4_parse_report()
1793 gyro_pitch_bias = get_unaligned_le16(&buf[1]); in dualshock4_get_calibration_data()
1794 gyro_yaw_bias = get_unaligned_le16(&buf[3]); in dualshock4_get_calibration_data()
1795 gyro_roll_bias = get_unaligned_le16(&buf[5]); in dualshock4_get_calibration_data()
1797 gyro_pitch_plus = get_unaligned_le16(&buf[7]); in dualshock4_get_calibration_data()
1798 gyro_pitch_minus = get_unaligned_le16(&buf[9]); in dualshock4_get_calibration_data()
1799 gyro_yaw_plus = get_unaligned_le16(&buf[11]); in dualshock4_get_calibration_data()
1800 gyro_yaw_minus = get_unaligned_le16(&buf[13]); in dualshock4_get_calibration_data()
1801 gyro_roll_plus = get_unaligned_le16(&buf[15]); in dualshock4_get_calibration_data()
1802 gyro_roll_minus = get_unaligned_le16(&buf[17]); in dualshock4_get_calibration_data()
[all …]
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dwlan_cfg.c146 wid = get_unaligned_le16(info); in wilc_wlan_parse_response_frame()
164 cfg->hw[i].val = get_unaligned_le16(&info[4]); in wilc_wlan_parse_response_frame()
185 get_unaligned_le16(&info[2]) + 2); in wilc_wlan_parse_response_frame()
187 len = 2 + get_unaligned_le16(&info[2]); in wilc_wlan_parse_response_frame()
202 wid = get_unaligned_le16(info); in wilc_wlan_parse_info_frame()
306 u16 size = get_unaligned_le16(cfg->s[i].str); in wilc_wlan_cfg_get_val()
/linux-6.1.9/drivers/hid/surface-hid/
Dsurface_hid_core.c138 size_t len = get_unaligned_le16(&shid->hid_desc.report_desc_len); in surface_hid_parse()
207 shid->hid->vendor = get_unaligned_le16(&shid->attrs.vendor); in surface_hid_device_add()
208 shid->hid->product = get_unaligned_le16(&shid->attrs.product); in surface_hid_device_add()
209 shid->hid->version = get_unaligned_le16(&shid->hid_desc.hid_version); in surface_hid_device_add()
/linux-6.1.9/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-6.1.9/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()

123456789