Lines Matching refs:TX_RING_SIZE
602 for (i = 0; i < TX_RING_SIZE; i++)
659 for (i = 0; i < TX_RING_SIZE; i++) {
680 entry = tp->cur_tx % TX_RING_SIZE;
688 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */
690 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) {
692 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) {
698 if (entry == TX_RING_SIZE-1)
723 int entry = dirty_tx % TX_RING_SIZE;
822 for (i = 0; i < TX_RING_SIZE; i++) {
1149 if (tp->cur_tx - tp->dirty_tx > TX_RING_SIZE - 2) {
1157 entry = tp->cur_tx++ % TX_RING_SIZE;
1164 (entry == TX_RING_SIZE-1) ? cpu_to_le32(DESC_RING_WRAP) : 0;
1168 entry = tp->cur_tx++ % TX_RING_SIZE;
1178 if (entry == TX_RING_SIZE-1)
1186 if (tp->cur_tx - tp->dirty_tx >= TX_RING_SIZE - 2)
1458 sizeof(struct tulip_tx_desc) * TX_RING_SIZE,
1796 sizeof (struct tulip_tx_desc) * TX_RING_SIZE,
1941 sizeof (struct tulip_tx_desc) * TX_RING_SIZE,