• Home
  • Raw
  • Download

Lines Matching defs:rp

3288 static unsigned int niu_hash_rxaddr(struct rx_ring_info *rp, u64 a)  in niu_hash_rxaddr()
3296 static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr, in niu_find_rxpage()
3316 static void niu_hash_page(struct rx_ring_info *rp, struct page *page, u64 base) in niu_hash_page()
3325 static int niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, in niu_rbr_add_page()
3358 static void niu_rbr_refill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) in niu_rbr_refill()
3383 static int niu_rx_pkt_ignore(struct niu *np, struct rx_ring_info *rp) in niu_rx_pkt_ignore()
3424 struct rx_ring_info *rp) in niu_process_rx_pkt()
3512 static int niu_rbr_fill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) in niu_rbr_fill()
3530 static void niu_rbr_free(struct niu *np, struct rx_ring_info *rp) in niu_rbr_free()
3558 static int release_tx_packet(struct niu *np, struct tx_ring_info *rp, int idx) in release_tx_packet()
3600 #define NIU_TX_WAKEUP_THRESH(rp) ((rp)->pending / 4) argument
3602 static void niu_tx_work(struct niu *np, struct tx_ring_info *rp) in niu_tx_work()
3645 struct rx_ring_info *rp, in niu_sync_rx_discard_stats()
3697 struct rx_ring_info *rp, int budget) in niu_rx_work()
3756 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_poll_core() local
3763 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_poll_core() local
3795 static void niu_log_rxchan_errors(struct niu *np, struct rx_ring_info *rp, in niu_log_rxchan_errors()
3832 static int niu_rx_error(struct niu *np, struct rx_ring_info *rp) in niu_rx_error()
3856 static void niu_log_txchan_errors(struct niu *np, struct tx_ring_info *rp, in niu_log_txchan_errors()
3881 static int niu_tx_error(struct niu *np, struct tx_ring_info *rp) in niu_tx_error()
4092 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_slowpath_interrupt() local
4110 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_slowpath_interrupt() local
4143 static void niu_rxchan_intr(struct niu *np, struct rx_ring_info *rp, in niu_rxchan_intr()
4157 static void niu_txchan_intr(struct niu *np, struct tx_ring_info *rp, in niu_txchan_intr()
4176 struct rx_ring_info *rp = &np->rx_rings[i]; in __niu_fastpath_interrupt() local
4188 struct tx_ring_info *rp = &np->tx_rings[i]; in __niu_fastpath_interrupt() local
4256 static void niu_free_rx_ring_info(struct niu *np, struct rx_ring_info *rp) in niu_free_rx_ring_info()
4286 static void niu_free_tx_ring_info(struct niu *np, struct tx_ring_info *rp) in niu_free_tx_ring_info()
4319 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_free_channels() local
4330 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_free_channels() local
4341 struct rx_ring_info *rp) in niu_alloc_rx_ring_info()
4391 static void niu_set_max_burst(struct niu *np, struct tx_ring_info *rp) in niu_set_max_burst()
4404 struct tx_ring_info *rp) in niu_alloc_tx_ring_info()
4443 static void niu_size_rbr(struct niu *np, struct rx_ring_info *rp) in niu_size_rbr()
4502 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_alloc_channels() local
4542 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_alloc_channels() local
4673 static int niu_init_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_init_one_tx_channel()
4813 static void niu_rx_channel_wred_init(struct niu *np, struct rx_ring_info *rp) in niu_rx_channel_wred_init()
4824 static int niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret) in niu_compute_rbr_cfig_b()
4926 static int niu_init_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_init_one_rx_channel()
5000 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_init_rx_channels() local
5839 static void niu_stop_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_stop_one_tx_channel()
5849 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_stop_tx_channels() local
5855 static void niu_reset_one_tx_channel(struct niu *np, struct tx_ring_info *rp) in niu_reset_one_tx_channel()
5865 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_reset_tx_channels() local
5871 static void niu_stop_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_stop_one_rx_channel()
5881 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_stop_rx_channels() local
5887 static void niu_reset_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_reset_one_rx_channel()
5902 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_reset_rx_channels() local
5948 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_init_hw() local
6253 struct rx_ring_info *rp = &rx_rings[i]; in niu_get_rx_stats() local
6284 struct tx_ring_info *rp = &tx_rings[i]; in niu_get_tx_stats() local
6460 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_reset_buffers() local
6489 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_reset_buffers() local
6552 static void niu_set_txd(struct tx_ring_info *rp, int index, in niu_set_txd()
6635 struct tx_ring_info *rp; in niu_start_xmit() local
7824 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_get_ethtool_stats() local
7836 struct tx_ring_info *rp = &np->tx_rings[i]; in niu_get_ethtool_stats() local