Lines Matching refs:cpu_to_le16
177 host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_cmd_to_fw()
283 cpu_to_le16((HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_sleep_confirm_cmd()
566 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd()
769 cpu_to_le16(HostCmd_CMD_802_11_HS_CFG_ENH))) { in mwifiex_exec_next_cmd()
832 resp->command = cpu_to_le16(orig_cmdresp_no & HostCmd_CMD_ID_MASK); in mwifiex_process_cmdresp()
1196 if (phs_cfg->action == cpu_to_le16(HS_ACTIVATE) && in mwifiex_ret_802_11_hs_cfg()
1301 cmd->command = cpu_to_le16(command); in mwifiex_process_sleep_confirm_resp()
1302 cmd->seq_num = cpu_to_le16(seq_num); in mwifiex_process_sleep_confirm_resp()
1328 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_PS_MODE_ENH); in mwifiex_cmd_enh_power_mode()
1330 psmode_enh->action = cpu_to_le16(DIS_AUTO_PS); in mwifiex_cmd_enh_power_mode()
1331 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1332 cmd->size = cpu_to_le16(S_DS_GEN + sizeof(psmode_enh->action) + in mwifiex_cmd_enh_power_mode()
1335 psmode_enh->action = cpu_to_le16(GET_PS); in mwifiex_cmd_enh_power_mode()
1336 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1337 cmd->size = cpu_to_le16(S_DS_GEN + sizeof(psmode_enh->action) + in mwifiex_cmd_enh_power_mode()
1340 psmode_enh->action = cpu_to_le16(EN_AUTO_PS); in mwifiex_cmd_enh_power_mode()
1341 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1350 ps_tlv->header.type = cpu_to_le16(TLV_TYPE_PS_PARAM); in mwifiex_cmd_enh_power_mode()
1351 ps_tlv->header.len = cpu_to_le16(sizeof(*ps_tlv) - in mwifiex_cmd_enh_power_mode()
1358 cpu_to_le16(adapter->null_pkt_interval); in mwifiex_cmd_enh_power_mode()
1360 cpu_to_le16(adapter->multiple_dtim); in mwifiex_cmd_enh_power_mode()
1362 cpu_to_le16(adapter->bcn_miss_time_out); in mwifiex_cmd_enh_power_mode()
1364 cpu_to_le16(adapter->local_listen_interval); in mwifiex_cmd_enh_power_mode()
1366 cpu_to_le16(adapter->adhoc_awake_period); in mwifiex_cmd_enh_power_mode()
1368 cpu_to_le16(adapter->delay_to_ps); in mwifiex_cmd_enh_power_mode()
1369 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1378 cpu_to_le16(TLV_TYPE_AUTO_DS_PARAM); in mwifiex_cmd_enh_power_mode()
1380 cpu_to_le16(sizeof(*auto_ds_tlv) - in mwifiex_cmd_enh_power_mode()
1388 auto_ds_tlv->deep_sleep_timeout = cpu_to_le16(idletime); in mwifiex_cmd_enh_power_mode()
1390 cmd->size = cpu_to_le16(cmd_size); in mwifiex_cmd_enh_power_mode()
1478 cmd->command = cpu_to_le16(HostCmd_CMD_GET_HW_SPEC); in mwifiex_cmd_get_hw_spec()
1480 cpu_to_le16(sizeof(struct host_cmd_ds_get_hw_spec) + S_DS_GEN); in mwifiex_cmd_get_hw_spec()