| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | rtl871x_cmd.c | 175 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_cmd.c | 827 struct cmd_obj* ph2c; in rtw_setstandby_cmd() local 835 ph2c = (struct cmd_obj*)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 836 if (ph2c == NULL) { in rtw_setstandby_cmd() 843 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 850 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 852 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 870 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 892 ph2c = (struct cmd_obj*)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 893 if (ph2c == NULL) in rtw_sitesurvey_cmd() 898 rtw_mfree((unsigned char*) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/ |
| H A D | rtw_cmd.c | 241 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 249 ph2c = kzalloc(sizeof(*ph2c), GFP_ATOMIC); in rtw_sitesurvey_cmd() 250 if (!ph2c) in rtw_sitesurvey_cmd() 255 kfree(ph2c); in rtw_sitesurvey_cmd() 263 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, _SiteSurvey_CMD_); in rtw_sitesurvey_cmd() 295 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 539 struct cmd_obj *ph2c; in rtw_setopmode_cmd() local 544 ph2c = kzalloc(sizeof(*ph2c), GFP_KERNEL); in rtw_setopmode_cmd() 546 if (!ph2c || !psetop) { in rtw_setopmode_cmd() 547 kfree(ph2c); in rtw_setopmode_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_cmd.c | 826 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 834 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 835 if (ph2c == NULL) { in rtw_setstandby_cmd() 842 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 849 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 851 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 869 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 889 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 890 if (ph2c == NULL) in rtw_sitesurvey_cmd() 895 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/ |
| H A D | rtw_cmd.c | 846 struct cmd_obj* ph2c; in rtw_setstandby_cmd() local 854 ph2c = (struct cmd_obj*)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 855 if (ph2c == NULL) { in rtw_setstandby_cmd() 862 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 869 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 871 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 889 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 911 ph2c = (struct cmd_obj*)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 912 if (ph2c == NULL) in rtw_sitesurvey_cmd() 917 rtw_mfree((unsigned char*) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_cmd.c | 813 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 820 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 821 if (ph2c == NULL) { in rtw_setstandby_cmd() 828 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 835 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 837 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 854 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 873 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 874 if (ph2c == NULL) in rtw_sitesurvey_cmd() 879 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_cmd.c | 565 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 574 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 575 if (ph2c == NULL) in rtw_sitesurvey_cmd() 580 kfree(ph2c); in rtw_sitesurvey_cmd() 588 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey)); in rtw_sitesurvey_cmd() 623 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 637 struct cmd_obj *ph2c; in rtw_setdatarate_cmd() local 642 ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setdatarate_cmd() 643 if (ph2c == NULL) { in rtw_setdatarate_cmd() 650 kfree(ph2c); in rtw_setdatarate_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_cmd.c | 810 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 817 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 818 if (ph2c == NULL) { in rtw_setstandby_cmd() 825 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 832 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 834 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 859 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 874 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 875 if (ph2c == NULL) in rtw_sitesurvey_cmd() 880 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_cmd.c | 810 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 817 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 818 if (ph2c == NULL) { in rtw_setstandby_cmd() 825 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 832 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 834 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 859 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 874 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 875 if (ph2c == NULL) in rtw_sitesurvey_cmd() 880 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_cmd.c | 810 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 817 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 818 if (ph2c == NULL) { in rtw_setstandby_cmd() 825 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 832 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 834 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 859 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 874 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 875 if (ph2c == NULL) in rtw_sitesurvey_cmd() 880 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_cmd.c | 809 struct cmd_obj *ph2c; in rtw_setstandby_cmd() local 816 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 817 if (ph2c == NULL) { in rtw_setstandby_cmd() 824 rtw_mfree((u8 *) ph2c, sizeof(struct cmd_obj)); in rtw_setstandby_cmd() 831 init_h2fwcmd_w_parm_no_rsp(ph2c, psetusbsuspend, GEN_CMD_CODE(_SetUsbSuspend)); in rtw_setstandby_cmd() 833 ret = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_setstandby_cmd() 858 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 873 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 874 if (ph2c == NULL) in rtw_sitesurvey_cmd() 879 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1301 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1307 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1308 if (ph2c == NULL){ in rtw_tx_control_cmd() 1315 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 292 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 304 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 305 if (!ph2c) { in rtw_roch_wk_cmd() 321 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 324 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 328 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 334 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 346 if (ph2c) in rtw_roch_wk_cmd() 347 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1363 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1369 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1370 if (ph2c == NULL){ in rtw_tx_control_cmd() 1377 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 292 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 304 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 305 if (!ph2c) { in rtw_roch_wk_cmd() 321 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 324 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 328 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 334 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 346 if (ph2c) in rtw_roch_wk_cmd() 347 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1301 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1307 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1308 if (ph2c == NULL){ in rtw_tx_control_cmd() 1315 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_cmd.c | 825 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 840 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 841 if (ph2c == NULL) in rtw_sitesurvey_cmd() 846 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 857 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 861 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1302 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1308 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1309 if (ph2c == NULL){ in rtw_tx_control_cmd() 1316 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 293 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 305 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 306 if (!ph2c) { in rtw_roch_wk_cmd() 322 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 325 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 329 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 335 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 347 if (ph2c) in rtw_roch_wk_cmd() 348 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1301 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1307 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1308 if (ph2c == NULL){ in rtw_tx_control_cmd() 1315 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 292 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 304 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 305 if (!ph2c) { in rtw_roch_wk_cmd() 321 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 324 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 328 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 334 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 346 if (ph2c) in rtw_roch_wk_cmd() 347 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1363 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1369 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1370 if (ph2c == NULL){ in rtw_tx_control_cmd() 1377 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 292 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 304 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 305 if (!ph2c) { in rtw_roch_wk_cmd() 321 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 324 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 328 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 334 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 346 if (ph2c) in rtw_roch_wk_cmd() 347 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_cmd.c | 821 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 836 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 837 if (ph2c == NULL) in rtw_sitesurvey_cmd() 842 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 853 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 857 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1291 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1297 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1298 if (ph2c == NULL){ in rtw_tx_control_cmd() 1305 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_cmd.c | 824 struct cmd_obj *ph2c; in rtw_sitesurvey_cmd() local 839 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 840 if (ph2c == NULL) in rtw_sitesurvey_cmd() 845 rtw_mfree((unsigned char *) ph2c, sizeof(struct cmd_obj)); in rtw_sitesurvey_cmd() 856 init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, CMD_SITE_SURVEY); in rtw_sitesurvey_cmd() 860 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_sitesurvey_cmd() 1301 struct cmd_obj *ph2c; in rtw_tx_control_cmd() local 1307 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_tx_control_cmd() 1308 if (ph2c == NULL){ in rtw_tx_control_cmd() 1315 rtw_mfree((unsigned char *)ph2c, sizeof(struct cmd_obj)); in rtw_tx_control_cmd() [all …]
|
| H A D | rtw_roch.c | 292 struct cmd_obj *ph2c = NULL; in rtw_roch_wk_cmd() local 304 ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_roch_wk_cmd() 305 if (!ph2c) { in rtw_roch_wk_cmd() 321 init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, CMD_SET_DRV_EXTRA); in rtw_roch_wk_cmd() 324 ph2c->sctx = &sctx; in rtw_roch_wk_cmd() 328 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_roch_wk_cmd() 334 ph2c->sctx = NULL; in rtw_roch_wk_cmd() 346 if (ph2c) in rtw_roch_wk_cmd() 347 rtw_mfree((u8 *)ph2c, sizeof(*ph2c)); in rtw_roch_wk_cmd()
|