/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 | 82 void r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 83 void r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 87 int r8712_init_cmd_priv(struct cmd_priv *pcmdpriv); 88 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() 408 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in update_txdesc() local 469 (pcmdpriv->cmd_seq << 24); in update_txdesc() 470 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_mlme.c | 1149 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local 1169 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth() 1177 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local 1241 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
|
D | rtl871x_mp.c | 263 struct cmd_priv *pcmdpriv = &pAdapter->cmdpriv; in r8712_SetChannel() local 278 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 166 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument 168 init_completion(&pcmdpriv->cmd_queue_comp); in rtw_init_cmd_priv() 169 init_completion(&pcmdpriv->terminate_cmdthread_comp); in rtw_init_cmd_priv() 171 _rtw_init_queue(&(pcmdpriv->cmd_queue)); in rtw_init_cmd_priv() 175 pcmdpriv->cmd_seq = 1; in rtw_init_cmd_priv() 177 pcmdpriv->cmd_allocated_buf = rtw_zmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ); in rtw_init_cmd_priv() 179 if (!pcmdpriv->cmd_allocated_buf) in rtw_init_cmd_priv() 182 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in rtw_init_cmd_priv() 184 pcmdpriv->rsp_allocated_buf = rtw_zmalloc(MAX_RSPSZ + 4); in rtw_init_cmd_priv() 186 if (!pcmdpriv->rsp_allocated_buf) { in rtw_init_cmd_priv() [all …]
|
D | rtw_mlme_ext.c | 5021 struct cmd_priv *pcmdpriv; in report_survey_event() local 5029 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 5066 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 5082 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 5114 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 5129 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 5166 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 5180 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_wmm_edca_update() local 5210 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_wmm_edca_update() 5226 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local [all …]
|
D | rtw_ap.c | 1447 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_ap_set_pairwise_key() local 1471 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in rtw_ap_set_pairwise_key() 1489 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in rtw_ap_set_key() local 1538 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_ap_set_key()
|
D | rtw_mlme.c | 2132 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local 2160 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 2171 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local 2239 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/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 | 4161 struct cmd_priv *pcmdpriv; in report_survey_event() local 4167 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 4204 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 4217 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 4249 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 4261 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 4297 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 4311 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local 4352 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_del_sta_event() 4364 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event() local [all …]
|
D | rtw_mlme.c | 1520 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_auth() local 1545 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1555 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_key() local 1624 return rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/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 | 125 int rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 126 extern struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv); 132 extern void rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
/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);
|
/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 1132 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in rtw_dev_unload() local 1152 while (atomic_read(&pcmdpriv->cmdthd_running)) { in rtw_dev_unload()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2055 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_pairwise_key() local 2079 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in set_pairwise_key() 2091 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_group_key() local 2138 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in set_group_key()
|