Home
last modified time | relevance | path

Searched refs:sleep_cfm_buf (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dinit.c216 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = NULL; in mwifiex_init_adapter() local
288 sleep_cfm_buf = (struct mwifiex_opt_sleep_confirm *) in mwifiex_init_adapter()
290 memset(sleep_cfm_buf, 0, adapter->sleep_cfm->len); in mwifiex_init_adapter()
291 sleep_cfm_buf->command = cpu_to_le16(HostCmd_CMD_802_11_PS_MODE_ENH); in mwifiex_init_adapter()
292 sleep_cfm_buf->size = cpu_to_le16(adapter->sleep_cfm->len); in mwifiex_init_adapter()
293 sleep_cfm_buf->result = 0; in mwifiex_init_adapter()
294 sleep_cfm_buf->action = cpu_to_le16(SLEEP_CONFIRM); in mwifiex_init_adapter()
295 sleep_cfm_buf->resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_init_adapter()
Dcmdevt.c318 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = in mwifiex_dnld_sleep_confirm_cmd() local
326 sleep_cfm_buf->seq_num = in mwifiex_dnld_sleep_confirm_cmd()
333 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
334 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd()
335 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd()
336 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
337 mwifiex_dbg_dump(adapter, CMD_D, "SLEEP_CFM buffer: ", sleep_cfm_buf, in mwifiex_dnld_sleep_confirm_cmd()
338 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd()
368 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd()
374 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl) && in mwifiex_dnld_sleep_confirm_cmd()