Searched refs:tx_cur (Results 1 – 7 of 7) sorted by relevance
354 np->tx_cur = 0; in natsemi_open()460 if (np->tx[np->tx_cur].cmdsts != 0) { in natsemi_transmit()467 np->tx_iobuf[np->tx_cur] = iobuf; in natsemi_transmit()477 np->tx[np->tx_cur].bufptr = virt_to_bus (iobuf->data); in natsemi_transmit()478 np->tx[np->tx_cur].cmdsts = iob_len (iobuf) | OWN; in natsemi_transmit()480 DBG ("TX id %d at %#08lx + %#08zx\n", np->tx_cur, in natsemi_transmit()485 np->tx_cur = (np->tx_cur + 1) % TX_RING_SIZE; in natsemi_transmit()521 while (i != np->tx_cur) { in natsemi_poll()525 np->tx_dirty, np->tx_cur, tx_status); in natsemi_poll()
265 p->tx_cur = 0; in a3c90x_setup_tx_ring()287 while (p->tx_tail != p->tx_cur) { in a3c90x_process_tx_packets()292 DBG(" tx_tail: %d tx_cur: %d\n", p->tx_tail, p->tx_cur); in a3c90x_process_tx_packets()342 inf_3c90x->tx_iobuf[inf_3c90x->tx_cur] = iob; in a3c90x_transmit()343 tx_cur_desc = inf_3c90x->tx_ring + inf_3c90x->tx_cur; in a3c90x_transmit()346 (((inf_3c90x->tx_cur + TX_RING_SIZE) - 1) % TX_RING_SIZE); in a3c90x_transmit()384 inf_3c90x->tx_cur = (inf_3c90x->tx_cur + 1) % TX_RING_SIZE; in a3c90x_transmit()
458 int rx_cur, tx_cur; /* Next free ring entry */481 lp.rx_cur = lp.tx_cur = 0;625 mem = lp.tx_memcpy[entry = lp.tx_cur];642 lp.tx_cur = (++lp.tx_cur) & lp.txRingMask;
26 unsigned short tx_cur; member
291 unsigned int tx_cur; /* current entry in tx_ring */ member
269 bp->tx_dirty = bp->tx_cur = 0; in b44_chip_reset()785 u32 cur = bp->tx_cur; in b44_transmit()809 bp->tx_cur = cur; in b44_transmit()
425 u32 tx_cur; /* next available descriptor */ member