Lines Matching refs:buf_idx
2430 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
2435 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx));
2436 bwi_setup_desc32(sc, rd->rdata_desc, BWI_RX_NDESC, buf_idx,
2442 int buf_idx, bus_addr_t paddr, int buf_len)
2444 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx));
2445 bwi_setup_desc32(sc, rd->rdata_desc, BWI_TX_NDESC, buf_idx,
2471 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
2479 int buf_idx, bus_addr_t paddr, int buf_len)
2495 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init)
2498 struct bwi_rxbuf *rxbuf = &rbd->rbd_buf[buf_idx];
2505 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx));
2563 sc->sc_setup_rxdesc(sc, buf_idx, rxbuf->rb_paddr,
3307 int ring_idx, buf_idx;
3316 buf_idx = __SHIFTOUT(tx_id, BWI_TXH_ID_IDX_MASK);
3319 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx));
3325 tb = &tbd->tbd_buf[buf_idx];
3328 buf_idx, acked, data_txcnt, tb->tb_ni);