/linux-6.1.9/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 | 1120 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local 1140 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth() 1148 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local 1212 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_cmd.c | 57 u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument 59 init_completion(&pcmdpriv->enqueue_cmd); in rtw_init_cmd_priv() 61 init_completion(&pcmdpriv->start_cmd_thread); in rtw_init_cmd_priv() 62 init_completion(&pcmdpriv->stop_cmd_thread); in rtw_init_cmd_priv() 64 rtw_init_queue(&pcmdpriv->cmd_queue); in rtw_init_cmd_priv() 68 pcmdpriv->cmd_seq = 1; in rtw_init_cmd_priv() 70 pcmdpriv->cmd_allocated_buf = kzalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in rtw_init_cmd_priv() 73 if (!pcmdpriv->cmd_allocated_buf) in rtw_init_cmd_priv() 76 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((size_t)(pcmdpriv->cmd_all… in rtw_init_cmd_priv() 78 pcmdpriv->rsp_allocated_buf = kzalloc(MAX_RSPSZ + 4, GFP_KERNEL); in rtw_init_cmd_priv() [all …]
|
D | rtw_mlme_ext.c | 6640 struct cmd_priv *pcmdpriv; in report_survey_event() local 6648 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 6685 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 6698 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 6728 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 6740 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 6774 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 6787 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local 6826 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_del_sta_event() 6837 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event() local [all …]
|
D | rtw_mlme.c | 1560 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_auth() local 1582 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1593 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_key() local 1648 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
D | rtw_p2p.c | 1648 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in p2p_ps_wk_cmd() local 1674 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in p2p_ps_wk_cmd()
|
/linux-6.1.9/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 | 4406 struct cmd_priv *pcmdpriv; in report_survey_event() local 4414 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 4451 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 4467 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 4497 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 4512 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 4547 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 4561 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_wmm_edca_update() local 4591 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_wmm_edca_update() 4607 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local [all …]
|
D | rtw_ap.c | 1271 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_ap_set_pairwise_key() local 1295 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key() 1313 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in rtw_ap_set_key() local 1360 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_ap_set_key()
|
D | rtw_mlme.c | 1894 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local 1920 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1931 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local 1992 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/linux-6.1.9/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.1.9/drivers/staging/r8188eu/include/ |
D | rtw_cmd.h | 79 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 80 struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv); 85 u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv); 86 void rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
/linux-6.1.9/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()
|