Home
last modified time | relevance | path

Searched refs:bf_nseg (Results 1 – 11 of 11) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_debug.c107 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printrxbuf()
145 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); in ath_printtxbuf_edma()
155 n = ((bf->bf_nseg - 1) / 4) + 1; in ath_printtxbuf_edma()
215 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printtxbuf_legacy()
H A Dif_ath_beacon.c213 bf->bf_segs, &bf->bf_nseg, in ath_beacon_alloc()
314 KASSERT(bf->bf_nseg == 1, in ath_beacon_setup()
315 ("multi-segment beacon frame; nseg %u", bf->bf_nseg)); in ath_beacon_setup()
726 bf->bf_segs, &bf->bf_nseg, in ath_beacon_generate()
847 bf->bf_segs, &bf->bf_nseg, in ath_beacon_start_adhoc()
H A Dif_ath_tx.c148 if (bf->bf_nseg == 0) in ath_tx_alq_post()
150 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; in ath_tx_alq_post()
310 bf->bf_segs, &bf->bf_nseg, in ath_tx_dmasetup()
314 bf->bf_nseg = ATH_MAX_SCATTER + 1; in ath_tx_dmasetup()
325 if (bf->bf_nseg > ATH_MAX_SCATTER) { /* too many desc's, linearize */ in ath_tx_dmasetup()
335 bf->bf_segs, &bf->bf_nseg, in ath_tx_dmasetup()
342 KASSERT(bf->bf_nseg <= ATH_MAX_SCATTER, in ath_tx_dmasetup()
343 ("too many segments after defrag; nseg %u", bf->bf_nseg)); in ath_tx_dmasetup()
344 } else if (bf->bf_nseg == 0) { /* null packet, discard */ in ath_tx_dmasetup()
400 for (i = 0; i < bf->bf_nseg; i++) { in ath_tx_chaindesclist()
[all …]
H A Dif_ath_rx.c275 bf->bf_segs, &bf->bf_nseg, in ath_legacy_rxbuf_init()
285 KASSERT(bf->bf_nseg == 1, in ath_legacy_rxbuf_init()
286 ("multi-segment packet; nseg %u", bf->bf_nseg)); in ath_legacy_rxbuf_init()
H A Dif_ath_rx_edma.c721 bf->bf_dmamap, m, bf->bf_segs, &bf->bf_nseg, BUS_DMA_NOWAIT); in ath_edma_rxbuf_init()
H A Dif_athvar.h234 int bf_nseg; member
H A Dif_ath.c3261 tbf->bf_nseg = bf->bf_nseg; in ath_buf_clone()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c808 bf->bf_segs, &bf->bf_nseg, in malo_tx_dmasetup()
812 bf->bf_nseg = MALO_TXDESC + 1; in malo_tx_dmasetup()
832 bf->bf_segs, &bf->bf_nseg, in malo_tx_dmasetup()
839 KASSERT(bf->bf_nseg <= MALO_TXDESC, in malo_tx_dmasetup()
840 ("too many segments after defrag; nseg %u", bf->bf_nseg)); in malo_tx_dmasetup()
841 } else if (bf->bf_nseg == 0) { /* null packet, discard */ in malo_tx_dmasetup()
H A Dif_malo.h467 int bf_nseg; member
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwlvar.h88 int bf_nseg; member
H A Dif_mwl.c2959 bf->bf_segs, &bf->bf_nseg, in mwl_tx_dmasetup()
2963 bf->bf_nseg = MWL_TXDESC+1; in mwl_tx_dmasetup()
2988 bf->bf_segs, &bf->bf_nseg, in mwl_tx_dmasetup()
2995 KASSERT(bf->bf_nseg <= MWL_TXDESC, in mwl_tx_dmasetup()
2996 ("too many segments after defrag; nseg %u", bf->bf_nseg)); in mwl_tx_dmasetup()
2997 } else if (bf->bf_nseg == 0) { /* null packet, discard */ in mwl_tx_dmasetup()
3216 ds->multiframes = htole32(bf->bf_nseg); in mwl_tx_start()
3218 for (i = 0; i < bf->bf_nseg; i++) { in mwl_tx_start()