Lines Matching refs:rxq
332 error = wpi_alloc_rx_ring(sc, &sc->rxq); in wpi_attach()
453 wpi_free_rx_ring(sc, &sc->rxq); in wpi_detach()
598 mutex_enter(&sc->rxq.freelist_mtx); in wpi_alloc_rbuf()
599 rbuf = SLIST_FIRST(&sc->rxq.freelist); in wpi_alloc_rbuf()
601 SLIST_REMOVE_HEAD(&sc->rxq.freelist, next); in wpi_alloc_rbuf()
603 mutex_exit(&sc->rxq.freelist_mtx); in wpi_alloc_rbuf()
620 mutex_enter(&sc->rxq.freelist_mtx); in wpi_free_rbuf()
621 SLIST_INSERT_HEAD(&sc->rxq.freelist, rbuf, next); in wpi_free_rbuf()
622 mutex_exit(&sc->rxq.freelist_mtx); in wpi_free_rbuf()
631 struct wpi_rx_ring *ring = &sc->rxq; in wpi_alloc_rpool()
662 mutex_destroy(&sc->rxq.freelist_mtx); in wpi_free_rpool()
663 wpi_dma_contig_free(&sc->rxq.buf_dma); in wpi_free_rpool()
1482 struct wpi_rx_ring *ring = &sc->rxq; in wpi_rx_intr()
1710 while (sc->rxq.cur != hw) { in wpi_notif_intr()
1711 struct wpi_rx_data *data = &sc->rxq.data[sc->rxq.cur]; in wpi_notif_intr()
1807 sc->rxq.cur = (sc->rxq.cur + 1) % WPI_RX_RING_COUNT; in wpi_notif_intr()
3214 WPI_WRITE(sc, WPI_RX_BASE, sc->rxq.desc_dma.paddr); in wpi_init()
3344 wpi_reset_rx_ring(sc, &sc->rxq); in wpi_stop1()