tag | line | file | source code |
rfd | 203 | arch/m68k/boot/amiga/bootstrap.c | int ch, debugflag = 0, kfd, rfd = -1, i; |
rfd | 605 | arch/m68k/boot/amiga/bootstrap.c | if ((rfd = open (ramdisk_name, O_RDONLY)) == -1) { |
rfd | 611 | arch/m68k/boot/amiga/bootstrap.c | bi.ramdisk_size = (lseek (rfd, 0, L_XTND) + 1023) >> 10; |
rfd | 647 | arch/m68k/boot/amiga/bootstrap.c | if (rfd != -1) { |
rfd | 648 | arch/m68k/boot/amiga/bootstrap.c | if (lseek (rfd, 0, L_SET) == -1) { |
rfd | 653 | arch/m68k/boot/amiga/bootstrap.c | if (read (rfd, memptr + kexec.a_text + kexec.a_data |
rfd | 659 | arch/m68k/boot/amiga/bootstrap.c | close (rfd); |
rfd | 272 | arch/m68k/boot/atari/bootstrap.c | int debugflag = 0, ch, kfd, rfd = -1, i, ignore_ttram = 0; |
rfd | 726 | arch/m68k/boot/atari/bootstrap.c | if((rfd = open(ramdisk_name, O_RDONLY)) == -1) { |
rfd | 731 | arch/m68k/boot/atari/bootstrap.c | bi.ramdisk_size = (lseek(rfd, 0, SEEK_END) + 1023) / 1024; |
rfd | 832 | arch/m68k/boot/atari/bootstrap.c | if (rfd != -1) |
rfd | 834 | arch/m68k/boot/atari/bootstrap.c | if (lseek (rfd, 0, SEEK_SET) == -1) |
rfd | 840 | arch/m68k/boot/atari/bootstrap.c | if (read (rfd, memptr + kernel_size + sizeof (bi), |
rfd | 847 | arch/m68k/boot/atari/bootstrap.c | close (rfd); |
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) ); |