Home
last modified time | relevance | path

Searched refs:pcmdpriv (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c58 static sint _init_cmd_priv(struct cmd_priv *pcmdpriv) in _init_cmd_priv() argument
60 init_completion(&pcmdpriv->cmd_queue_comp); in _init_cmd_priv()
61 init_completion(&pcmdpriv->terminate_cmdthread_comp); in _init_cmd_priv()
63 _init_queue(&(pcmdpriv->cmd_queue)); in _init_cmd_priv()
66 pcmdpriv->cmd_seq = 1; in _init_cmd_priv()
67 pcmdpriv->cmd_allocated_buf = kmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in _init_cmd_priv()
69 if (!pcmdpriv->cmd_allocated_buf) in _init_cmd_priv()
71 pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - in _init_cmd_priv()
72 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in _init_cmd_priv()
74 pcmdpriv->rsp_allocated_buf = kmalloc(MAX_RSPSZ + 4, GFP_ATOMIC); in _init_cmd_priv()
[all …]
Drtl8712_cmd.c323 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in r8712_cmd_thread() local
325 &pcmdpriv->cmd_queue_comp; in r8712_cmd_thread()
337 pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); in r8712_cmd_thread()
342 pcmdbuf = (__le32 *)pcmdpriv->cmd_buf; in r8712_cmd_thread()
351 pcmdpriv->cmd_issued_cnt++; in r8712_cmd_thread()
379 (pcmdpriv->cmd_seq << 24)); in r8712_cmd_thread()
393 pcmdpriv->cmd_seq++; in r8712_cmd_thread()
409 if (list_empty(&pcmdpriv->cmd_queue.queue)) { in r8712_cmd_thread()
422 pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); in r8712_cmd_thread()
427 complete(&pcmdpriv->terminate_cmdthread_comp); in r8712_cmd_thread()
Drtl871x_cmd.h94 u32 r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
95 u32 r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
99 u32 r8712_init_cmd_priv(struct cmd_priv *pcmdpriv);
100 void r8712_free_cmd_priv(struct cmd_priv *pcmdpriv);
Drtl8712_xmit.c284 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_construct_txaggr_cmd_hdr() local
291 (pcmdpriv->cmd_seq << 24)); in r8712_construct_txaggr_cmd_hdr()
292 pcmdpriv->cmd_seq++; in r8712_construct_txaggr_cmd_hdr()
431 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in update_txdesc() local
492 (pcmdpriv->cmd_seq << 24); in update_txdesc()
493 pcmdpriv->cmd_seq++; in update_txdesc()
Drtl871x_pwrctrl.c102 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cpwm_int_hdl() local
111 complete(&(pcmdpriv->cmd_queue_comp)); in r8712_cpwm_int_hdl()
Drtl871x_mp.c278 struct cmd_priv *pcmdpriv = &pAdapter->cmdpriv; in r8712_SetChannel() local
293 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
Drtl871x_mlme.c1195 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local
1215 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth()
1223 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local
1287 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c165 sint _rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in _rtw_init_cmd_priv() argument
169 sema_init(&(pcmdpriv->cmd_queue_sema), 0); in _rtw_init_cmd_priv()
171 sema_init(&(pcmdpriv->terminate_cmdthread_sema), 0); in _rtw_init_cmd_priv()
174 _rtw_init_queue(&(pcmdpriv->cmd_queue)); in _rtw_init_cmd_priv()
178 pcmdpriv->cmd_seq = 1; in _rtw_init_cmd_priv()
180 pcmdpriv->cmd_allocated_buf = rtw_zmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ); in _rtw_init_cmd_priv()
182 if (pcmdpriv->cmd_allocated_buf == NULL) { in _rtw_init_cmd_priv()
187pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in _rtw_init_cmd_priv()
189 pcmdpriv->rsp_allocated_buf = rtw_zmalloc(MAX_RSPSZ + 4); in _rtw_init_cmd_priv()
191 if (pcmdpriv->rsp_allocated_buf == NULL) { in _rtw_init_cmd_priv()
[all …]
Drtw_mlme_ext.c5039 struct cmd_priv *pcmdpriv; in report_survey_event() local
5047 pcmdpriv = &padapter->cmdpriv; in report_survey_event()
5084 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event()
5100 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local
5132 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event()
5147 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local
5184 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res()
5198 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_wmm_edca_update() local
5228 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_wmm_edca_update()
5244 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local
[all …]
Drtw_ap.c1573 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_ap_set_pairwise_key() local
1599 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key()
1618 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in rtw_ap_set_key() local
1671 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_ap_set_key()
Drtw_mlme.c2265 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local
2295 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth()
2306 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local
2378 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c20 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument
22 init_completion(&pcmdpriv->cmd_queue_comp); in rtw_init_cmd_priv()
23 init_completion(&pcmdpriv->terminate_cmdthread_comp); in rtw_init_cmd_priv()
25 _rtw_init_queue(&pcmdpriv->cmd_queue); in rtw_init_cmd_priv()
70 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument
75 if ((pcmdpriv->padapter->pwrctrlpriv.bHWPwrPindetect) && in rtw_cmd_filter()
76 (!pcmdpriv->padapter->registrypriv.usbss_enable)) { in rtw_cmd_filter()
88 if ((!pcmdpriv->padapter->hw_init_completed && !bAllow) || in rtw_cmd_filter()
89 !pcmdpriv->cmdthd_running) /* com_thread not running */ in rtw_cmd_filter()
94 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd() argument
[all …]
Drtw_mlme_ext.c4188 struct cmd_priv *pcmdpriv; in report_survey_event() local
4194 pcmdpriv = &padapter->cmdpriv; in report_survey_event()
4231 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event()
4244 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local
4276 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event()
4288 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local
4324 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res()
4338 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local
4379 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_del_sta_event()
4391 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event() local
[all …]
Drtw_mlme.c1544 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local
1569 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth()
1579 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local
1645 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dcmd_osdep.h11 extern sint _rtw_init_cmd_priv (struct cmd_priv *pcmdpriv);
14 extern void _rtw_free_cmd_priv (struct cmd_priv *pcmdpriv);
Drtw_cmd.h126 extern u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
127 extern struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv);
133 extern u32 rtw_init_cmd_priv (struct cmd_priv *pcmdpriv);
134 extern void rtw_free_cmd_priv (struct cmd_priv *pcmdpriv);
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_cmd.h51 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
57 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c2082 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_pairwise_key() local
2106 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in set_pairwise_key()
2118 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in set_group_key() local
2165 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in set_group_key()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c1190 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_dev_unload() local
1210 while (atomic_read(&(pcmdpriv->cmdthd_running)) == true) { in rtw_dev_unload()