Searched refs:pevtpriv (Results 1 – 5 of 5) sorted by relevance
12 int rtw_init_evt_priv(struct evt_priv *pevtpriv);13 extern void _rtw_free_evt_priv(struct evt_priv *pevtpriv);
134 extern void rtw_free_evt_priv(struct evt_priv *pevtpriv);135 extern void rtw_evt_notify_isr(struct evt_priv *pevtpriv);
76 int r8712_init_evt_priv(struct evt_priv *pevtpriv) in r8712_init_evt_priv() argument79 pevtpriv->event_seq = 0; in r8712_init_evt_priv()80 pevtpriv->evt_allocated_buf = kmalloc(MAX_EVTSZ + 4, GFP_ATOMIC); in r8712_init_evt_priv()82 if (!pevtpriv->evt_allocated_buf) in r8712_init_evt_priv()84 pevtpriv->evt_buf = pevtpriv->evt_allocated_buf + 4 - in r8712_init_evt_priv()85 ((addr_t)(pevtpriv->evt_allocated_buf) & 3); in r8712_init_evt_priv()86 pevtpriv->evt_done_cnt = 0; in r8712_init_evt_priv()90 void r8712_free_evt_priv(struct evt_priv *pevtpriv) in r8712_free_evt_priv() argument92 kfree(pevtpriv->evt_allocated_buf); in r8712_free_evt_priv()
89 int r8712_init_evt_priv(struct evt_priv *pevtpriv);90 void r8712_free_evt_priv(struct evt_priv *pevtpriv);
203 int rtw_init_evt_priv(struct evt_priv *pevtpriv) in rtw_init_evt_priv() argument206 atomic_set(&pevtpriv->event_seq, 0); in rtw_init_evt_priv()207 pevtpriv->evt_done_cnt = 0; in rtw_init_evt_priv()209 _init_workitem(&pevtpriv->c2h_wk, c2h_wk_callback, NULL); in rtw_init_evt_priv()210 pevtpriv->c2h_wk_alive = false; in rtw_init_evt_priv()211 pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN+1); in rtw_init_evt_priv()212 if (!pevtpriv->c2h_queue) in rtw_init_evt_priv()218 void _rtw_free_evt_priv(struct evt_priv *pevtpriv) in _rtw_free_evt_priv() argument222 _cancel_workitem_sync(&pevtpriv->c2h_wk); in _rtw_free_evt_priv()223 while (pevtpriv->c2h_wk_alive) in _rtw_free_evt_priv()[all …]