tag | line | file | source code |
rfd | 127 | drivers/net/apricot.c | struct i596_rfd *rfd; |
rfd | 199 | drivers/net/apricot.c | struct i596_rfd *rfd; |
rfd | 201 | drivers/net/apricot.c | lp->scb.rfd = (struct i596_rfd *)I596_NULL; |
rfd | 207 | drivers/net/apricot.c | if (!(rfd = (struct i596_rfd *)kmalloc(sizeof(struct i596_rfd), GFP_KERNEL))) |
rfd | 210 | drivers/net/apricot.c | rfd->stat = 0x0000; |
rfd | 211 | drivers/net/apricot.c | rfd->rbd = I596_NULL; |
rfd | 212 | drivers/net/apricot.c | rfd->count = 0; |
rfd | 213 | drivers/net/apricot.c | rfd->size = 1532; |
rfd | 216 | drivers/net/apricot.c | rfd->cmd = CMD_EOL; |
rfd | 217 | drivers/net/apricot.c | lp->rx_tail = rfd; |
rfd | 220 | drivers/net/apricot.c | rfd->cmd = 0x0000; |
rfd | 222 | drivers/net/apricot.c | rfd->next = lp->scb.rfd; |
rfd | 223 | drivers/net/apricot.c | lp->scb.rfd = rfd; |
rfd | 227 | drivers/net/apricot.c | lp->rx_tail->next = lp->scb.rfd; |
rfd | 236 | drivers/net/apricot.c | struct i596_rfd *rfd = lp->scb.rfd; |
rfd | 242 | drivers/net/apricot.c | lp->scb.rfd = rfd->next; |
rfd | 243 | drivers/net/apricot.c | kfree_s(rfd, sizeof(struct i596_rfd)); |
rfd | 244 | drivers/net/apricot.c | rfd = lp->scb.rfd; |
rfd | 246 | drivers/net/apricot.c | while (rfd != lp->rx_tail); |
rfd | 332 | drivers/net/apricot.c | while ((lp->scb.rfd->stat) & STAT_C) |
rfd | 334 | drivers/net/apricot.c | if (i596_debug >2) print_eth(lp->scb.rfd->data); |
rfd | 336 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & STAT_OK) |
rfd | 339 | drivers/net/apricot.c | int pkt_len = lp->scb.rfd->count & 0x3fff; |
rfd | 352 | drivers/net/apricot.c | memcpy(skb_put(skb,pkt_len), lp->scb.rfd->data, pkt_len); |
rfd | 363 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
rfd | 364 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
rfd | 365 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
rfd | 366 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
rfd | 367 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
rfd | 368 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
rfd | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
rfd | 372 | drivers/net/apricot.c | lp->scb.rfd->stat = 0; |
rfd | 374 | drivers/net/apricot.c | lp->rx_tail = lp->scb.rfd; |
rfd | 375 | drivers/net/apricot.c | lp->scb.rfd = lp->scb.rfd->next; |
rfd | 740 | drivers/net/apricot.c | lp->scb.rfd = (struct i596_rfd *)I596_NULL; |
rfd | 769 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
rfd | 774 | drivers/net/ni52.c | memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); |
rfd | 775 | drivers/net/ni52.c | p->rfd_first = rfd; |
rfd | 778 | drivers/net/ni52.c | rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); |
rfd | 779 | drivers/net/ni52.c | rfd[i].rbd_offset = 0xffff; |
rfd | 781 | drivers/net/ni52.c | rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ |
rfd | 783 | drivers/net/ni52.c | ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); |