Lines Matching refs:buf_idx
2425 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr, in bwi_setup_rx_desc32() argument
2430 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx)); in bwi_setup_rx_desc32()
2431 bwi_setup_desc32(sc, rd->rdata_desc, BWI_RX_NDESC, buf_idx, in bwi_setup_rx_desc32()
2437 int buf_idx, bus_addr_t paddr, int buf_len) in bwi_setup_tx_desc32() argument
2439 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx)); in bwi_setup_tx_desc32()
2440 bwi_setup_desc32(sc, rd->rdata_desc, BWI_TX_NDESC, buf_idx, in bwi_setup_tx_desc32()
2466 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr, in bwi_setup_rx_desc64() argument
2474 int buf_idx, bus_addr_t paddr, int buf_len) in bwi_setup_tx_desc64() argument
2490 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init) in bwi_newbuf() argument
2493 struct bwi_rxbuf *rxbuf = &rbd->rbd_buf[buf_idx]; in bwi_newbuf()
2500 KASSERT(buf_idx < BWI_RX_NDESC, ("buf_idx %d", buf_idx)); in bwi_newbuf()
2558 sc->sc_setup_rxdesc(sc, buf_idx, rxbuf->rb_paddr, in bwi_newbuf()
3297 int ring_idx, buf_idx; in _bwi_txeof() local
3306 buf_idx = __SHIFTOUT(tx_id, BWI_TXH_ID_IDX_MASK); in _bwi_txeof()
3309 KASSERT(buf_idx < BWI_TX_NDESC, ("buf_idx %d", buf_idx)); in _bwi_txeof()
3315 tb = &tbd->tbd_buf[buf_idx]; in _bwi_txeof()
3318 buf_idx, acked, data_txcnt, tb->tb_ni); in _bwi_txeof()