Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/i825xx/
Dlib82596.c309 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32))); member
495 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
502 lp->rfd_head = dma->rfds; in init_rx_bufs()
503 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
504 rfd = dma->rfds; in init_rx_bufs()
506 rfd->v_prev = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
507 rfd = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
508 rfd->v_next = dma->rfds; in init_rx_bufs()
509 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
542 dma->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
D82596.c329 struct i596_rfd rfds[RX_RING_SIZE]; member
577 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
584 lp->rfd_head = lp->rfds; in init_rx_bufs()
585 lp->scb.rfd = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
586 rfd = lp->rfds; in init_rx_bufs()
588 rfd->v_prev = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
589 rfd = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
590 rfd->v_next = lp->rfds; in init_rx_bufs()
591 rfd->b_next = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
606 lp->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
Dsun3_82586.c859 volatile struct rfd_struct *rfds=p->rfd_top; in sun3_82586_rcv_int()
864 rbds = (struct rbd_struct *) make32(rfds->rbd_offset); in sun3_82586_rcv_int()
865 printk("%04x:%04x ",rfds->status,rbds->status); in sun3_82586_rcv_int()
866 rfds = (struct rfd_struct *) make32(rfds->next); in sun3_82586_rcv_int()
/drivers/net/ethernet/intel/
De100.c561 struct param_range rfds; member
1063 struct param_range rfds = { .min = 16, .max = 256, .count = 256 }; in e100_get_defaults() local
1071 nic->params.rfds = rfds; in e100_get_defaults()
2122 unsigned int i, count = nic->params.rfds.count; in e100_rx_clean_list()
2144 unsigned int i, count = nic->params.rfds.count; in e100_rx_alloc_list()
2543 struct param_range *rfds = &nic->params.rfds; in e100_get_ringparam() local
2546 ring->rx_max_pending = rfds->max; in e100_get_ringparam()
2548 ring->rx_pending = rfds->count; in e100_get_ringparam()
2556 struct param_range *rfds = &nic->params.rfds; in e100_set_ringparam() local
2564 rfds->count = max(ring->rx_pending, rfds->min); in e100_set_ringparam()
[all …]