Lines Matching refs:bufnum
62 static void null_rx(struct net_device *dev, int bufnum,
67 int length, int bufnum);
69 static void arcnet_rx(struct net_device *dev, int bufnum);
161 static void arcnet_dump_packet(struct net_device *dev, int bufnum, in arcnet_dump_packet() argument
176 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512); in arcnet_dump_packet()
191 #define arcnet_dump_packet(dev, bufnum, desc, take_arcnet_lock) do { } while (0) argument
288 static void release_arcbuf(struct net_device *dev, int bufnum) in release_arcbuf() argument
293 lp->buf_queue[lp->first_free_buf++] = bufnum; in release_arcbuf()
298 bufnum); in release_arcbuf()
1120 static void arcnet_rx(struct net_device *dev, int bufnum) in arcnet_rx() argument
1132 lp->hw.copy_from_card(dev, bufnum, 0, &rxdata.pkt, ARC_HDR_SIZE); in arcnet_rx()
1143 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1146 lp->hw.copy_from_card(dev, bufnum, ofs, soft, length); in arcnet_rx()
1150 bufnum, rxdata.pkt.hard.source, rxdata.pkt.hard.dest, length); in arcnet_rx()
1177 arc_proto_map[soft->proto]->rx(dev, bufnum, &rxdata.pkt, length); in arcnet_rx()
1180 static void null_rx(struct net_device *dev, int bufnum, in null_rx() argument
1203 int length, int bufnum) in null_prepare_tx() argument
1216 lp->hw.copy_to_card(dev, bufnum, 0, &newpkt, ARC_HDR_SIZE); in null_prepare_tx()