Lines Matching defs:bf
64 struct ath_buf *bf, int rateidx)
66 struct sk_buff *skb = bf->bf_mpdu;
75 ds = bf->bf_desc;
95 true, true, ds, bf->bf_buf_addr,
113 struct ath_buf *bf;
131 bf = avp->av_bcbuf;
132 skb = bf->bf_mpdu;
134 dma_unmap_single(sc->dev, bf->bf_dmacontext,
142 bf->bf_mpdu = skb;
160 bf->bf_buf_addr = bf->bf_dmacontext =
163 if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) {
165 bf->bf_mpdu = NULL;
193 ath_beacon_setup(sc, avp, bf, info->control.rates[0].idx);
200 return bf;
208 struct ath_buf *bf;
247 bf = avp->av_bcbuf;
248 if (bf->bf_mpdu != NULL) {
249 skb = bf->bf_mpdu;
250 dma_unmap_single(sc->dev, bf->bf_dmacontext,
253 bf->bf_mpdu = NULL;
293 bf->bf_mpdu = skb;
294 bf->bf_buf_addr = bf->bf_dmacontext =
297 if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) {
299 bf->bf_mpdu = NULL;
311 struct ath_buf *bf;
319 bf = avp->av_bcbuf;
320 if (bf->bf_mpdu != NULL) {
321 struct sk_buff *skb = bf->bf_mpdu;
322 dma_unmap_single(sc->dev, bf->bf_dmacontext,
325 bf->bf_mpdu = NULL;
327 list_add_tail(&bf->list, &sc->beacon.bbuf);
338 struct ath_buf *bf = NULL;
405 bf = ath_beacon_generate(aphy->hw, vif);
406 if (bf != NULL) {
407 bfaddr = bf->bf_daddr;