Lines Matching defs:avp
118 struct ath_vif *avp = (void *)vif->drv_priv;
125 if (avp->av_bcbuf == NULL)
128 bf = avp->av_bcbuf;
145 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust;
153 ath9k_beacon_add_noa(sc, avp, skb);
198 struct ath_vif *avp = (void *)vif->drv_priv;
201 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list);
202 list_del(&avp->av_bcbuf->list);
206 avp->av_bslot = slot;
211 sc->beacon.bslot[avp->av_bslot] = vif;
214 avp->av_bslot);
220 struct ath_vif *avp = (void *)vif->drv_priv;
221 struct ath_buf *bf = avp->av_bcbuf;
224 avp->av_bslot);
237 avp->av_bcbuf = NULL;
238 sc->beacon.bslot[avp->av_bslot] = NULL;
248 struct ath_vif *avp;
273 avp = (void *)vif->drv_priv;
274 avp->av_bslot = slot;
286 avp = (void *)vif->drv_priv;
287 tsfadjust = le64_to_cpu(avp->tsf_adjust);
294 avp->chanctx->tsf_val += tsfadjust;
295 if (sc->cur_chan == avp->chanctx) {
296 offset = ath9k_hw_get_tsf_offset(avp->chanctx->tsf_ts, 0);
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset);
342 struct ath_vif *avp;
347 avp = (void *)sc->beacon.bslot[slot]->drv_priv;
354 tsfadjust = cur_conf->beacon_interval * avp->av_bslot;
356 avp->tsf_adjust = cpu_to_le64(tsfadjust);
359 (signed long long)tsfadjust, avp->av_bslot);
630 struct ath_vif *avp;
646 avp = (void *)main_vif->drv_priv;
647 ctx = avp->chanctx;