Lines Matching refs:rfds
308 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32))); member
522 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
529 lp->rfd_head = dma->rfds; in init_rx_bufs()
530 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
531 rfd = dma->rfds; in init_rx_bufs()
533 rfd->v_prev = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
534 rfd = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
535 rfd->v_next = dma->rfds; in init_rx_bufs()
536 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
569 dma->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
570 dma->rfds[i].cmd = SWAP16(CMD_FLEX); in rebuild_rx_bufs()
572 dma->rfds[rx_ring_size-1].cmd = SWAP16(CMD_EOL|CMD_FLEX); in rebuild_rx_bufs()
573 lp->rfd_head = dma->rfds; in rebuild_rx_bufs()
574 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in rebuild_rx_bufs()
576 dma->rfds[0].rbd = SWAP32(virt_to_dma(lp, dma->rbds)); in rebuild_rx_bufs()
655 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_i596_mem()