Lines Matching defs:descnr
127 static void investigate_read_descriptor(struct net_device *dev,struct xircom_private *card, int descnr, unsigned int bufferoffset);
128 static void investigate_write_descriptor(struct net_device *dev, struct xircom_private *card, int descnr, unsigned int bufferoffset);
1170 static void investigate_read_descriptor(struct net_device *dev,struct xircom_private *card, int descnr, unsigned int bufferoffset)
1175 status = le32_to_cpu(card->rx_buffer[4*descnr]);
1204 card->rx_buffer[4*descnr] = cpu_to_le32(0x80000000);
1214 static void investigate_write_descriptor(struct net_device *dev, struct xircom_private *card, int descnr, unsigned int bufferoffset)
1220 status = le32_to_cpu(card->tx_buffer[4*descnr]);
1222 if (card->tx_skb[descnr]!=NULL) {
1223 dev->stats.tx_bytes += card->tx_skb[descnr]->len;
1224 dev_kfree_skb_irq(card->tx_skb[descnr]);
1226 card->tx_skb[descnr] = NULL;
1230 card->tx_buffer[4*descnr] = 0; /* descriptor is free again */