Lines Matching refs:rda
164 rda_t rda;
211 rda.status = 0;
212 rda.length = 0;
213 rda.startlo = 0;
214 rda.starthi = 0;
215 rda.seqno = 0;
217 rda.link = addr + sizeof(rda_t);
219 rda.link = 1;
220 rda.inuse = 1;
221 memcpy_toio(priv->base + addr, &rda, sizeof(rda_t));
486 rda_t rda;
496 memcpy_fromio(&rda, priv->base + rdaaddr, sizeof(rda_t));
501 rda.status &= 0xffff;
502 rda.length &= 0xffff;
503 rda.startlo &= 0xffff;
507 if (rda.inuse)
512 else if (rda.status & RCREG_PRX) {
517 skb = dev_alloc_skb(rda.length + 2);
523 memcpy_fromio(skb_put(skb, rda.length),
525 rda.startlo, rda.length);
534 dev->stats.rx_bytes += rda.length;
545 if (rda.status & RCREG_FAER)
547 if (rda.status & RCREG_CRCR)
553 rda.link = 1;
554 rda.inuse = 1;
555 memcpy_toio(priv->base + rdaaddr, &rda,