/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 46 int r8712_init_cmd_priv(struct cmd_priv *pcmdpriv) in r8712_init_cmd_priv() argument 48 init_completion(&pcmdpriv->cmd_queue_comp); in r8712_init_cmd_priv() 49 init_completion(&pcmdpriv->terminate_cmdthread_comp); in r8712_init_cmd_priv() 51 _init_queue(&(pcmdpriv->cmd_queue)); in r8712_init_cmd_priv() 54 pcmdpriv->cmd_seq = 1; in r8712_init_cmd_priv() 55 pcmdpriv->cmd_allocated_buf = kmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in r8712_init_cmd_priv() 57 if (!pcmdpriv->cmd_allocated_buf) in r8712_init_cmd_priv() 59 pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - in r8712_init_cmd_priv() 60 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in r8712_init_cmd_priv() 62 pcmdpriv->rsp_allocated_buf = kmalloc(MAX_RSPSZ + 4, GFP_ATOMIC); in r8712_init_cmd_priv() [all …]
|
D | rtl8712_cmd.c | 262 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in r8712_cmd_thread() local 264 &pcmdpriv->cmd_queue_comp; in r8712_cmd_thread() 276 pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); in r8712_cmd_thread() 281 pcmdbuf = (__le32 *)pcmdpriv->cmd_buf; in r8712_cmd_thread() 290 pcmdpriv->cmd_issued_cnt++; in r8712_cmd_thread() 318 (pcmdpriv->cmd_seq << 24)); in r8712_cmd_thread() 325 pcmdpriv->cmd_seq++; in r8712_cmd_thread() 341 if (list_empty(&pcmdpriv->cmd_queue.queue)) { in r8712_cmd_thread() 354 pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); in r8712_cmd_thread() 359 complete(&pcmdpriv->terminate_cmdthread_comp); in r8712_cmd_thread()
|
D | rtl871x_cmd.h | 81 void r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 82 void r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 86 int r8712_init_cmd_priv(struct cmd_priv *pcmdpriv); 87 void r8712_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
D | rtl8712_xmit.c | 270 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in r8712_construct_txaggr_cmd_hdr() local 277 (pcmdpriv->cmd_seq << 24)); in r8712_construct_txaggr_cmd_hdr() 278 pcmdpriv->cmd_seq++; in r8712_construct_txaggr_cmd_hdr() 407 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in update_txdesc() local 468 (pcmdpriv->cmd_seq << 24); in update_txdesc() 469 pcmdpriv->cmd_seq++; in update_txdesc()
|
D | rtl871x_pwrctrl.c | 90 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cpwm_int_hdl() local 99 complete(&(pcmdpriv->cmd_queue_comp)); in r8712_cpwm_int_hdl()
|
D | rtl871x_mp.c | 263 struct cmd_priv *pcmdpriv = &pAdapter->cmdpriv; in r8712_SetChannel() local 278 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
|
D | rtl871x_mlme.c | 1121 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local 1141 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth() 1149 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local 1213 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 162 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument 164 init_completion(&pcmdpriv->cmd_queue_comp); in rtw_init_cmd_priv() 165 init_completion(&pcmdpriv->terminate_cmdthread_comp); in rtw_init_cmd_priv() 167 INIT_LIST_HEAD(&pcmdpriv->cmd_queue.queue); in rtw_init_cmd_priv() 168 spin_lock_init(&pcmdpriv->cmd_queue.lock); in rtw_init_cmd_priv() 172 pcmdpriv->cmd_seq = 1; in rtw_init_cmd_priv() 174 pcmdpriv->cmd_allocated_buf = rtw_zmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ); in rtw_init_cmd_priv() 176 if (!pcmdpriv->cmd_allocated_buf) in rtw_init_cmd_priv() 179 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in rtw_init_cmd_priv() 181 pcmdpriv->rsp_allocated_buf = rtw_zmalloc(MAX_RSPSZ + 4); in rtw_init_cmd_priv() [all …]
|
D | rtw_mlme_ext.c | 4404 struct cmd_priv *pcmdpriv; in report_survey_event() local 4412 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 4449 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 4465 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 4495 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 4510 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 4545 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 4559 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_wmm_edca_update() local 4589 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_wmm_edca_update() 4605 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local [all …]
|
D | rtw_ap.c | 1270 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_ap_set_pairwise_key() local 1294 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key() 1312 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in rtw_ap_set_key() local 1359 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_ap_set_key()
|
D | rtw_mlme.c | 1884 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local 1910 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1921 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local 1982 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | cmd_osdep.h | 11 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv); 14 extern void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
D | rtw_cmd.h | 110 int rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 111 extern struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv); 117 extern void rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 1019 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_dev_unload() local 1034 while (atomic_read(&pcmdpriv->cmdthd_running)) { in rtw_dev_unload()
|