Searched refs:TX_BUFFS_AVAIL (Results 1 - 21 of 21) sorted by relevance

/drivers/net/ethernet/amd/
H A D7990.h237 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ macro
H A D7990.c479 if (lp->tx_full && netif_queue_stopped(dev) && (TX_BUFFS_AVAIL >= 0)) {
541 if (!TX_BUFFS_AVAIL)
579 if (TX_BUFFS_AVAIL)
H A Ddeclance.c273 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ macro
720 TX_BUFFS_AVAIL > 0)
930 if (TX_BUFFS_AVAIL <= 0)
H A Ddepca.c512 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ macro
949 if (TX_BUFFS_AVAIL) { /* Fill in a Tx ring entry */
959 if (TX_BUFFS_AVAIL)
1006 if ((TX_BUFFS_AVAIL >= 0) && netif_queue_stopped(dev)) {
H A Dsunlance.c272 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ macro
643 TX_BUFFS_AVAIL > 0)
813 TX_BUFFS_AVAIL > 0)
1148 if (TX_BUFFS_AVAIL <= 0)
/drivers/net/ethernet/sun/
H A Dsunbmac.h258 #define TX_BUFFS_AVAIL(bp) \ macro
H A Dsunqe.h298 #define TX_BUFFS_AVAIL(qp) \ macro
H A Dsunqe.c493 if (TX_BUFFS_AVAIL(qep) > 0) {
559 tx_full = TX_BUFFS_AVAIL(qep) <= 0;
609 if (TX_BUFFS_AVAIL(qep) <= 0) {
H A Dsunhme.h364 #define TX_BUFFS_AVAIL(hp) \ macro
H A Dsungem.c704 TX_BUFFS_AVAIL(gp) > (MAX_SKB_FRAGS + 1))) {
709 TX_BUFFS_AVAIL(gp) > (MAX_SKB_FRAGS + 1))
1017 if (unlikely(TX_BUFFS_AVAIL(gp) <= (skb_shinfo(skb)->nr_frags + 1))) {
1097 if (unlikely(TX_BUFFS_AVAIL(gp) <= (MAX_SKB_FRAGS + 1))) {
1101 * checking tx index in TX_BUFFS_AVAIL() below, because
1106 if (TX_BUFFS_AVAIL(gp) > (MAX_SKB_FRAGS + 1))
H A Dsungem.h932 #define TX_BUFFS_AVAIL(GP) \ macro
H A Dsunbmac.c795 TX_BUFFS_AVAIL(bp) > 0)
977 if (TX_BUFFS_AVAIL(bp) <= 0)
H A Dcassini.c1924 (TX_BUFFS_AVAIL(cp, ring) > CAS_TABORT(cp)*(MAX_SKB_FRAGS + 1)))
2780 if (TX_BUFFS_AVAIL(cp, ring) <=
2857 if (TX_BUFFS_AVAIL(cp, ring) <= CAS_TABORT(cp)*(MAX_SKB_FRAGS + 1))
2862 ring, entry, skb->len, TX_BUFFS_AVAIL(cp, ring));
H A Dsunhme.c1967 TX_BUFFS_AVAIL(hp) > (MAX_SKB_FRAGS + 1))
2272 if (TX_BUFFS_AVAIL(hp) <= (skb_shinfo(skb)->nr_frags + 1)) {
2328 if (TX_BUFFS_AVAIL(hp) <= (MAX_SKB_FRAGS + 1))
H A Dcassini.h2888 #define TX_BUFFS_AVAIL(cp, i) ((cp)->tx_old[(i)] <= (cp)->tx_new[(i)] ? \ macro
/drivers/net/ethernet/cadence/
H A Dmacb.c45 #define TX_BUFFS_AVAIL(bp) \ macro
383 TX_BUFFS_AVAIL(bp) > MACB_TX_WAKEUP_THRESH)
642 if (TX_BUFFS_AVAIL(bp) < 1) {
676 if (TX_BUFFS_AVAIL(bp) < 1)
/drivers/net/ethernet/seeq/
H A Dsgiseeq.c53 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ macro
518 if ((TX_BUFFS_AVAIL(sp) > 0) && netif_queue_stopped(dev)) {
642 if (!TX_BUFFS_AVAIL(sp))
/drivers/net/ethernet/broadcom/
H A Db44.c74 #define TX_BUFFS_AVAIL(BP) \ macro
616 TX_BUFFS_AVAIL(bp) > B44_TX_WAKEUP_THRESH)
955 if (unlikely(TX_BUFFS_AVAIL(bp) < 1)) {
1018 if (TX_BUFFS_AVAIL(bp) < 1)
/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c101 #define TX_BUFFS_AVAIL(CP) \ macro
601 if (netif_queue_stopped(de->dev) && (TX_BUFFS_AVAIL(de) > (DE_TX_RING_SIZE / 4)))
615 tx_free = TX_BUFFS_AVAIL(de);
796 if (TX_BUFFS_AVAIL(de) == 0)
H A Dde4x5.c258 Change TX_BUFFS_AVAIL macro.
888 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ macro
1511 if (TX_BUFFS_AVAIL) {
1733 if (TX_BUFFS_AVAIL && netif_queue_stopped(dev)) {
/drivers/net/ethernet/realtek/
H A D8139cp.c115 #define TX_BUFFS_AVAIL(CP) \ macro
697 if (TX_BUFFS_AVAIL(cp) > (MAX_SKB_FRAGS + 1))
720 if (TX_BUFFS_AVAIL(cp) <= (skb_shinfo(skb)->nr_frags + 1)) {
845 if (TX_BUFFS_AVAIL(cp) <= (MAX_SKB_FRAGS + 1))

Completed in 351 milliseconds