Lines Matching refs:tx_ring_info
3540 static int release_tx_packet(struct niu *np, struct tx_ring_info *rp, int idx) in release_tx_packet()
3584 static void niu_tx_work(struct niu *np, struct tx_ring_info *rp) in niu_tx_work()
3738 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_poll_core()
3838 static void niu_log_txchan_errors(struct niu *np, struct tx_ring_info *rp, in niu_log_txchan_errors()
3863 static int niu_tx_error(struct niu *np, struct tx_ring_info *rp) in niu_tx_error()
4092 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_slowpath_interrupt()
4139 static void niu_txchan_intr(struct niu *np, struct tx_ring_info *rp, in niu_txchan_intr()
4170 struct tx_ring_info *rp = &np->tx_rings[i]; in __niu_fastpath_interrupt()
4268 static void niu_free_tx_ring_info(struct niu *np, struct tx_ring_info *rp) in niu_free_tx_ring_info()
4312 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_free_channels()
4373 static void niu_set_max_burst(struct niu *np, struct tx_ring_info *rp) in niu_set_max_burst()
4386 struct tx_ring_info *rp) in niu_alloc_tx_ring_info()
4458 struct tx_ring_info *tx_rings; in niu_alloc_channels()
4511 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels()
4524 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_alloc_channels()
4655 static int niu_init_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_init_one_tx_channel()
5821 static void niu_stop_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_stop_one_tx_channel()
5831 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_stop_tx_channels()
5837 static void niu_reset_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_reset_one_tx_channel()
5847 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_reset_tx_channels()
5930 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_init_hw()
6254 struct tx_ring_info *tx_rings; in niu_get_tx_stats()
6264 struct tx_ring_info *rp = &tx_rings[i]; in niu_get_tx_stats()
6467 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_reset_buffers()
6530 static void niu_set_txd(struct tx_ring_info *rp, int index, in niu_set_txd()
6613 struct tx_ring_info *rp; in niu_start_xmit()
7804 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_get_ethtool_stats()