Lines Matching refs:sc_rxq
147 struct bcmeth_rxqueue sc_rxq;
310 error = bcmeth_rxq_attach(sc, &sc->sc_rxq, 0);
538 bcmeth_rxq_reset(sc, &sc->sc_rxq);
540 bcmeth_write_4(sc, sc->sc_rxq.rxq_reg_rcvctl,
581 bcmeth_write_4(sc, sc->sc_rxq.rxq_reg_rcvctl,
582 bcmeth_read_4(sc, sc->sc_rxq.rxq_reg_rcvctl) | RCVCTL_ENABLE);
584 bcmeth_rxq_produce(sc, &sc->sc_rxq); /* fill with rx buffers */
591 bcmeth_read_4(sc, sc->sc_rxq.rxq_reg_rcvctl));
608 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq;
652 bcmeth_rxq_purge(sc, &sc->sc_rxq, disable);
1791 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq;
1836 sc->sc_rxq.rxq_first,
1837 sc->sc_rxq.rxq_descmap->dm_segs[0].ds_addr,
1838 bcmeth_read_4(sc, sc->sc_rxq.rxq_reg_rcvptr),
1839 bcmeth_read_4(sc, sc->sc_rxq.rxq_reg_rcvsts0),
1840 bcmeth_read_4(sc, sc->sc_rxq.rxq_reg_rcvsts1));
1932 while (bcmeth_rxq_consume(sc, &sc->sc_rxq,
1933 sc->sc_rxq.rxq_threshold / 4)) {
1938 bcmeth_rxq_produce(sc, &sc->sc_rxq);
1944 bcmeth_rxq_produce(sc, &sc->sc_rxq);
1975 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq;
1992 while (bcmeth_rxq_consume(sc, &sc->sc_rxq,
1993 sc->sc_rxq.rxq_threshold / 4)) {
1998 bcmeth_rxq_produce(sc, &sc->sc_rxq);
2004 bcmeth_rxq_produce(sc, &sc->sc_rxq);