Searched refs:tx_buffs (Results 1 – 4 of 4) sorted by relevance
78 u16 tx_buffs = port->card->tx_ring_buffers; in desc_abs_number() local80 desc %= (transmit ? tx_buffs : rx_buffs); // called with "X + 1" etc. in desc_abs_number()81 return port->chan * (rx_buffs + tx_buffs) + transmit * rx_buffs + desc; in desc_abs_number()
98 u16 tx_buffs = port_to_card(port)->tx_ring_buffers; in desc_abs_number() local100 desc %= (transmit ? tx_buffs : rx_buffs); // called with "X + 1" etc. in desc_abs_number()101 return log_node(port) * (rx_buffs + tx_buffs) + in desc_abs_number()
3561 struct tx_buff_info *tb = &rp->tx_buffs[idx]; in release_tx_packet()3588 tb = &rp->tx_buffs[idx]; in release_tx_packet()4297 if (rp->tx_buffs[i].skb) in niu_free_tx_ring_info()6486 if (rp->tx_buffs[j].skb) in niu_reset_buffers()6678 rp->tx_buffs[prod].skb = skb; in niu_start_xmit()6679 rp->tx_buffs[prod].mapping = mapping; in niu_start_xmit()6717 rp->tx_buffs[prod].skb = NULL; in niu_start_xmit()6718 rp->tx_buffs[prod].mapping = mapping; in niu_start_xmit()
2854 struct tx_buff_info tx_buffs[MAX_TX_RING_SIZE]; member