Home
last modified time | relevance | path

Searched refs:pevtpriv (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dcmd_osdep.h12 extern sint _rtw_init_evt_priv(struct evt_priv *pevtpriv);
13 extern void _rtw_free_evt_priv (struct evt_priv *pevtpriv);
Drtw_cmd.h136 extern u32 rtw_init_evt_priv (struct evt_priv *pevtpriv);
137 extern void rtw_free_evt_priv (struct evt_priv *pevtpriv);
138 extern void rtw_evt_notify_isr(struct evt_priv *pevtpriv);
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c88 static sint _init_evt_priv(struct evt_priv *pevtpriv) in _init_evt_priv() argument
91 pevtpriv->event_seq = 0; in _init_evt_priv()
92 pevtpriv->evt_allocated_buf = kmalloc(MAX_EVTSZ + 4, GFP_ATOMIC); in _init_evt_priv()
94 if (!pevtpriv->evt_allocated_buf) in _init_evt_priv()
96 pevtpriv->evt_buf = pevtpriv->evt_allocated_buf + 4 - in _init_evt_priv()
97 ((addr_t)(pevtpriv->evt_allocated_buf) & 3); in _init_evt_priv()
98 pevtpriv->evt_done_cnt = 0; in _init_evt_priv()
102 static void _free_evt_priv(struct evt_priv *pevtpriv) in _free_evt_priv() argument
104 kfree(pevtpriv->evt_allocated_buf); in _free_evt_priv()
156 u32 r8712_init_evt_priv(struct evt_priv *pevtpriv) in r8712_init_evt_priv() argument
[all …]
Drtl871x_cmd.h101 u32 r8712_init_evt_priv(struct evt_priv *pevtpriv);
102 void r8712_free_evt_priv(struct evt_priv *pevtpriv);
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c206 sint _rtw_init_evt_priv(struct evt_priv *pevtpriv) in _rtw_init_evt_priv() argument
211 atomic_set(&pevtpriv->event_seq, 0); in _rtw_init_evt_priv()
212 pevtpriv->evt_done_cnt = 0; in _rtw_init_evt_priv()
214 _init_workitem(&pevtpriv->c2h_wk, c2h_wk_callback, NULL); in _rtw_init_evt_priv()
215 pevtpriv->c2h_wk_alive = false; in _rtw_init_evt_priv()
216 pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN+1); in _rtw_init_evt_priv()
221 void _rtw_free_evt_priv(struct evt_priv *pevtpriv) in _rtw_free_evt_priv() argument
225 _cancel_workitem_sync(&pevtpriv->c2h_wk); in _rtw_free_evt_priv()
226 while (pevtpriv->c2h_wk_alive) in _rtw_free_evt_priv()
229 while (!rtw_cbuf_empty(pevtpriv->c2h_queue)) { in _rtw_free_evt_priv()
[all …]