Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c225 struct cmd_obj *ph2c; in r8712_sitesurvey_cmd() local
230 ph2c = kmalloc(sizeof(*ph2c), GFP_ATOMIC); in r8712_sitesurvey_cmd()
231 if (!ph2c) in r8712_sitesurvey_cmd()
235 kfree(ph2c); in r8712_sitesurvey_cmd()
238 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, in r8712_sitesurvey_cmd()
249 r8712_enqueue_cmd(pcmdpriv, ph2c); in r8712_sitesurvey_cmd()
259 struct cmd_obj *ph2c; in r8712_setdatarate_cmd() local
263 ph2c = kmalloc(sizeof(*ph2c), GFP_ATOMIC); in r8712_setdatarate_cmd()
264 if (!ph2c) in r8712_setdatarate_cmd()
268 kfree(ph2c); in r8712_setdatarate_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c238 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local
246 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_sitesurvey_cmd()
247 if (!ph2c) in rtw_sitesurvey_cmd()
252 kfree(ph2c); in rtw_sitesurvey_cmd()
260 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, _SiteSurvey_CMD_); in rtw_sitesurvey_cmd()
291 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd()
525 struct cmd_obj *ph2c; in rtw_setopmode_cmd() local
530 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_setopmode_cmd()
532 if (!ph2c || !psetop) { in rtw_setopmode_cmd()
533 kfree(ph2c); in rtw_setopmode_cmd()
[all …]
Drtw_mlme_ext.c4765 struct cmd_obj *ph2c; in survey_timer_hdl() local
4783 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in survey_timer_hdl()
4784 if (!ph2c) in survey_timer_hdl()
4789 kfree(ph2c); in survey_timer_hdl()
4793 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, _SiteSurvey_CMD_); in survey_timer_hdl()
4794 rtw_enqueue_cmd(pcmdpriv, ph2c); in survey_timer_hdl()
5340 struct cmd_obj *ph2c; in set_tx_beacon_cmd() local
5348 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in set_tx_beacon_cmd()
5349 if (!ph2c) { in set_tx_beacon_cmd()
5357 kfree(ph2c); in set_tx_beacon_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c599 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local
608 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd()
609 if (ph2c == NULL) in rtw_sitesurvey_cmd()
614 kfree(ph2c); in rtw_sitesurvey_cmd()
622 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd()
657 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd()
671 struct cmd_obj *ph2c; in rtw_setdatarate_cmd() local
676 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setdatarate_cmd()
677 if (ph2c == NULL) { in rtw_setdatarate_cmd()
684 kfree(ph2c); in rtw_setdatarate_cmd()
[all …]
Drtw_ap.c1571 struct cmd_obj *ph2c; in rtw_ap_set_pairwise_key() local
1576 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_ap_set_pairwise_key()
1577 if (ph2c == NULL) { in rtw_ap_set_pairwise_key()
1584 kfree((u8 *) ph2c); in rtw_ap_set_pairwise_key()
1589 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in rtw_ap_set_pairwise_key()
1599 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key()
Drtw_mlme_ext.c5831 struct cmd_obj *ph2c; in survey_timer_hdl() local
5855 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in survey_timer_hdl()
5856 if (ph2c == NULL) { in survey_timer_hdl()
5862 kfree((unsigned char *)ph2c); in survey_timer_hdl()
5866 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in survey_timer_hdl()
5867 rtw_enqueue_cmd(pcmdpriv, ph2c); in survey_timer_hdl()
6605 struct cmd_obj *ph2c; in chk_bmc_sleepq_cmd() local
6609 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in chk_bmc_sleepq_cmd()
6610 if (ph2c == NULL) { in chk_bmc_sleepq_cmd()
6615 init_h2fwcmd_w_parm_no_parm_rsp(ph2c, GEN_CMD_CODE(_ChkBMCSleepq)); in chk_bmc_sleepq_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c2080 struct cmd_obj *ph2c; in set_pairwise_key() local
2085 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in set_pairwise_key()
2086 if (!ph2c) { in set_pairwise_key()
2093 kfree(ph2c); in set_pairwise_key()
2098 init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); in set_pairwise_key()
2106 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in set_pairwise_key()