Lines Matching refs:le16_to_cpu
158 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw()
159 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw()
202 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)), cmd_size, in mwifiex_dnld_cmd_to_fw()
203 le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
244 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)); in mwifiex_dnld_cmd_to_fw()
285 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
286 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd()
287 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd()
288 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
319 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd()
325 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl) && in mwifiex_dnld_sleep_confirm_cmd()
630 le16_to_cpu(host_cmd->command), in mwifiex_recycle_cmd_node()
655 command = le16_to_cpu(host_cmd->command); in mwifiex_insert_cmd_to_pending_q()
661 if ((le16_to_cpu(pm->action) == DIS_PS) || in mwifiex_insert_cmd_to_pending_q()
662 (le16_to_cpu(pm->action) == DIS_AUTO_PS)) { in mwifiex_insert_cmd_to_pending_q()
776 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
785 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
796 uint16_t size = le16_to_cpu(resp->size); in mwifiex_process_cmdresp()
805 orig_cmdresp_no = le16_to_cpu(resp->command); in mwifiex_process_cmdresp()
809 HostCmd_GET_BSS_NO(le16_to_cpu(resp->seq_num)), in mwifiex_process_cmdresp()
810 HostCmd_GET_BSS_TYPE(le16_to_cpu(resp->seq_num))); in mwifiex_process_cmdresp()
816 cmdresp_no = le16_to_cpu(resp->command); in mwifiex_process_cmdresp()
817 cmdresp_result = le16_to_cpu(resp->result); in mwifiex_process_cmdresp()
828 le16_to_cpu(resp->size), le16_to_cpu(resp->seq_num)); in mwifiex_process_cmdresp()
1210 uint16_t result = le16_to_cpu(cmd->result); in mwifiex_process_sleep_confirm_resp()
1211 uint16_t command = le16_to_cpu(cmd->command); in mwifiex_process_sleep_confirm_resp()
1212 uint16_t seq_num = le16_to_cpu(cmd->seq_num); in mwifiex_process_sleep_confirm_resp()
1221 command, result, le16_to_cpu(cmd->size), seq_num); in mwifiex_process_sleep_confirm_resp()
1361 uint16_t action = le16_to_cpu(ps_mode->action); in mwifiex_ret_enh_power_mode()
1362 uint16_t ps_bitmap = le16_to_cpu(ps_mode->params.ps_bitmap); in mwifiex_ret_enh_power_mode()
1364 le16_to_cpu(ps_mode->params.ps_bitmap); in mwifiex_ret_enh_power_mode()
1498 adapter->number_of_antenna = le16_to_cpu(hw_spec->number_of_antenna); in mwifiex_ret_get_hw_spec()
1520 resp_size = le16_to_cpu(resp->size) - S_DS_GEN; in mwifiex_ret_get_hw_spec()
1526 switch (le16_to_cpu(tlv->type)) { in mwifiex_ret_get_hw_spec()
1529 api_id = le16_to_cpu(api_rev->api_id); in mwifiex_ret_get_hw_spec()
1558 le16_to_cpu(tlv->type)); in mwifiex_ret_get_hw_spec()
1561 parsed_len += le16_to_cpu(tlv->len) + in mwifiex_ret_get_hw_spec()
1563 left_len -= le16_to_cpu(tlv->len) + in mwifiex_ret_get_hw_spec()
1574 le16_to_cpu(hw_spec->hw_if_version), in mwifiex_ret_get_hw_spec()
1575 le16_to_cpu(hw_spec->version)); in mwifiex_ret_get_hw_spec()
1578 adapter->region_code = le16_to_cpu(hw_spec->region_code); in mwifiex_ret_get_hw_spec()
1598 le16_to_cpu(hw_spec->mp_end_port)); in mwifiex_ret_get_hw_spec()