Lines Matching refs:bufnum
57 static void null_rx(struct net_device *dev, int bufnum,
62 int length, int bufnum);
64 static void arcnet_rx(struct net_device *dev, int bufnum);
177 static void arcnet_dump_packet(struct net_device *dev, int bufnum, in arcnet_dump_packet() argument
191 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512); in arcnet_dump_packet()
206 #define arcnet_dump_packet(dev, bufnum, desc,take_arcnet_lock) do { } while (0) argument
241 static void release_arcbuf(struct net_device *dev, int bufnum) in release_arcbuf() argument
246 lp->buf_queue[lp->first_free_buf++] = bufnum; in release_arcbuf()
251 bufnum); in release_arcbuf()
1001 static void arcnet_rx(struct net_device *dev, int bufnum) in arcnet_rx() argument
1010 lp->hw.copy_from_card(dev, bufnum, 0, &pkt, sizeof(ARC_HDR_SIZE)); in arcnet_rx()
1021 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(pkt.soft)); in arcnet_rx()
1024 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1029 bufnum, pkt.hard.source, pkt.hard.dest, length); in arcnet_rx()
1056 arc_proto_map[soft->proto]->rx(dev, bufnum, &pkt, length); in arcnet_rx()
1060 static void null_rx(struct net_device *dev, int bufnum, in null_rx() argument
1085 int length, int bufnum) in null_prepare_tx() argument
1098 lp->hw.copy_to_card(dev, bufnum, 0, &newpkt, ARC_HDR_SIZE); in null_prepare_tx()