Lines Matching refs:cpu_to_le16

176 	host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO  in mwifiex_dnld_cmd_to_fw()
279 cpu_to_le16((HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_sleep_confirm_cmd()
547 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd()
743 cpu_to_le16(HostCmd_CMD_802_11_HS_CFG_ENH))) { in mwifiex_exec_next_cmd()
814 resp->command = cpu_to_le16(orig_cmdresp_no & HostCmd_CMD_ID_MASK); in mwifiex_process_cmdresp()
1154 if (phs_cfg->action == cpu_to_le16(HS_ACTIVATE) && in mwifiex_ret_802_11_hs_cfg()
1254 cmd->command = cpu_to_le16(command); in mwifiex_process_sleep_confirm_resp()
1255 cmd->seq_num = cpu_to_le16(seq_num); in mwifiex_process_sleep_confirm_resp()
1281 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_PS_MODE_ENH); in mwifiex_cmd_enh_power_mode()
1283 psmode_enh->action = cpu_to_le16(DIS_AUTO_PS); in mwifiex_cmd_enh_power_mode()
1284 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1285 cmd->size = cpu_to_le16(S_DS_GEN + sizeof(psmode_enh->action) + in mwifiex_cmd_enh_power_mode()
1288 psmode_enh->action = cpu_to_le16(GET_PS); in mwifiex_cmd_enh_power_mode()
1289 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1290 cmd->size = cpu_to_le16(S_DS_GEN + sizeof(psmode_enh->action) + in mwifiex_cmd_enh_power_mode()
1293 psmode_enh->action = cpu_to_le16(EN_AUTO_PS); in mwifiex_cmd_enh_power_mode()
1294 psmode_enh->params.ps_bitmap = cpu_to_le16(ps_bitmap); in mwifiex_cmd_enh_power_mode()
1303 ps_tlv->header.type = cpu_to_le16(TLV_TYPE_PS_PARAM); in mwifiex_cmd_enh_power_mode()
1304 ps_tlv->header.len = cpu_to_le16(sizeof(*ps_tlv) - in mwifiex_cmd_enh_power_mode()
1310 cpu_to_le16(adapter->null_pkt_interval); in mwifiex_cmd_enh_power_mode()
1312 cpu_to_le16(adapter->multiple_dtim); in mwifiex_cmd_enh_power_mode()
1314 cpu_to_le16(adapter->bcn_miss_time_out); in mwifiex_cmd_enh_power_mode()
1316 cpu_to_le16(adapter->local_listen_interval); in mwifiex_cmd_enh_power_mode()
1318 cpu_to_le16(adapter->adhoc_awake_period); in mwifiex_cmd_enh_power_mode()
1320 cpu_to_le16(adapter->delay_to_ps); in mwifiex_cmd_enh_power_mode()
1321 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1330 cpu_to_le16(TLV_TYPE_AUTO_DS_PARAM); in mwifiex_cmd_enh_power_mode()
1332 cpu_to_le16(sizeof(*auto_ds_tlv) - in mwifiex_cmd_enh_power_mode()
1340 auto_ds_tlv->deep_sleep_timeout = cpu_to_le16(idletime); in mwifiex_cmd_enh_power_mode()
1342 cmd->size = cpu_to_le16(cmd_size); in mwifiex_cmd_enh_power_mode()
1425 cmd->command = cpu_to_le16(HostCmd_CMD_GET_HW_SPEC); in mwifiex_cmd_get_hw_spec()
1427 cpu_to_le16(sizeof(struct host_cmd_ds_get_hw_spec) + S_DS_GEN); in mwifiex_cmd_get_hw_spec()