/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_tx.c | 130 struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0); 135 struct ath_tid *tid, struct ath_buf *bf); 141 struct ath_buf *bf; local 146 bf = bf_first; 148 while (bf != NULL) { 150 if (bf->bf_nseg == 0) 152 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; 153 for (i = 0, ds = (const char *) bf->bf_desc; 161 bf = bf 198 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) argument 259 struct ath_buf *bf, *next; local 281 struct ath_buf *bf; local 302 ath_tx_dmasetup(struct ath_softc *sc, struct ath_buf *bf, struct mbuf *m0) argument 365 ath_tx_chaindesclist(struct ath_softc *sc, struct ath_desc *ds0, struct ath_buf *bf, bool is_aggr, int is_first_subframe, int is_last_subframe) argument 507 ath_tx_set_ratectrl(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument 554 struct ath_buf *bf, *bf_prev = NULL; local 699 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 742 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 913 struct ath_buf *bf, *bf_last; local 960 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1046 ath_tx_calc_protection(struct ath_softc *sc, struct ath_buf *bf) argument 1119 ath_tx_calc_duration(struct ath_softc *sc, struct ath_buf *bf) argument 1259 ath_tx_set_rtscts(struct ath_softc *sc, struct ath_buf *bf) argument 1331 ath_tx_setds(struct ath_softc *sc, struct ath_buf *bf) argument 1379 ath_tx_do_ratelookup(struct ath_softc *sc, struct ath_buf *bf, int tid, int pktlen, int is_aggr) argument 1418 ath_tx_update_clrdmask(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 1505 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1555 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument 1904 ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument 2139 ath_tx_raw_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, const struct ieee80211_bpf_params *params) argument 2425 struct ath_buf *bf; local 2657 ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument 2795 ath_tx_update_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, const struct ath_buf *bf) argument 2846 ath_tx_leak_count_update(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 2984 ath_tx_tid_seqno_assign(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument 3048 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument 3137 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument 3430 ath_tx_tid_filt_addbuf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3455 ath_tx_tid_filt_comp_buf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3482 struct ath_buf *bf; local 3523 ath_tx_tid_filt_comp_single(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument 3577 struct ath_buf *bf, *bf_next, *nbf; local 3808 ath_tx_tid_drain_pkt(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq, struct ath_buf *bf) argument 3848 ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an, const char *pfx, struct ath_tid *tid, struct ath_buf *bf) argument 3933 struct ath_buf *bf; local 4093 struct ath_buf *bf; local 4148 struct ath_buf *bf; local 4188 ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 4275 ath_tx_comp_cleanup_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument 4319 struct ath_buf *bf, *bf_next; local 4384 struct ath_buf *bf, *bf_next; local 4451 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument 4517 ath_tx_aggr_retry_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument 4607 ath_tx_retry_subframe(struct ath_softc *sc, struct ath_buf *bf, ath_bufhead *bf_q) argument 4678 struct ath_buf *bf_next, *bf; local 4761 struct ath_buf *bf, *bf_next; local 4837 struct ath_buf *bf, *bf_next; local 5165 ath_tx_aggr_comp_unaggr(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 5354 ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 5374 struct ath_buf *bf; local 5430 struct ath_buf *bf; local 5661 struct ath_buf *bf; local 6050 struct ath_buf *bf; local 6126 struct ath_buf *bf; local [all...] |
H A D | if_ath_tx_ht.h | 56 extern void ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf); 59 struct ieee80211_node *ni, struct ath_buf *bf);
|
H A D | if_ath_debug.c | 101 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, argument 104 const struct ath_rx_status *rs = &bf->bf_status.ds_rxstat; 109 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { 112 ix, ds, (const struct ath_desc *)bf->bf_daddr + i, 142 const struct ath_buf *bf = first_bf; local 147 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); 148 while (bf != NULL) { 157 n = ((bf->bf_nseg - 1) / 4) + 1; 159 for (i = 0, ds = (const char *) bf 204 const struct ath_buf *bf = first_bf; local [all...] |
H A D | if_ath_tx_edma.c | 176 struct ath_buf *bf, *bf_last; local 208 bf = ATH_TXQ_FIRST(txq); 209 if (bf == NULL) 211 ATH_TXQ_REMOVE(txq, bf, bf_list); 214 TAILQ_INSERT_TAIL(&sq, bf, bf_list); 217 bf->bf_flags &= ~(ATH_BUF_FIFOPTR | ATH_BUF_FIFOEND); 228 bf = TAILQ_FIRST(&sq); 239 bf->bf_flags |= ATH_BUF_FIFOPTR; 285 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); 406 struct ath_buf *bf; local 530 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 567 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 622 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 802 struct ath_buf *bf; local [all...] |
H A D | if_ath_beacon.c | 186 struct ath_buf *bf; local 190 bf = avp->av_bcbuf; 192 __func__, bf->bf_m, bf->bf_node); 193 if (bf->bf_m != NULL) { 194 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); 195 m_freem(bf->bf_m); 196 bf->bf_m = NULL; 198 if (bf->bf_node != NULL) { 199 ieee80211_free_node(bf 268 ath_beacon_setup(struct ath_softc *sc, struct ath_buf *bf) argument 437 struct ath_buf *bf; local 570 struct ath_buf *bf, *bf_last; local 662 struct ath_buf *bf; local 703 struct ath_buf *bf; local 829 struct ath_buf *bf; local 868 ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf) argument 891 struct ath_buf *bf; local [all...] |
H A D | if_ath_descdma.c | 247 struct ath_buf *bf; local 263 bf = malloc(bsize, M_ATHDEV, M_NOWAIT | M_ZERO); 264 if (bf == NULL) { 270 dd->dd_bufptr = bf; 273 for (i = 0; i < nbuf; i++, bf++, ds += (ndesc * dd->dd_descsize)) { 274 bf->bf_desc = (struct ath_desc *) ds; 275 bf->bf_daddr = DS2PHYS(dd, ds); 282 if (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr, 285 ds += 0x1000 - (bf->bf_daddr & 0xFFF); 286 bf 331 struct ath_buf *bf; local 388 struct ath_buf *bf; local [all...] |
H A D | if_ath_tx_ht.c | 224 ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf) argument 226 struct ieee80211_node *ni = bf->bf_node; 230 struct ath_rc_series *rc = bf->bf_state.bfs_rc; 252 if (bf->bf_flags & ATH_BUF_TOA_PROBE) 267 if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream) 275 if (bf->bf_state.bfs_txflags & 305 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { 313 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { 328 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { 379 bf 565 ath_get_aggr_limit(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument 616 ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, HAL_11N_RATE_SERIES *series) argument 743 ath_buf_set_rate(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument 824 struct ath_buf *bf, *bf_first = NULL, *bf_prev = NULL; local [all...] |
H A D | if_ath_rx_edma.c | 154 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf); 210 struct ath_buf *bf; local 219 bf = re->m_fifo[i]; 225 (uintmax_t)bf->bf_daddr); 226 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); 417 struct ath_buf *bf; local 448 bf = re->m_fifo[re->m_fifo_head]; 450 if (bf == NULL) { 451 device_printf(sc->sc_dev, "%s: Q%d: NULL bf?\n", 456 m = bf 530 struct ath_buf *bf; local 555 struct ath_buf *bf, *next; local 677 ath_edma_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) argument 758 struct ath_buf *bf; local 791 ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf) argument 820 struct ath_buf *bf; local 894 struct ath_buf *bf = re->m_fifo[i]; local [all...] |
H A D | if_ath_misc.h | 55 struct ath_buf *bf); 57 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf); 58 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf); 59 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf); 63 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, 73 extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, 94 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf);
|
H A D | if_ath_rx.c | 248 ath_legacy_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) argument 257 m = bf->bf_m; 276 bf->bf_dmamap, m, 277 bf->bf_segs, &bf->bf_nseg, 287 KASSERT(bf->bf_nseg == 1, 288 ("multi-segment packet; nseg %u", bf->bf_nseg)); 289 bf->bf_m = m; 291 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREREAD); 314 ds = bf 658 ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs, HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf, struct mbuf *m) argument 1076 struct ath_buf *bf; local 1352 struct ath_buf *bf; local 1411 struct ath_buf *bf; local 1454 struct ath_buf *bf; local [all...] |
H A D | if_ath_beacon.h | 50 extern void ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf);
|
H A D | if_ath.c | 3114 struct ath_buf *bf; local 3119 bf = TAILQ_FIRST(&sc->sc_txbuf_mgmt); 3121 bf = TAILQ_FIRST(&sc->sc_txbuf); 3123 if (bf == NULL) { 3126 if (bf->bf_flags & ATH_BUF_BUSY) { 3128 bf = NULL; 3132 if (bf != NULL && (bf->bf_flags & ATH_BUF_BUSY) == 0) { 3134 TAILQ_REMOVE(&sc->sc_txbuf_mgmt, bf, bf_list); 3136 TAILQ_REMOVE(&sc->sc_txbuf, bf, bf_lis 3202 ath_buf_clone(struct ath_softc *sc, struct ath_buf *bf) argument 3256 struct ath_buf *bf; local 3286 struct ath_buf *bf; local 4180 ath_tx_update_stats(struct ath_softc *sc, struct ath_tx_status *ts, struct ath_buf *bf) argument 4245 ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument 4340 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument 4393 struct ath_buf *bf; local 4740 ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf) argument 4761 ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf) argument 4807 ath_txq_addholdingbuf(struct ath_softc *sc, struct ath_buf *bf) argument 4850 ath_freebuf(struct ath_softc *sc, struct ath_buf *bf) argument 4884 ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, int status) argument 4913 struct ath_buf *bf; local 4971 struct ath_buf *bf; local 5108 struct ath_buf *bf; local 5182 struct ath_buf *bf = TAILQ_FIRST(&sc->sc_bbuf); local [all...] |
H A D | if_ath_rx.h | 55 extern int ath_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf); 64 struct ath_buf *bf, struct mbuf *m);
|
H A D | if_ath_tx.h | 96 struct ath_buf *bf, struct mbuf *m0); 102 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf); 109 extern void ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf, 111 extern void ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf, 114 struct ath_tid *tid, struct ath_buf *bf);
|
H A D | if_ath_debug.h | 108 extern void ath_printrxbuf(struct ath_softc *, const struct ath_buf *bf, 110 extern void ath_printtxbuf(struct ath_softc *, const struct ath_buf *bf, 112 extern void ath_printtxstatbuf(struct ath_softc *sc, const struct ath_buf *bf,
|
H A D | if_ath_tdma.c | 619 struct ath_buf *bf; local 658 bf = ath_beacon_generate(sc, vap); 664 if (bf != NULL) { 677 ath_hal_puttxbuf(ah, sc->sc_bhalq, bf->bf_daddr);
|
H A D | if_ath_sysctl.c | 464 struct ath_buf *bf; local 511 TAILQ_FOREACH(bf, &sc->sc_txbuf, bf_list) { 512 if (bf->bf_flags & ATH_BUF_BUSY) { 524 TAILQ_FOREACH(bf, &sc->sc_txbuf_mgmt, bf_list) { 525 if (bf->bf_flags & ATH_BUF_BUSY) { 547 TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) {
|
H A D | if_athvar.h | 257 void(* bf_comp) (struct ath_softc *sc, struct ath_buf *bf, int fail); 522 struct ath_buf *bf); 556 struct ath_txq *txq, struct ath_buf *bf);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo.c | 514 struct malo_rxbuf *bf; local 527 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO); 528 if (bf == NULL) { 533 sc->malo_rxdma.dd_bufptr = bf; 537 for (i = 0; i < malo_rxbuf; i++, bf++, ds++) { 538 bf->bf_desc = ds; 539 bf->bf_daddr = DS2PHYS(&sc->malo_rxdma, ds); 541 &bf->bf_dmamap); 549 STAILQ_INSERT_TAIL(&sc->malo_rxbuf, bf, bf_list); 558 struct malo_txbuf *bf; local 611 struct malo_rxbuf *bf; local 635 struct malo_txbuf *bf; local 746 struct malo_txbuf *bf, *bn; local 781 struct malo_txbuf *bf; local 799 malo_tx_dmasetup(struct malo_softc *sc, struct malo_txbuf *bf, struct mbuf *m0) argument 857 malo_printrxbuf(const struct malo_rxbuf *bf, u_int ix) argument 874 malo_printtxbuf(const struct malo_txbuf *bf, u_int qnum, u_int ix) argument 927 struct malo_txbuf *bf; local 1030 malo_tx_start(struct malo_softc *sc, struct ieee80211_node *ni, struct malo_txbuf *bf, struct mbuf *m0) argument 1231 struct malo_txbuf *bf = NULL; local 1341 malo_getrxmbuf(struct malo_softc *sc, struct malo_rxbuf *bf) argument 1369 malo_rxbuf_init(struct malo_softc *sc, struct malo_rxbuf *bf) argument 1409 struct malo_rxbuf *bf, *prev; local 1578 struct malo_txbuf *bf; local 1774 struct malo_txbuf *bf; local 1944 struct malo_rxbuf *bf; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | if_mwl.c | 246 static void mwl_printrxbuf(const struct mwl_rxbuf *bf, u_int ix); 247 static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix); 1271 struct mwl_txbuf *bf; local 1277 bf = STAILQ_FIRST(&txq->free); 1278 if (bf != NULL) { 1283 if (bf == NULL) 1286 return bf; 1296 mwl_puttxbuf_head(struct mwl_txq *txq, struct mwl_txbuf *bf) argument 1298 bf->bf_m = NULL; 1299 bf 1307 mwl_puttxbuf_tail(struct mwl_txq *txq, struct mwl_txbuf *bf) argument 1342 struct mwl_txbuf *bf; local 1422 struct mwl_txbuf *bf; local 2013 struct mwl_txbuf *bf; local 2030 struct mwl_txbuf *bf; local 2068 struct mwl_txbuf *bf; local 2092 struct mwl_rxbuf *bf; local 2488 mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) argument 2613 struct mwl_rxbuf *bf; local 2832 struct mwl_txbuf *bf, *bn; local 2950 mwl_tx_dmasetup(struct mwl_softc *sc, struct mwl_txbuf *bf, struct mbuf *m0) argument 3072 mwl_tx_start(struct mwl_softc *sc, struct ieee80211_node *ni, struct mwl_txbuf *bf, struct mbuf *m0) argument 3328 struct mwl_txbuf *bf; local 3447 struct mwl_txbuf *bf; local 3525 struct mwl_txbuf *bf; local 3728 struct mwl_rxbuf *bf, *prev; local 4487 mwl_printrxbuf(const struct mwl_rxbuf *bf, u_int ix) argument 4503 mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/ |
H A D | rtwn_usb_tx.c | 78 struct rtwn_data *bf; local 80 bf = STAILQ_FIRST(&uc->uc_tx_inactive); 81 if (bf != NULL) 87 return (bf); 94 struct rtwn_data *bf; local 98 bf = _rtwn_usb_getbuf(uc); 99 if (bf == NULL) { 103 return (bf);
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | gethnamaddr.c | 1012 char *bf; local 1080 bf = (void *)(hp->h_addr_list + 2); 1081 blen = (size_t)(bf - info->buf); 1084 hp->h_addr_list[0] = bf; 1086 (void)memcpy(bf, uaddr, (size_t)info->hp->h_length); 1092 map_v4v6_address(bf, bf);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 626 int bf, factor, plus; local 663 bf = (2 * (hy - ly) * (x - lx)) / (hx - lx); 664 plus = (bf % 2); 665 factor = bf / 2; 2150 int bf, factor, plus; local 2243 bf = 2 * diff * mult / div; 2244 plus = (bf % 2); 2245 factor = bf / 2; 2249 bf = 2 * diff * mult / div; 2250 plus = (bf [all...] |