Lines Matching refs:le16_to_cpu

161 	cmd_code = le16_to_cpu(host_cmd->command);  in mwifiex_dnld_cmd_to_fw()
162 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw()
204 le16_to_cpu(*(__le16 *)((u8 *)host_cmd + S_DS_GEN)), in mwifiex_dnld_cmd_to_fw()
205 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
248 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)); in mwifiex_dnld_cmd_to_fw()
289 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
290 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd()
291 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd()
292 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
294 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd()
325 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd()
331 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl) && in mwifiex_dnld_sleep_confirm_cmd()
653 le16_to_cpu(host_cmd->command), in mwifiex_recycle_cmd_node()
678 command = le16_to_cpu(host_cmd->command); in mwifiex_insert_cmd_to_pending_q()
684 if ((le16_to_cpu(pm->action) == DIS_PS) || in mwifiex_insert_cmd_to_pending_q()
685 (le16_to_cpu(pm->action) == DIS_AUTO_PS)) { in mwifiex_insert_cmd_to_pending_q()
803 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
813 uint16_t size = le16_to_cpu(resp->size); in mwifiex_process_cmdresp()
823 orig_cmdresp_no = le16_to_cpu(resp->command); in mwifiex_process_cmdresp()
827 HostCmd_GET_BSS_NO(le16_to_cpu(resp->seq_num)), in mwifiex_process_cmdresp()
828 HostCmd_GET_BSS_TYPE(le16_to_cpu(resp->seq_num))); in mwifiex_process_cmdresp()
834 cmdresp_no = le16_to_cpu(resp->command); in mwifiex_process_cmdresp()
835 cmdresp_result = le16_to_cpu(resp->result); in mwifiex_process_cmdresp()
846 le16_to_cpu(resp->size), le16_to_cpu(resp->seq_num)); in mwifiex_process_cmdresp()
848 le16_to_cpu(resp->size)); in mwifiex_process_cmdresp()
1255 uint16_t result = le16_to_cpu(cmd->result); in mwifiex_process_sleep_confirm_resp()
1256 uint16_t command = le16_to_cpu(cmd->command); in mwifiex_process_sleep_confirm_resp()
1257 uint16_t seq_num = le16_to_cpu(cmd->seq_num); in mwifiex_process_sleep_confirm_resp()
1267 command, result, le16_to_cpu(cmd->size), seq_num); in mwifiex_process_sleep_confirm_resp()
1409 uint16_t action = le16_to_cpu(ps_mode->action); in mwifiex_ret_enh_power_mode()
1410 uint16_t ps_bitmap = le16_to_cpu(ps_mode->params.ps_bitmap); in mwifiex_ret_enh_power_mode()
1412 le16_to_cpu(ps_mode->params.ps_bitmap); in mwifiex_ret_enh_power_mode()
1551 adapter->number_of_antenna = le16_to_cpu(hw_spec->number_of_antenna); in mwifiex_ret_get_hw_spec()
1573 resp_size = le16_to_cpu(resp->size) - S_DS_GEN; in mwifiex_ret_get_hw_spec()
1579 switch (le16_to_cpu(tlv->type)) { in mwifiex_ret_get_hw_spec()
1582 api_id = le16_to_cpu(api_rev->api_id); in mwifiex_ret_get_hw_spec()
1611 le16_to_cpu(tlv->type)); in mwifiex_ret_get_hw_spec()
1614 parsed_len += le16_to_cpu(tlv->len) + in mwifiex_ret_get_hw_spec()
1616 left_len -= le16_to_cpu(tlv->len) + in mwifiex_ret_get_hw_spec()
1629 le16_to_cpu(hw_spec->hw_if_version), in mwifiex_ret_get_hw_spec()
1630 le16_to_cpu(hw_spec->version)); in mwifiex_ret_get_hw_spec()
1633 adapter->region_code = le16_to_cpu(hw_spec->region_code); in mwifiex_ret_get_hw_spec()
1653 le16_to_cpu(hw_spec->mp_end_port)); in mwifiex_ret_get_hw_spec()