Home
last modified time | relevance | path

Searched refs:rfd (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dlp486e.c410 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 …]
D82596.c293 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 …]
Dlasi_82596.c343 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 …]
Dsun3_82586.c624 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()
Dni52.c774 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()
D3c523.c839 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()
Deepro100.c1151 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/
De100_test.c287 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()
De100_main.c298 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 …]
De100.h862 rfd_t *rfd; member