Lines Matching refs:tda
238 tda_t tda; in InitDscrs() local
252 tda.status = 0; in InitDscrs()
253 tda.config = 0; in InitDscrs()
254 tda.length = 0; in InitDscrs()
255 tda.fragcount = 1; in InitDscrs()
256 tda.startlo = baddr; in InitDscrs()
257 tda.starthi = 0; in InitDscrs()
258 tda.fraglength = 0; in InitDscrs()
260 tda.link = priv->tdastart; in InitDscrs()
262 tda.link = addr + sizeof(tda_t); in InitDscrs()
263 tda.link |= 1; in InitDscrs()
264 memcpy_toio(priv->base + addr, &tda, sizeof(tda_t)); in InitDscrs()
652 tda_t tda; in irqtx_handler() local
655 …memcpy_fromio(&tda, priv->base + priv->tdastart + (priv->currtxdescr * sizeof(tda_t)), sizeof(tda_… in irqtx_handler()
659 dev->stats.tx_bytes += tda.length; in irqtx_handler()
676 tda_t tda; in irqtxerr_handler() local
679 …memcpy_fromio(&tda, priv->base + priv->tdastart + (priv->currtxdescr * sizeof(tda_t)), sizeof(tda_… in irqtxerr_handler()
683 if (tda.status & (TCREG_NCRS | TCREG_CRSL)) in irqtxerr_handler()
685 if (tda.status & TCREG_EXC) in irqtxerr_handler()
687 if (tda.status & TCREG_OWC) in irqtxerr_handler()
689 if (tda.status & TCREG_FU) in irqtxerr_handler()
821 tda_t tda; in ibmlana_tx() local
856 memcpy_fromio(&tda, priv->base + addr, sizeof(tda_t)); in ibmlana_tx()
857 tda.length = tda.fraglength = tmplen; in ibmlana_tx()
858 memcpy_toio(priv->base + addr, &tda, sizeof(tda_t)); in ibmlana_tx()