Lines Matching full:hard
102 if (pkt->hard.dest == 0) { in type_trans()
106 if (pkt->hard.dest != dev->dev_addr[0]) in type_trans()
140 int saddr = pkt->hard.source, ofs; in rx()
365 skb->len, pkt->hard.source); in rx()
367 skb->len, pkt->hard.source); in rx()
377 /* Create the ARCnet hard/soft headers for RFC1201. */
422 pkt->hard.source = *dev->dev_addr; in build_header()
435 pkt->hard.dest = 0; in build_header()
439 pkt->hard.dest = daddr; in build_header()
443 static void load_pkt(struct net_device *dev, struct arc_hardware *hard, in load_pkt() argument
452 hard->offset[0] = 0; in load_pkt()
453 hard->offset[1] = ofs = 512 - softlen; in load_pkt()
461 hard->offset[0] = 0; in load_pkt()
463 hard->offset[1] = ofs - RFC1201_HDR_SIZE; in load_pkt()
467 hard->offset[0] = ofs = 256 - softlen; in load_pkt()
470 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in load_pkt()
473 lp->lastload_dest = hard->dest; in load_pkt()
486 /* hard header is not included in packet length */ in prepare_tx()
506 load_pkt(dev, &pkt->hard, &pkt->soft.rfc1201, length, bufnum); in prepare_tx()
515 struct arc_hardware *hard = &out->pkt->hard; in continue_tx() local
541 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); in continue_tx()