Searched refs:rx_cur (Results 1 – 7 of 7) sorted by relevance
368 np->rx_cur = 0; in natsemi_open()546 rx_status = (unsigned int) np->rx[np->rx_cur].cmdsts; in natsemi_poll()551 np->rx_cur, rx_status, rx_len); in natsemi_poll()558 np->rx[np->rx_cur].cmdsts); in natsemi_poll()570 np->iobuf[np->rx_cur]->data, rx_len); in natsemi_poll()575 np->rx[np->rx_cur].cmdsts = RX_BUF_SIZE; in natsemi_poll()576 np->rx_cur = (np->rx_cur + 1) % NUM_RX_DESC; in natsemi_poll()577 rx_status = np->rx[np->rx_cur].cmdsts; in natsemi_poll()
475 p->rx_cur = 0; in a3c90x_setup_rx_ring()531 rx_cur_desc = p->rx_ring + p->rx_cur; in a3c90x_process_rx_packets()537 if (p->rx_iobuf[p->rx_cur] == NULL) in a3c90x_process_rx_packets()542 netdev_rx_err(netdev, p->rx_iobuf[p->rx_cur], in a3c90x_process_rx_packets()549 iob_put(p->rx_iobuf[p->rx_cur], packet_len); in a3c90x_process_rx_packets()554 netdev_rx(netdev, p->rx_iobuf[p->rx_cur]); in a3c90x_process_rx_packets()557 p->rx_iobuf[p->rx_cur] = NULL; /* invalidate rx desc */ in a3c90x_process_rx_packets()558 p->rx_cur = (p->rx_cur + 1) % RX_RING_SIZE; in a3c90x_process_rx_packets()
458 int rx_cur, tx_cur; /* Next free ring entry */481 lp.rx_cur = lp.tx_cur = 0;594 entry = lp.rx_cur;602 lp.rx_cur = (++lp.rx_cur) & lp.rxRingMask;
277 bp->rx_cur = 0; in b44_chip_reset()409 for (i = pending + 1; i != bp->rx_cur; i = ring_next(i)) { in b44_rx_refill()850 for (i = bp->rx_cur; i != pending; i = ring_next(i)) { in b44_process_rx_packets()889 bp->rx_cur = i; in b44_process_rx_packets()
28 unsigned short rx_cur; member
294 unsigned int rx_cur; member
430 u32 rx_cur; /* next descriptor to read */ member