Lines Matching defs:buf_idx
2433 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
2438 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx));
2439 bwi_setup_desc32(sc, rd->rdata_desc, BWI_RX_NDESC, buf_idx,
2445 int buf_idx, bus_addr_t paddr, int buf_len)
2447 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx));
2448 bwi_setup_desc32(sc, rd->rdata_desc, BWI_TX_NDESC, buf_idx,
2474 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
2482 int buf_idx, bus_addr_t paddr, int buf_len)
2498 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init)
2501 struct bwi_rxbuf *rxbuf = &rbd->rbd_buf[buf_idx];
2508 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx));
2566 sc->sc_setup_rxdesc(sc, buf_idx, rxbuf->rb_paddr,
3310 int ring_idx, buf_idx;
3319 buf_idx = __SHIFTOUT(tx_id, BWI_TXH_ID_IDX_MASK);
3322 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx));
3328 tb = &tbd->tbd_buf[buf_idx];
3331 buf_idx, acked, data_txcnt, tb->tb_ni);