Searched refs:pcmdpriv (Results 1 – 12 of 12) sorted by relevance
/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 | 321 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cmd_thread() local 325 if (wait_for_completion_interruptible(&pcmdpriv->cmd_queue_comp)) in r8712_cmd_thread() 332 pcmd = r8712_dequeue_cmd(&(pcmdpriv->cmd_queue)); in r8712_cmd_thread() 337 pcmdbuf = (unsigned int *)pcmdpriv->cmd_buf; in r8712_cmd_thread() 345 pcmdpriv->cmd_issued_cnt++; in r8712_cmd_thread() 373 (pcmdpriv->cmd_seq << 24)); in r8712_cmd_thread() 387 pcmdpriv->cmd_seq++; in r8712_cmd_thread() 405 if (list_empty(&pcmdpriv->cmd_queue.queue)) { in r8712_cmd_thread() 418 pcmd = r8712_dequeue_cmd(&(pcmdpriv->cmd_queue)); in r8712_cmd_thread() 423 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 | 1202 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local 1222 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth() 1230 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local 1294 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 28 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument 30 init_completion(&pcmdpriv->cmd_queue_comp); in rtw_init_cmd_priv() 31 init_completion(&pcmdpriv->terminate_cmdthread_comp); in rtw_init_cmd_priv() 33 _rtw_init_queue(&(pcmdpriv->cmd_queue)); in rtw_init_cmd_priv() 81 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument 86 if ((pcmdpriv->padapter->pwrctrlpriv.bHWPwrPindetect) && in rtw_cmd_filter() 87 (!pcmdpriv->padapter->registrypriv.usbss_enable)) { in rtw_cmd_filter() 99 if ((!pcmdpriv->padapter->hw_init_completed && !bAllow) || in rtw_cmd_filter() 100 !pcmdpriv->cmdthd_running) /* com_thread not running */ in rtw_cmd_filter() 105 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd() argument [all …]
|
D | rtw_mlme_ext.c | 4221 struct cmd_priv *pcmdpriv; in report_survey_event() local 4227 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 4265 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 4278 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 4310 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 4322 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 4360 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 4373 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local 4415 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_del_sta_event() 4426 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event() local [all …]
|
D | rtw_mlme.c | 1563 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local 1589 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1599 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local 1667 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_cmd.h | 59 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 65 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2111 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_pairwise_key() local 2135 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in set_pairwise_key() 2147 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in set_group_key() local 2196 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in set_group_key()
|