Lines Matching refs:rx_channel

3375 			nw64(RBR_KICK(rp->rx_channel), rp->rbr_pending);  in niu_rbr_refill()
3506 skb_record_rx_queue(skb, rp->rx_channel); in niu_process_rx_pkt()
3659 int rx_channel = rp->rx_channel; in niu_sync_rx_discard_stats() local
3667 misc = nr64(RXMISC(rx_channel)); in niu_sync_rx_discard_stats()
3669 nw64(RXMISC(rx_channel), 0); in niu_sync_rx_discard_stats()
3674 rx_channel); in niu_sync_rx_discard_stats()
3678 rx_channel, misc, misc-limit); in niu_sync_rx_discard_stats()
3682 wred = nr64(RED_DIS_CNT(rx_channel)); in niu_sync_rx_discard_stats()
3684 nw64(RED_DIS_CNT(rx_channel), 0); in niu_sync_rx_discard_stats()
3688 dev_err(np->device, "rx-%d: Counter overflow WRED discard\n", rx_channel); in niu_sync_rx_discard_stats()
3692 rx_channel, wred, wred-limit); in niu_sync_rx_discard_stats()
3704 stat = nr64(RX_DMA_CTL_STAT(rp->rx_channel)); in niu_rx_work()
3705 qlen = nr64(RCRSTAT_A(rp->rx_channel)) & RCRSTAT_A_QLEN; in niu_rx_work()
3715 __func__, rp->rx_channel, (unsigned long long)stat, qlen); in niu_rx_work()
3736 nw64(RX_DMA_CTL_STAT(rp->rx_channel), stat); in niu_rx_work()
3765 if (rx_vec & (1 << rp->rx_channel)) { in niu_poll_core()
3774 nw64(LD_IM0(LDN_RXDMA(rp->rx_channel)), 0); in niu_poll_core()
3798 netdev_err(np->dev, "RX channel %u errors ( ", rp->rx_channel); in niu_log_rxchan_errors()
3834 u64 stat = nr64(RX_DMA_CTL_STAT(rp->rx_channel)); in niu_rx_error()
3844 rp->rx_channel, in niu_rx_error()
3850 nw64(RX_DMA_CTL_STAT(rp->rx_channel), in niu_rx_error()
4094 if (rx_vec & (1 << rp->rx_channel)) { in niu_slowpath_interrupt()
4100 nw64(RX_DMA_CTL_STAT(rp->rx_channel), in niu_slowpath_interrupt()
4151 nw64(RX_DMA_CTL_STAT(rp->rx_channel), stat_write); in niu_rxchan_intr()
4177 int ldn = LDN_RXDMA(rp->rx_channel); in __niu_fastpath_interrupt()
4183 if (rx_vec & (1 << rp->rx_channel)) in __niu_fastpath_interrupt()
4505 rp->rx_channel = first_rx_channel + i; in niu_alloc_channels()
4821 nw64(RDC_RED_PARA(rp->rx_channel), val); in niu_rx_channel_wred_init()
4928 int err, channel = rp->rx_channel; in niu_init_one_rx_channel()
5873 (void) niu_enable_rx_channel(np, rp->rx_channel, 0); in niu_stop_one_rx_channel()
5889 int channel = rp->rx_channel; in niu_reset_one_rx_channel()
7819 data[0] = rp->rx_channel; in niu_get_ethtool_stats()