Searched refs:new_rx (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/amd/
H A Dsun3lance.c152 int new_rx, new_tx; /* The next free ring entry */ member in struct:lance_private
461 lp->new_rx = lp->new_tx = 0; lance_init_ring()
542 printk("Ring data: old_tx %d new_tx %d%s new_rx %d\n", lance_start_xmit()
545 lp->new_rx ); lance_start_xmit()
783 int entry = lp->new_rx; lance_rx()
818 lp->new_rx = (lp->new_rx+1) & lance_rx()
860 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; lance_rx()
/linux-4.4.14/drivers/net/usb/
H A Dcdc_ncm.c131 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx);
147 static u32 cdc_ncm_check_rx_max(struct usbnet *dev, u32 new_rx) cdc_ncm_check_rx_max() argument
152 /* clamp new_rx to sane values */ cdc_ncm_check_rx_max()
163 val = clamp_t(u32, new_rx, min, max); cdc_ncm_check_rx_max()
164 if (val != new_rx) cdc_ncm_check_rx_max()
331 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) cdc_ncm_update_rxtx_max() argument
337 val = cdc_ncm_check_rx_max(dev, new_rx); cdc_ncm_update_rxtx_max()

Completed in 124 milliseconds