tag | line | file | source code |
rfd | 130 | drivers/net/apricot.c | struct i596_rfd *rfd; |
rfd | 204 | drivers/net/apricot.c | struct i596_rfd *rfd; |
rfd | 206 | drivers/net/apricot.c | lp->scb.rfd = (struct i596_rfd *)I596_NULL; |
rfd | 212 | drivers/net/apricot.c | if (!(rfd = (struct i596_rfd *)kmalloc(sizeof(struct i596_rfd), GFP_KERNEL))) |
rfd | 215 | drivers/net/apricot.c | rfd->stat = 0x0000; |
rfd | 216 | drivers/net/apricot.c | rfd->rbd = I596_NULL; |
rfd | 217 | drivers/net/apricot.c | rfd->count = 0; |
rfd | 218 | drivers/net/apricot.c | rfd->size = 1532; |
rfd | 221 | drivers/net/apricot.c | rfd->cmd = CMD_EOL; |
rfd | 222 | drivers/net/apricot.c | lp->rx_tail = rfd; |
rfd | 225 | drivers/net/apricot.c | rfd->cmd = 0x0000; |
rfd | 227 | drivers/net/apricot.c | rfd->next = lp->scb.rfd; |
rfd | 228 | drivers/net/apricot.c | lp->scb.rfd = rfd; |
rfd | 232 | drivers/net/apricot.c | lp->rx_tail->next = lp->scb.rfd; |
rfd | 241 | drivers/net/apricot.c | struct i596_rfd *rfd = lp->scb.rfd; |
rfd | 247 | drivers/net/apricot.c | lp->scb.rfd = rfd->next; |
rfd | 248 | drivers/net/apricot.c | kfree_s(rfd, sizeof(struct i596_rfd)); |
rfd | 249 | drivers/net/apricot.c | rfd = lp->scb.rfd; |
rfd | 251 | drivers/net/apricot.c | while (rfd != lp->rx_tail); |
rfd | 337 | drivers/net/apricot.c | while ((lp->scb.rfd->stat) & STAT_C) |
rfd | 339 | drivers/net/apricot.c | if (i596_debug >2) print_eth(lp->scb.rfd->data); |
rfd | 341 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & STAT_OK) |
rfd | 344 | drivers/net/apricot.c | int pkt_len = lp->scb.rfd->count & 0x3fff; |
rfd | 357 | drivers/net/apricot.c | memcpy(skb_put(skb,pkt_len), lp->scb.rfd->data, pkt_len); |
rfd | 368 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
rfd | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
rfd | 370 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
rfd | 371 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
rfd | 372 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
rfd | 373 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
rfd | 374 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
rfd | 377 | drivers/net/apricot.c | lp->scb.rfd->stat = 0; |
rfd | 379 | drivers/net/apricot.c | lp->rx_tail = lp->scb.rfd; |
rfd | 380 | drivers/net/apricot.c | lp->scb.rfd = lp->scb.rfd->next; |
rfd | 749 | drivers/net/apricot.c | lp->scb.rfd = (struct i596_rfd *)I596_NULL; |
rfd | 687 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
rfd | 692 | drivers/net/ni52.c | memset((char *) rfd,0,sizeof(struct rfd_struct)*p->num_recv_buffs); |
rfd | 693 | drivers/net/ni52.c | p->rfd_first = rfd; |
rfd | 696 | drivers/net/ni52.c | rfd[i].next = make16(rfd + (i+1) % p->num_recv_buffs); |
rfd | 697 | drivers/net/ni52.c | rfd[p->num_recv_buffs-1].last = RFD_SUSP; /* RU suspend */ |
rfd | 699 | drivers/net/ni52.c | ptr = (void *) (rfd + p->num_recv_buffs); |