Lines Matching defs:dirty_tx
229 is done at interrupt time using the 'dirty_tx' index, and checking for the
422 unsigned int cur_tx, dirty_tx; /* The ring entries to be free()ed. */
972 sp->dirty_tx = 0;
1107 iowrite32(TX_RING_ELEM_DMA(sp, sp->dirty_tx % TX_RING_SIZE),
1210 dev->name, sp->cur_tx, sp->dirty_tx);
1213 i == sp->dirty_tx % TX_RING_SIZE ? '*' : ' ',
1287 while ((int)(sp->cur_tx - sp->dirty_tx) > 0) {
1288 entry = sp->dirty_tx % TX_RING_SIZE;
1297 sp->dirty_tx++;
1348 sp->dirty_tx, sp->cur_tx,
1349 sp->tx_ring[sp->dirty_tx % TX_RING_SIZE].status);
1398 if ((int)(sp->cur_tx - sp->dirty_tx) >= TX_QUEUE_LIMIT) {
1443 if ((int)(sp->cur_tx - sp->dirty_tx) >= TX_QUEUE_LIMIT) {
1457 unsigned int dirty_tx;
1460 dirty_tx = sp->dirty_tx;
1461 while ((int)(sp->cur_tx - dirty_tx) > 0) {
1462 int entry = dirty_tx % TX_RING_SIZE;
1487 dirty_tx++;
1490 if (netif_msg_tx_err(sp) && (int)(sp->cur_tx - dirty_tx) > TX_RING_SIZE) {
1493 dirty_tx, sp->cur_tx, sp->tx_full);
1494 dirty_tx += TX_RING_SIZE;
1498 && (int)(dirty_tx - sp->mc_setup_head->tx - 1) > 0) {
1511 sp->dirty_tx = dirty_tx;
1588 && (int)(sp->cur_tx - sp->dirty_tx) < TX_QUEUE_UNFULL) {
2060 if ((int)(sp->cur_tx - sp->dirty_tx) > TX_RING_SIZE - TX_MULTICAST_SIZE) {
2100 if ((int)(sp->cur_tx - sp->dirty_tx) >= TX_QUEUE_LIMIT) {
2139 if ((int)(sp->cur_tx - sp->dirty_tx) >= TX_QUEUE_LIMIT) {
2215 if ((int)(sp->cur_tx - sp->dirty_tx) >= TX_QUEUE_LIMIT) {