/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 58 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 …]
|
D | rtl8712_cmd.c | 323 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()
|
D | rtl871x_cmd.h | 94 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);
|
D | rtl8712_xmit.c | 284 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()
|
D | rtl871x_pwrctrl.c | 102 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cpwm_int_hdl() local 111 complete(&(pcmdpriv->cmd_queue_comp)); in r8712_cpwm_int_hdl()
|
D | rtl871x_mp.c | 278 struct cmd_priv *pcmdpriv = &pAdapter->cmdpriv; in r8712_SetChannel() local 293 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
|
D | rtl871x_mlme.c | 1195 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/ |
D | rtw_cmd.c | 165 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() 187 …pcmdpriv->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 …]
|
D | rtw_mlme_ext.c | 5039 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 …]
|
D | rtw_ap.c | 1573 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()
|
D | rtw_mlme.c | 2265 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/ |
D | rtw_cmd.c | 20 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 …]
|
D | rtw_mlme_ext.c | 4188 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 …]
|
D | rtw_mlme.c | 1544 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/ |
D | cmd_osdep.h | 11 extern sint _rtw_init_cmd_priv (struct cmd_priv *pcmdpriv); 14 extern void _rtw_free_cmd_priv (struct cmd_priv *pcmdpriv);
|
D | rtw_cmd.h | 126 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/ |
D | rtw_cmd.h | 51 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/ |
D | ioctl_linux.c | 2082 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/ |
D | os_intfs.c | 1190 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_dev_unload() local 1210 while (atomic_read(&(pcmdpriv->cmdthd_running)) == true) { in rtw_dev_unload()
|