Lines Matching refs:ntxd
232 u16 ntxd; /* # tx descriptors tunable */ member
315 return xxd(x, di->ntxd); in txd()
504 size = (direction == DMA_TX) ? (di->ntxd * ddlen) : (di->nrxd * ddlen); in dma64_alloc()
549 uint txregbase, uint rxregbase, uint ntxd, uint nrxd, in dma_attach() argument
583 di->dma.dmactrlflags, ntxd, nrxd, rxbufsize, in dma_attach()
592 di->ntxd = (u16) ntxd; in dma_attach()
638 if ((ntxd < D64MAXDD / 2) && (nrxd < D64MAXDD / 2)) in dma_attach()
649 if (ntxd) { in dma_attach()
650 size = ntxd * sizeof(void *); in dma_attach()
668 if (ntxd) { in dma_attach()
1006 if (di->ntxd == 0) in dma64_txidle()
1146 if (di->ntxd == 0) in dma_txinit()
1150 di->dma.txavail = di->ntxd - 1; in dma_txinit()
1153 memset(di->txd64, '\0', (di->ntxd * sizeof(struct dma64desc))); in dma_txinit()
1178 if (di->ntxd == 0) in dma_txsuspend()
1190 if (di->ntxd == 0) in dma_txresume()
1200 return (di->ntxd == 0) || in dma_txsuspended()
1232 if (di->ntxd == 0) in dma_txreset()
1302 if (txout == (di->ntxd - 1)) in dma_txenq()
1368 di->dma.txavail = di->ntxd - ntxdactive(di, di->txin, di->txout) - in dma_update_txavail()
1480 if (di->ntxd == 0) in dma_getnexttxp()