Lines Matching refs:hard
102 if (pkt->hard.dest == 0) in type_trans()
106 if (pkt->hard.dest != dev->dev_addr[0]) in type_trans()
141 int saddr = pkt->hard.source, ofs; in rx()
361 skb->len, pkt->hard.source); in rx()
363 skb->len, pkt->hard.source); in rx()
419 pkt->hard.source = *dev->dev_addr; in build_header()
432 pkt->hard.dest = 0; in build_header()
436 pkt->hard.dest = daddr; in build_header()
441 static void load_pkt(struct net_device *dev, struct arc_hardware *hard, in load_pkt() argument
450 hard->offset[0] = 0; in load_pkt()
451 hard->offset[1] = ofs = 512 - softlen; in load_pkt()
459 hard->offset[0] = 0; in load_pkt()
461 hard->offset[1] = ofs - RFC1201_HDR_SIZE; in load_pkt()
465 hard->offset[0] = ofs = 256 - softlen; in load_pkt()
467 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in load_pkt()
470 lp->lastload_dest = hard->dest; in load_pkt()
504 load_pkt(dev, &pkt->hard, &pkt->soft.rfc1201, length, bufnum); in prepare_tx()
514 struct arc_hardware *hard = &out->pkt->hard; in continue_tx() local
540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); in continue_tx()