Lines Matching refs:descnr
118 …_read_descriptor(struct net_device *dev,struct xircom_private *card, int descnr, unsigned int buff…
119 …rite_descriptor(struct net_device *dev, struct xircom_private *card, int descnr, unsigned int buff…
1099 int descnr, unsigned int bufferoffset) in investigate_read_descriptor() argument
1103 status = le32_to_cpu(card->rx_buffer[4*descnr]); in investigate_read_descriptor()
1135 card->rx_buffer[4*descnr] = cpu_to_le32(0x80000000); in investigate_read_descriptor()
1145 int descnr, unsigned int bufferoffset) in investigate_write_descriptor() argument
1149 status = le32_to_cpu(card->tx_buffer[4*descnr]); in investigate_write_descriptor()
1153 card->tx_buffer[4*descnr] = 0; in investigate_write_descriptor()
1158 if (card->tx_skb[descnr]!=NULL) { in investigate_write_descriptor()
1159 dev->stats.tx_bytes += card->tx_skb[descnr]->len; in investigate_write_descriptor()
1160 dev_kfree_skb_irq(card->tx_skb[descnr]); in investigate_write_descriptor()
1162 card->tx_skb[descnr] = NULL; in investigate_write_descriptor()
1166 card->tx_buffer[4*descnr] = 0; /* descriptor is free again */ in investigate_write_descriptor()