Searched refs:ring_nbr (Results 1 – 2 of 2) sorted by relevance
322 void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr) in etsec_walk_tx_ring() argument335 ring_base += etsec->regs[TBASE0 + ring_nbr].value & ~0x7; in etsec_walk_tx_ring()336 bd_addr = etsec->regs[TBPTR0 + ring_nbr].value & ~0x7; in etsec_walk_tx_ring()369 etsec->regs[TBPTR0 + ring_nbr].value = bd_addr; in etsec_walk_tx_ring()372 etsec->regs[TSTAT].value |= 1 << (31 - ring_nbr); in etsec_walk_tx_ring()490 int ring_nbr = 0; /* Always use ring0 (no filer) */ in etsec_rx_ring_write() local498 if (etsec->regs[RSTAT].value & 1 << (23 - ring_nbr)) { in etsec_rx_ring_write()521 etsec_walk_rx_ring(etsec, ring_nbr); in etsec_rx_ring_write()526 void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr) in etsec_walk_rx_ring() argument550 ring_base += etsec->regs[RBASE0 + ring_nbr].value & ~0x7; in etsec_walk_rx_ring()[all …]
143 void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr);144 void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr);