Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dinit.c215 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = NULL; in mwifiex_init_adapter() local
287 sleep_cfm_buf = (struct mwifiex_opt_sleep_confirm *) in mwifiex_init_adapter()
289 memset(sleep_cfm_buf, 0, adapter->sleep_cfm->len); in mwifiex_init_adapter()
290 sleep_cfm_buf->command = cpu_to_le16(HostCmd_CMD_802_11_PS_MODE_ENH); in mwifiex_init_adapter()
291 sleep_cfm_buf->size = cpu_to_le16(adapter->sleep_cfm->len); in mwifiex_init_adapter()
292 sleep_cfm_buf->result = 0; in mwifiex_init_adapter()
293 sleep_cfm_buf->action = cpu_to_le16(SLEEP_CONFIRM); in mwifiex_init_adapter()
294 sleep_cfm_buf->resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_init_adapter()
Dcmdevt.c316 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = in mwifiex_dnld_sleep_confirm_cmd() local
324 sleep_cfm_buf->seq_num = in mwifiex_dnld_sleep_confirm_cmd()
331 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
332 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd()
333 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd()
334 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
335 mwifiex_dbg_dump(adapter, CMD_D, "SLEEP_CFM buffer: ", sleep_cfm_buf, in mwifiex_dnld_sleep_confirm_cmd()
336 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd()
372 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd()
378 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl) && in mwifiex_dnld_sleep_confirm_cmd()