pevtpriv 76 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_init_evt_priv(struct evt_priv *pevtpriv) pevtpriv 79 drivers/staging/rtl8712/rtl871x_cmd.c pevtpriv->event_seq = 0; pevtpriv 80 drivers/staging/rtl8712/rtl871x_cmd.c pevtpriv->evt_allocated_buf = kmalloc(MAX_EVTSZ + 4, GFP_ATOMIC); pevtpriv 82 drivers/staging/rtl8712/rtl871x_cmd.c if (!pevtpriv->evt_allocated_buf) pevtpriv 84 drivers/staging/rtl8712/rtl871x_cmd.c pevtpriv->evt_buf = pevtpriv->evt_allocated_buf + 4 - pevtpriv 85 drivers/staging/rtl8712/rtl871x_cmd.c ((addr_t)(pevtpriv->evt_allocated_buf) & 3); pevtpriv 86 drivers/staging/rtl8712/rtl871x_cmd.c pevtpriv->evt_done_cnt = 0; pevtpriv 90 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_free_evt_priv(struct evt_priv *pevtpriv) pevtpriv 92 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pevtpriv->evt_allocated_buf); pevtpriv 89 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_init_evt_priv(struct evt_priv *pevtpriv); pevtpriv 90 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_free_evt_priv(struct evt_priv *pevtpriv); pevtpriv 205 drivers/staging/rtl8723bs/core/rtw_cmd.c int rtw_init_evt_priv(struct evt_priv *pevtpriv) pevtpriv 208 drivers/staging/rtl8723bs/core/rtw_cmd.c atomic_set(&pevtpriv->event_seq, 0); pevtpriv 209 drivers/staging/rtl8723bs/core/rtw_cmd.c pevtpriv->evt_done_cnt = 0; pevtpriv 211 drivers/staging/rtl8723bs/core/rtw_cmd.c _init_workitem(&pevtpriv->c2h_wk, c2h_wk_callback, NULL); pevtpriv 212 drivers/staging/rtl8723bs/core/rtw_cmd.c pevtpriv->c2h_wk_alive = false; pevtpriv 213 drivers/staging/rtl8723bs/core/rtw_cmd.c pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN+1); pevtpriv 214 drivers/staging/rtl8723bs/core/rtw_cmd.c if (!pevtpriv->c2h_queue) pevtpriv 220 drivers/staging/rtl8723bs/core/rtw_cmd.c void _rtw_free_evt_priv(struct evt_priv *pevtpriv) pevtpriv 224 drivers/staging/rtl8723bs/core/rtw_cmd.c _cancel_workitem_sync(&pevtpriv->c2h_wk); pevtpriv 225 drivers/staging/rtl8723bs/core/rtw_cmd.c while (pevtpriv->c2h_wk_alive) pevtpriv 228 drivers/staging/rtl8723bs/core/rtw_cmd.c while (!rtw_cbuf_empty(pevtpriv->c2h_queue)) { pevtpriv 229 drivers/staging/rtl8723bs/core/rtw_cmd.c void *c2h = rtw_cbuf_pop(pevtpriv->c2h_queue); pevtpriv 230 drivers/staging/rtl8723bs/core/rtw_cmd.c if (c2h != NULL && c2h != (void *)pevtpriv) { pevtpriv 234 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(pevtpriv->c2h_queue); pevtpriv 299 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_free_evt_priv(struct evt_priv *pevtpriv) pevtpriv 302 drivers/staging/rtl8723bs/core/rtw_cmd.c _rtw_free_evt_priv(pevtpriv); pevtpriv 12 drivers/staging/rtl8723bs/include/cmd_osdep.h int rtw_init_evt_priv(struct evt_priv *pevtpriv); pevtpriv 13 drivers/staging/rtl8723bs/include/cmd_osdep.h extern void _rtw_free_evt_priv (struct evt_priv *pevtpriv); pevtpriv 134 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_free_evt_priv (struct evt_priv *pevtpriv); pevtpriv 135 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_evt_notify_isr(struct evt_priv *pevtpriv);