Home
last modified time | relevance | path

Searched refs:cmd_obj (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_cmd.c133 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in read_macreg_hdl()
134 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_macreg_hdl()
147 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in write_macreg_hdl()
148 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_macreg_hdl()
162 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in read_bbreg_hdl()
163 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_bbreg_hdl()
177 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in write_bbreg_hdl()
178 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_bbreg_hdl()
191 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in read_rfreg_hdl()
192 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_rfreg_hdl()
[all …]
Drtl871x_cmd.c122 static sint _enqueue_cmd(struct __queue *queue, struct cmd_obj *obj) in _enqueue_cmd()
134 static struct cmd_obj *_dequeue_cmd(struct __queue *queue) in _dequeue_cmd()
137 struct cmd_obj *obj; in _dequeue_cmd()
144 struct cmd_obj, list); in _dequeue_cmd()
171 u32 r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj) in r8712_enqueue_cmd()
182 u32 r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj) in r8712_enqueue_cmd_ex()
199 struct cmd_obj *r8712_dequeue_cmd(struct __queue *queue) in r8712_dequeue_cmd()
204 void r8712_free_cmd_obj(struct cmd_obj *pcmd) in r8712_free_cmd_obj()
225 struct cmd_obj *ph2c; in r8712_sitesurvey_cmd()
259 struct cmd_obj *ph2c; in r8712_setdatarate_cmd()
[all …]
Drtl871x_cmd.h42 struct cmd_obj { struct
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);
96 struct cmd_obj *r8712_dequeue_cmd(struct __queue *queue);
97 void r8712_free_cmd_obj(struct cmd_obj *pcmd);
746 struct cmd_obj *pcmd);
748 struct cmd_obj *pcmd);
750 struct cmd_obj *pcmd);
752 struct cmd_obj *pcmd);
754 struct cmd_obj *pcmd);
[all …]
Drtl871x_mp.c279 struct cmd_obj *pcmd = NULL; in r8712_SetChannel()
Drtl871x_mlme.c1208 struct cmd_obj *pcmd; in r8712_set_auth()
1236 struct cmd_obj *pcmd; in r8712_set_key()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_cmd.c52 static int _rtw_enqueue_cmd(struct __queue *queue, struct cmd_obj *obj) in _rtw_enqueue_cmd()
72 struct cmd_obj *rtw_dequeue_cmd(struct __queue *queue) in rtw_dequeue_cmd()
75 struct cmd_obj *obj; in rtw_dequeue_cmd()
82 obj = container_of((&queue->queue)->next, struct cmd_obj, list); in rtw_dequeue_cmd()
92 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument
99 if (cmd_obj->cmdcode == GEN_CMD_CODE(_Set_Drv_Extra)) { in rtw_cmd_filter()
100 struct drvextra_cmd_parm *pdrvextra_cmd_parm = (struct drvextra_cmd_parm *)cmd_obj->parmbuf; in rtw_cmd_filter()
107 if (cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan)) in rtw_cmd_filter()
116 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd() argument
122 if (cmd_obj == NULL) in rtw_enqueue_cmd()
[all …]
Drtw_mlme_ext.c4275 struct cmd_obj *pcmd_obj; in report_survey_event()
4290 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_survey_event()
4334 struct cmd_obj *pcmd_obj; in report_surveydone_event()
4342 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in report_surveydone_event()
4379 struct cmd_obj *pcmd_obj; in report_join_res()
4388 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_join_res()
4431 struct cmd_obj *pcmd_obj; in report_del_sta_event()
4441 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in report_del_sta_event()
4488 struct cmd_obj *pcmd_obj; in report_add_sta_event()
4496 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in report_add_sta_event()
[all …]
Drtw_mlme.c1590 struct cmd_obj *pcmd; in rtw_set_auth()
1595 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_set_auth()
1626 struct cmd_obj *pcmd; in rtw_set_key()
1632 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_set_key()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_cmd.c204 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument
209 if (cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan)) in rtw_cmd_filter()
219 int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd23a() argument
223 if (!cmd_obj) in rtw_enqueue_cmd23a()
226 cmd_obj->padapter = pcmdpriv->padapter; in rtw_enqueue_cmd23a()
228 res = rtw_cmd_filter(pcmdpriv, cmd_obj); in rtw_enqueue_cmd23a()
230 rtw_free_cmd_obj23a(cmd_obj); in rtw_enqueue_cmd23a()
234 INIT_WORK(&cmd_obj->work, rtw_cmd_work); in rtw_enqueue_cmd23a()
236 res = queue_work(pcmdpriv->wq, &cmd_obj->work); in rtw_enqueue_cmd23a()
249 void rtw_free_cmd_obj23a(struct cmd_obj *pcmd) in rtw_free_cmd_obj23a()
[all …]
Drtw_mlme_ext.c4711 struct cmd_obj *pcmd_obj; in report_survey_event23a()
4725 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_survey_event23a()
4768 struct cmd_obj *pcmd_obj; in report_surveydone_event23a()
4776 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_surveydone_event23a()
4811 struct cmd_obj *pcmd_obj; in report_join_res23a()
4820 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_join_res23a()
4860 struct cmd_obj *pcmd_obj; in report_del_sta_event23a()
4870 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_del_sta_event23a()
4916 struct cmd_obj *pcmd_obj; in report_add_sta_event23a()
4924 pcmd_obj = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in report_add_sta_event23a()
[all …]
Drtw_mlme.c1741 struct cmd_obj *pcmd; in rtw_set_auth23a()
1746 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_set_auth23a()
1782 struct cmd_obj *pcmd; in rtw_set_key23a()
1793 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_set_key23a()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Drtw_cmd.h35 struct cmd_obj { struct
64 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); argument
65 struct cmd_obj *rtw_dequeue_cmd(struct __queue *queue);
66 void rtw_free_cmd_obj(struct cmd_obj *pcmd);
368 void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
369 void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
370 void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
371 void rtw_createbss_cmd_callback(struct adapter *adapt, struct cmd_obj *pcmd);
372 void rtw_readtssi_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cmd);
374 void rtw_setstaKey_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cmd);
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_cmd.h33 struct cmd_obj { struct
93 int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
94 void rtw_free_cmd_obj23a(struct cmd_obj *pcmd);
723 void rtw_survey_cmd_callback23a(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
724 void rtw_disassoc_cmd23a_callback(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
725 void rtw_joinbss_cmd23a_callback(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
726 void rtw_createbss_cmd23a_callback(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
727 void rtw_getbbrfreg_cmdrsp_callback23a(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
729 void rtw_setstaKey_cmdrsp_callback23a(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
730 void rtw_setassocsta_cmdrsp_callback23a(struct rtw_adapter *padapter, struct cmd_obj *pcmd);
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c390 struct cmd_obj *ph2c; in set_pairwise_key()
395 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in set_pairwise_key()
425 struct cmd_obj *pcmd; in set_group_key()
437 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in set_group_key()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c2117 struct cmd_obj *ph2c; in set_pairwise_key()
2122 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in set_pairwise_key()
2153 struct cmd_obj *pcmd; in set_group_key()
2160 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in set_group_key()