Home
last modified time | relevance | path

Searched refs:xferq (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/firewire/
H A Dif_fwe.c207 struct fw_xferq *xferq; in fwe_stop() local
215 xferq = fc->ir[fwe->dma_ch]; in fwe_stop()
217 if (xferq->flag & FWXFERQ_RUNNING) in fwe_stop()
219 xferq->flag &= in fwe_stop()
222 xferq->hand = NULL; in fwe_stop()
224 for (i = 0; i < xferq->bnchunk; i++) in fwe_stop()
225 m_freem(xferq->bulkxfer[i].mbuf); in fwe_stop()
226 free(xferq->bulkxfer, M_FWE); in fwe_stop()
235 xferq->bulkxfer = NULL; in fwe_stop()
273 struct fw_xferq *xferq; in fwe_init() local
[all …]
H A Dif_fwip.c207 struct fw_xferq *xferq; in fwip_stop() local
215 xferq = fc->ir[fwip->dma_ch]; in fwip_stop()
217 if (xferq->flag & FWXFERQ_RUNNING) in fwip_stop()
219 xferq->flag &= in fwip_stop()
222 xferq->hand = NULL; in fwip_stop()
224 for (i = 0; i < xferq->bnchunk; i++) in fwip_stop()
225 m_freem(xferq->bulkxfer[i].mbuf); in fwip_stop()
226 free(xferq->bulkxfer, M_FWIP); in fwip_stop()
242 xferq->bulkxfer = NULL; in fwip_stop()
281 struct fw_xferq *xferq; in fwip_init() local
[all …]
H A Dfwohci.c560 sc->arrq.xferq.flag &= ~FWXFERQ_RUNNING;
561 sc->arrs.xferq.flag &= ~FWXFERQ_RUNNING;
630 sc->fc.arq = &sc->arrq.xferq;
631 sc->fc.ars = &sc->arrs.xferq;
632 sc->fc.atq = &sc->atrq.xferq;
633 sc->fc.ats = &sc->atrs.xferq;
635 sc->arrq.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
636 sc->arrs.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
637 sc->atrq.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
638 sc->atrs.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
[all …]
H A Dfirewire.c186 struct fw_xferq *xferq; in fw_asyreq() local
218 xferq = fc->atq; in fw_asyreq()
220 xferq = fc->ats; in fw_asyreq()
238 if (xferq->start == NULL) { in fw_asyreq()
242 if (!(xferq->queued < xferq->maxq)) { in fw_asyreq()
244 xferq->queued); in fw_asyreq()
256 xfer->q = xferq; in fw_asyreq()
550 fw_xferq_drain(struct fw_xferq *xferq) in fw_xferq_drain() argument
554 while ((xfer = STAILQ_FIRST(&xferq->q)) != NULL) { in fw_xferq_drain()
555 STAILQ_REMOVE_HEAD(&xferq->q, link); in fw_xferq_drain()
[all …]
H A Dfwohcivar.h53 struct fw_xferq xferq; member