Lines Matching defs:buf_idx
8535 bwi_setup_rx_desc_pio(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8542 int buf_idx, bus_addr_t paddr, int buf_len)
8655 bwi_setup_rx_desc32(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8660 KASSERT(buf_idx < BWI_RX_NDESC);
8661 bwi_setup_desc32(sc, rd->rdata_desc, BWI_RX_NDESC, buf_idx,
8667 int buf_idx, bus_addr_t paddr, int buf_len)
8669 KASSERT(buf_idx < BWI_TX_NDESC);
8670 bwi_setup_desc32(sc, rd->rdata_desc, BWI_TX_NDESC, buf_idx,
8695 bwi_setup_rx_desc64(struct bwi_softc *sc, int buf_idx, bus_addr_t paddr,
8703 int buf_idx, bus_addr_t paddr, int buf_len)
8709 bwi_newbuf(struct bwi_softc *sc, int buf_idx, int init)
8712 struct bwi_rxbuf *rxbuf = &rbd->rbd_buf[buf_idx];
8719 KASSERT(buf_idx < BWI_RX_NDESC);
8788 (sc->sc_setup_rxdesc)(sc, buf_idx, rxbuf->rb_paddr,
9937 int ring_idx, buf_idx;
9946 buf_idx = __SHIFTOUT(tx_id, BWI_TXH_ID_IDX_MASK);
9949 KASSERT(buf_idx < BWI_TX_NDESC);
9954 tb = &tbd->tbd_buf[buf_idx];