Searched refs:macstat_snapshot (Results 1 – 3 of 3) sorted by relevance
284 wlc->corestate->macstat_snapshot = in wlc_attach_malloc()286 if (wlc->corestate->macstat_snapshot == NULL) { in wlc_attach_malloc()312 kfree(wlc->corestate->macstat_snapshot); in wlc_detach_mfree()
254 static void wlc_ctrupd_cache(u16 cur_stat, u16 *macstat_snapshot, u32 *macstat);391 memset((char *)wlc->core->macstat_snapshot, 0, in wlc_reset()4712 wlc_ctrupd_cache(u16 cur_stat, u16 *macstat_snapshot, u32 *macstat) in wlc_ctrupd_cache() argument4718 delta = (u16)(v - *macstat_snapshot); in wlc_ctrupd_cache()4722 *macstat_snapshot = v; in wlc_ctrupd_cache()4727 wlc_ctrupd_cache(macstats.name, &wlc->core->macstat_snapshot->name, &wlc->pub->_cnt->name)4745 rxf0ovfl = wlc->core->macstat_snapshot->rxf0ovfl; in wlc_statsupd()4749 txfunfl[i] = wlc->core->macstat_snapshot->txfunfl[i]; in wlc_statsupd()4814 delta = (u16) (wlc->core->macstat_snapshot->rxf0ovfl - rxf0ovfl); in wlc_statsupd()4822 (u16) (wlc->core->macstat_snapshot->txfunfl[i] - in wlc_statsupd()
293 macstat_t *macstat_snapshot; /* mac hw prev read values */ member