target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c
static void bcm6368_enetsw_refill_rx_timer(struct timer_list *t)
{
	struct bcm6368_enetsw *priv = from_timer(priv, t, rx_timeout);
	struct net_device *dev = priv->net_dev;

	spin_lock(&priv->rx_lock);
	bcm6368_enetsw_refill_rx(dev);
	spin_unlock(&priv->rx_lock);
}
/*
 * timer callback to defer refill rx queue in case we're OOM
 */
timer callback to defer refill rx queue in case we're OOM
timer callback to defer refill rx queue in case we ' re OOM
static void bcm6368_enetsw_refill_rx_timer(struct timer_list *t)
{
	struct bcm6368_enetsw *priv = from_timer(priv, t, rx_timeout);
	struct net_device *dev = priv->net_dev;
	spin_lock(&priv->rx_lock);
	bcm6368_enetsw_refill_rx(dev);
	spin_unlock(&priv->rx_lock);
}
static void bcm6368_enetsw_refill_rx_timer ( struct timer_list * t ) { struct bcm6368_enetsw * priv = from_timer ( priv , t , rx_timeout ) ; struct net_device * dev = priv -> net_dev ; spin_lock ( & priv -> rx_lock ) ; bcm6368_enetsw_refill_rx ( dev ) ; spin_unlock ( & priv -> rx_lock ) ; }
timer callback to defer refill rx queue in case we're OOM
timer callback to defer refill rx queue in case we ' re OOM