Searched refs:TX_QUEUE_LEN (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/net/ethernet/dlink/
H A Ddl2k.h36 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used.*/ macro
H A Dsundance.c66 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used. */ macro
1005 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
1114 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 &&
1304 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
H A Ddl2k.c755 < TX_QUEUE_LEN - 1 && np->speed != 10) {
852 < TX_QUEUE_LEN - 1 || np->speed == 10)) {
/linux-master/drivers/net/ethernet/smsc/
H A Depic100.c54 #define TX_QUEUE_LEN 240 /* Limit ring entries actually used. */ macro
969 if (free_count < TX_QUEUE_LEN/2) {/* Typical path */
971 } else if (free_count == TX_QUEUE_LEN/2) {
973 } else if (free_count < TX_QUEUE_LEN - 1) {
1063 if (ep->tx_full && cur_tx - dirty_tx < TX_QUEUE_LEN - 4) {
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c92 #define TX_QUEUE_LEN 10 /* Limit ring entries actually used. */ macro
1030 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN ||
/linux-master/drivers/net/ethernet/natsemi/
H A Dnatsemi.c103 #define TX_QUEUE_LEN 10 /* Limit ring entries actually used, min 4. */ macro
2119 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) {
2121 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1)
2175 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
/linux-master/drivers/net/ethernet/via/
H A Dvia-rhine.c78 #define TX_QUEUE_LEN (TX_RING_SIZE - 6) /* Limit ring entries actually used. */ macro
1766 return (rp->cur_tx - rp->dirty_tx) >= TX_QUEUE_LEN;

Completed in 402 milliseconds