Lines Matching refs:tbf
334 struct ath_buf *tbf; in arn_clone_txbuf() local
339 tbf = list_head(&sc->sc_txbuf_list); in arn_clone_txbuf()
340 list_remove(&sc->sc_txbuf_list, tbf); in arn_clone_txbuf()
343 ATH_TXBUF_RESET(tbf); in arn_clone_txbuf()
345 tbf->bf_daddr = bf->bf_daddr; /* physical addr of desc */ in arn_clone_txbuf()
346 tbf->bf_dma = bf->bf_dma; /* dma area for buf */ in arn_clone_txbuf()
347 *(tbf->bf_desc) = *(bf->bf_desc); /* virtual addr of desc */ in arn_clone_txbuf()
348 tbf->bf_state = bf->bf_state; /* buffer state */ in arn_clone_txbuf()
350 return (tbf); in arn_clone_txbuf()
464 struct ath_buf *tbf; in arn_tx_complete_aggr() local
466 tbf = arn_clone_txbuf(sc, bf_last); in arn_tx_complete_aggr()
467 ath9k_hw_cleartxdesc(sc->sc_ah, tbf->bf_desc); in arn_tx_complete_aggr()
468 list_insert_tail(&list, tbf); in arn_tx_complete_aggr()