Lines Matching refs:sc_epq
724 mtw_unsetup_tx_list(sc, &sc->sc_epq[i]); in mtw_detach()
2689 struct mtw_endpoint_queue *pq = &sc->sc_epq[index]; in mtw_bulk_tx_callbackN()
3107 if (sc->sc_epq[qid].tx_nfree < 3) { in mtw_tx()
3112 data = STAILQ_FIRST(&sc->sc_epq[qid].tx_fh); in mtw_tx()
3113 STAILQ_REMOVE_HEAD(&sc->sc_epq[qid].tx_fh, next); in mtw_tx()
3114 sc->sc_epq[qid].tx_nfree--; in mtw_tx()
3179 STAILQ_INSERT_TAIL(&sc->sc_epq[qid].tx_qh, data, next); in mtw_tx()
3223 if (sc->sc_epq[0].tx_nfree == 0) in mtw_tx_mgt()
3226 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in mtw_tx_mgt()
3227 STAILQ_REMOVE_HEAD(&sc->sc_epq[0].tx_fh, next); in mtw_tx_mgt()
3228 sc->sc_epq[0].tx_nfree--; in mtw_tx_mgt()
3252 STAILQ_INSERT_TAIL(&sc->sc_epq[0].tx_qh, data, next); in mtw_tx_mgt()
3276 if (sc->sc_epq[0].tx_nfree == 0) in mtw_sendprot()
3293 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in mtw_sendprot()
3294 STAILQ_REMOVE_HEAD(&sc->sc_epq[0].tx_fh, next); in mtw_sendprot()
3295 sc->sc_epq[0].tx_nfree--; in mtw_sendprot()
3318 STAILQ_INSERT_TAIL(&sc->sc_epq[0].tx_qh, data, next); in mtw_sendprot()
3365 if (sc->sc_epq[0].tx_nfree == 0) { in mtw_tx_param()
3371 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in mtw_tx_param()
3372 STAILQ_REMOVE_HEAD(&sc->sc_epq[0].tx_fh, next); in mtw_tx_param()
3373 sc->sc_epq[0].tx_nfree--; in mtw_tx_param()
3398 STAILQ_INSERT_TAIL(&sc->sc_epq[0].tx_qh, data, next); in mtw_tx_param()
4412 mtw_setup_tx_list(sc, &sc->sc_epq[i]); in mtw_init_locked()