Home
last modified time | relevance | path

Searched refs:ph2c (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/staging/rtl8712/
Drtl871x_cmd.c175 struct cmd_obj *ph2c; in r8712_sitesurvey_cmd() local
180 ph2c = kmalloc(sizeof(*ph2c), GFP_ATOMIC); in r8712_sitesurvey_cmd()
181 if (!ph2c) in r8712_sitesurvey_cmd()
185 kfree(ph2c); in r8712_sitesurvey_cmd()
188 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in r8712_sitesurvey_cmd()
201 r8712_enqueue_cmd(pcmdpriv, ph2c); in r8712_sitesurvey_cmd()
211 struct cmd_obj *ph2c; in r8712_setdatarate_cmd() local
215 ph2c = kmalloc(sizeof(*ph2c), GFP_ATOMIC); in r8712_setdatarate_cmd()
216 if (!ph2c) in r8712_setdatarate_cmd()
220 kfree(ph2c); in r8712_setdatarate_cmd()
[all …]
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_cmd.c355 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local
361 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_setstandby_cmd()
362 if (!ph2c) { in rtw_setstandby_cmd()
369 kfree(ph2c); in rtw_setstandby_cmd()
376 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd()
378 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd()
394 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local
407 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_sitesurvey_cmd()
408 if (!ph2c) in rtw_sitesurvey_cmd()
413 kfree(ph2c); in rtw_sitesurvey_cmd()
[all …]
Drtw_p2p.c1690 struct cmd_obj *ph2c; in p2p_ps_wk_cmd() local
1700 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in p2p_ps_wk_cmd()
1701 if (!ph2c) { in p2p_ps_wk_cmd()
1708 kfree(ph2c); in p2p_ps_wk_cmd()
1717 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, GEN_CMD_CODE(_Set_Drv_Extra)); in p2p_ps_wk_cmd()
1719 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in p2p_ps_wk_cmd()
Drtw_mlme_ext.c7523 struct cmd_obj *ph2c; in survey_timer_hdl() local
7557 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in survey_timer_hdl()
7558 if (!ph2c) in survey_timer_hdl()
7563 kfree(ph2c); in survey_timer_hdl()
7567 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()
7568 rtw_enqueue_cmd(pcmdpriv, ph2c); in survey_timer_hdl()
8125 struct cmd_obj *ph2c; in set_tx_beacon_cmd() local
8133 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in set_tx_beacon_cmd()
8134 if (!ph2c) { in set_tx_beacon_cmd()
8141 kfree(ph2c); in set_tx_beacon_cmd()
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_cmd.c540 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local
548 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd()
549 if (ph2c == NULL) in rtw_sitesurvey_cmd()
554 kfree(ph2c); in rtw_sitesurvey_cmd()
560 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
591 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd()
605 struct cmd_obj *ph2c; in rtw_setdatarate_cmd() local
610 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setdatarate_cmd()
611 if (ph2c == NULL) { in rtw_setdatarate_cmd()
618 kfree(ph2c); in rtw_setdatarate_cmd()
[all …]
Drtw_ap.c1266 struct cmd_obj *ph2c; in rtw_ap_set_pairwise_key() local
1271 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_ap_set_pairwise_key()
1272 if (!ph2c) { in rtw_ap_set_pairwise_key()
1279 kfree(ph2c); in rtw_ap_set_pairwise_key()
1284 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1292 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key()
Drtw_mlme_ext.c5132 struct cmd_obj *ph2c; in survey_timer_hdl() local
5149 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in survey_timer_hdl()
5150 if (ph2c == NULL) { in survey_timer_hdl()
5156 kfree(ph2c); in survey_timer_hdl()
5160 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()
5161 rtw_enqueue_cmd(pcmdpriv, ph2c); in survey_timer_hdl()
5779 struct cmd_obj *ph2c; in chk_bmc_sleepq_cmd() local
5783 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in chk_bmc_sleepq_cmd()
5784 if (ph2c == NULL) { in chk_bmc_sleepq_cmd()
5789 init_h2fwcmd_w_parm_no_parm_rsp(ph2c, GEN_CMD_CODE(_ChkBMCSleepq)); in chk_bmc_sleepq_cmd()
[all …]