/linux-2.4.37.9/drivers/net/ |
D | lp486e.c | 410 struct i596_rfd *rfd; in init_rx_bufs() local 418 rfd = kmalloc(sizeof(struct i596_rfd), GFP_KERNEL); in init_rx_bufs() 419 if (rfd == NULL) in init_rx_bufs() 422 rfd->stat = 0; in init_rx_bufs() 423 rfd->pa_rbd = I596_NULL; in init_rx_bufs() 424 rfd->count = 0; in init_rx_bufs() 425 rfd->size = 1532; in init_rx_bufs() 427 rfd->cmd = CMD_EOL; in init_rx_bufs() 428 lp->rx_tail = rfd; in init_rx_bufs() 430 rfd->cmd = 0; in init_rx_bufs() [all …]
|
D | 82596.c | 293 struct i596_rfd *rfd; member 466 struct i596_rfd *rfd; in i596_display_data() local 476 lp->scb.cmd, lp->scb.rfd); in i596_display_data() 487 rfd = lp->rfd_head; in i596_display_data() 488 printk(KERN_ERR "rfd_head = %p\n", rfd); in i596_display_data() 492 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data() 493 rfd->count); in i596_display_data() 494 rfd = rfd->v_next; in i596_display_data() 495 } while (rfd != lp->rfd_head); in i596_display_data() 535 struct i596_rfd *rfd; in init_rx_bufs() local [all …]
|
D | lasi_82596.c | 343 dma_addr_t rfd; member 493 struct i596_rfd *rfd; in i596_display_data() local 503 lp->scb.cmd, lp->scb.rfd); in i596_display_data() 514 rfd = lp->rfd_head; in i596_display_data() 515 printk("rfd_head = %p\n", rfd); in i596_display_data() 519 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data() 520 rfd->count); in i596_display_data() 521 rfd = rfd->v_next; in i596_display_data() 522 } while (rfd != lp->rfd_head); in i596_display_data() 553 struct i596_rfd *rfd; in init_rx_bufs() local [all …]
|
D | sun3_82586.c | 624 volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; in alloc_rfa() local 629 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa() 630 p->rfd_first = rfd; in alloc_rfa() 633 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa() 634 rfd[i].rbd_offset = 0xffff; in alloc_rfa() 636 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa() 638 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
|
D | ni52.c | 774 volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; in alloc_rfa() local 779 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa() 780 p->rfd_first = rfd; in alloc_rfa() 783 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa() 784 rfd[i].rbd_offset = 0xffff; in alloc_rfa() 786 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa() 788 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
|
D | 3c523.c | 839 volatile struct rfd_struct *rfd = (struct rfd_struct *) ptr; in alloc_rfa() local 844 memset((char *) rfd, 0, sizeof(struct rfd_struct) * p->num_recv_buffs); in alloc_rfa() 845 p->rfd_first = rfd; in alloc_rfa() 848 rfd[i].next = make16(rfd + (i + 1) % p->num_recv_buffs); in alloc_rfa() 850 rfd[p->num_recv_buffs - 1].last = RFD_SUSP; /* RU suspend */ in alloc_rfa() 852 ptr = (void *) (rfd + p->num_recv_buffs); in alloc_rfa()
|
D | eepro100.c | 1151 struct RxFD *rfd; in speedo_rx_soft_reset() local 1164 rfd = sp->rx_ringp[sp->cur_rx % RX_RING_SIZE]; in speedo_rx_soft_reset() 1166 rfd->rx_buf_addr = 0xffffffff; in speedo_rx_soft_reset()
|
/linux-2.4.37.9/drivers/net/e100/ |
D | e100_test.c | 287 rfd_t *rfd; in e100_diag_loopback_alloc() local 320 rfd = pci_alloc_consistent(bdp->pdev, sizeof (rfd_t), &dma_handle); in e100_diag_loopback_alloc() 322 if (rfd == NULL) { in e100_diag_loopback_alloc() 329 memset(rfd, 0x00, sizeof (rfd_t)); in e100_diag_loopback_alloc() 332 rfd->rfd_header.cb_cmd = cpu_to_le16(RFD_EL_BIT); in e100_diag_loopback_alloc() 333 rfd->rfd_sz = cpu_to_le16(ETH_FRAME_LEN + CHKSUM_SIZE); in e100_diag_loopback_alloc() 337 bdp->loopback.rfd = rfd; in e100_diag_loopback_alloc() 392 rfdp =bdp->loopback.rfd; in e100_diag_rcv_loopback_pkt() 428 pci_free_consistent(bdp->pdev, sizeof(rfd_t), bdp->loopback.rfd, in e100_diag_loopback_free()
|
D | e100_main.c | 298 rfd_t *rfd; /* The old rfd */ in e100_add_skb_to_end() local 314 rfd = RFD_POINTER(rx_struct_last->skb, bdp); in e100_add_skb_to_end() 318 ((u32 *) (&(rfd->rfd_header.cb_lnk_ptr)))); in e100_add_skb_to_end() 322 rfd->rfd_header.cb_cmd &= in e100_add_skb_to_end() 2105 rfd_t *rfd; /* new rfd, received rfd */ in e100_rx_srv() local 2136 rfd = RFD_POINTER(skb, bdp); /* locate RFD within skb */ in e100_rx_srv() 2141 rfd_status = le16_to_cpu(rfd->rfd_header.cb_status); /* get RFD's status */ in e100_rx_srv() 2155 data_sz = min_t(u16, (le16_to_cpu(rfd->rfd_act_cnt) & 0x3fff), in e100_rx_srv() 2187 skb->ip_summed = e100_D102_check_checksum(rfd); in e100_rx_srv() 2196 vlan_hwaccel_rx(skb, bdp->vlgrp, be16_to_cpu(rfd->vlanid)); in e100_rx_srv() [all …]
|
D | e100.h | 862 rfd_t *rfd; member
|