Lines Matching refs:lp
135 struct arcnet_local *lp = netdev_priv(dev); in rx() local
140 struct Incoming *in = &lp->rfc1201.incoming[saddr]; in rx()
162 lp->hw.copy_from_card(dev, bufnum, 512 - length, in rx()
173 lp->rfc1201.aborted_seq = soft->sequence; in rx()
197 lp->hw.copy_from_card(dev, bufnum, in rx()
286 lp->rfc1201.aborted_seq = soft->sequence; in rx()
295 lp->rfc1201.aborted_seq = soft->sequence; in rx()
314 if (lp->rfc1201.aborted_seq != soft->sequence) { in rx()
318 lp->rfc1201.aborted_seq); in rx()
339 lp->rfc1201.aborted_seq = soft->sequence; in rx()
353 lp->hw.copy_from_card(dev, bufnum, ofs + RFC1201_HDR_SIZE, in rx()
380 struct arcnet_local *lp = netdev_priv(dev); in build_header() local
423 soft->sequence = htons(lp->rfc1201.sequence++); in build_header()
445 struct arcnet_local *lp = netdev_priv(dev); in load_pkt() local
463 lp->hw.copy_to_card(dev, bufnum, ofs - RFC1201_HDR_SIZE, in load_pkt()
469 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in load_pkt()
470 lp->hw.copy_to_card(dev, bufnum, ofs, soft, softlen); in load_pkt()
472 lp->lastload_dest = hard->dest; in load_pkt()
478 struct arcnet_local *lp = netdev_priv(dev); in prepare_tx() local
483 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx()
491 out = &lp->outgoing; in prepare_tx()
494 out->dataleft = lp->outgoing.length; in prepare_tx()
512 struct arcnet_local *lp = netdev_priv(dev); in continue_tx() local
513 struct Outgoing *out = &lp->outgoing; in continue_tx()