Lines Matching defs:buf_idx
8529 bwi_setup_rx_desc_pio(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8536 int buf_idx, bus_addr_t paddr, int buf_len)
8649 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8654 KASSERT(buf_idx < BWI_RX_NDESC);
8655 bwi_setup_desc32(sc, rd->rdata_desc, BWI_RX_NDESC, buf_idx,
8661 int buf_idx, bus_addr_t paddr, int buf_len)
8663 KASSERT(buf_idx < BWI_TX_NDESC);
8664 bwi_setup_desc32(sc, rd->rdata_desc, BWI_TX_NDESC, buf_idx,
8689 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8697 int buf_idx, bus_addr_t paddr, int buf_len)
8703 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init)
8706 struct bwi_rxbuf *rxbuf = &rbd->rbd_buf[buf_idx];
8713 KASSERT(buf_idx < BWI_RX_NDESC);
8782 (sc->sc_setup_rxdesc)(sc, buf_idx, rxbuf->rb_paddr,
9932 int ring_idx, buf_idx;
9941 buf_idx = __SHIFTOUT(tx_id, BWI_TXH_ID_IDX_MASK);
9944 KASSERT(buf_idx < BWI_TX_NDESC);
9949 tb = &tbd->tbd_buf[buf_idx];