Lines Matching refs:lp
1130 struct corkscrew_private *lp = netdev_priv(dev); in corkscrew_interrupt() local
1138 spin_lock(&lp->lock); in corkscrew_interrupt()
1173 unsigned int dirty_tx = lp->dirty_tx; in corkscrew_interrupt()
1175 while (lp->cur_tx - dirty_tx > 0) { in corkscrew_interrupt()
1177 if (inl(ioaddr + DownListPtr) == isa_virt_to_bus(&lp->tx_ring[entry])) in corkscrew_interrupt()
1179 if (lp->tx_skbuff[entry]) { in corkscrew_interrupt()
1180 dev_kfree_skb_irq(lp->tx_skbuff[entry]); in corkscrew_interrupt()
1181 lp->tx_skbuff[entry] = NULL; in corkscrew_interrupt()
1185 lp->dirty_tx = dirty_tx; in corkscrew_interrupt()
1187 if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) { in corkscrew_interrupt()
1188 lp->tx_full = 0; in corkscrew_interrupt()
1195 dev_kfree_skb_irq(lp->tx_skb); /* Release the transferred buffer */ in corkscrew_interrupt()
1259 spin_unlock(&lp->lock); in corkscrew_interrupt()