Lines Matching refs:soft
653 struct arc_rfc1201 *soft; in arcnet_send_packet() local
664 soft = &pkt->soft.rfc1201; in arcnet_send_packet()
665 proto = arc_proto_map[soft->proto]; in arcnet_send_packet()
1070 struct arc_rfc1201 *soft; in arcnet_rx() local
1073 soft = &rxdata.pkt.soft.rfc1201; in arcnet_rx()
1085 if (sizeof(rxdata.pkt.soft) <= length) { in arcnet_rx()
1086 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1088 memset(&rxdata.pkt.soft, 0, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1089 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1099 if (arc_proto_map[soft->proto]->is_ip) { in arcnet_rx()
1103 *newp = arc_proto_map[soft->proto]; in arcnet_rx()
1108 soft->proto, rxdata.pkt.hard.source, in arcnet_rx()
1114 lp->default_proto[0] = soft->proto; in arcnet_rx()
1117 lp->default_proto[rxdata.pkt.hard.source] = soft->proto; in arcnet_rx()
1120 arc_proto_map[soft->proto]->rx(dev, bufnum, &rxdata.pkt, length); in arcnet_rx()
1128 pkthdr->soft.rfc1201.proto, pkthdr->hard.source); in null_rx()