Searched refs:clip_priv (Results 1 – 2 of 2) sorted by relevance
45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev))47 struct clip_priv { struct
331 struct clip_priv *clip_priv = PRIV(dev); in clip_start_xmit() local400 spin_lock_irqsave(&clip_priv->xoff_lock, flags); in clip_start_xmit()409 spin_unlock_irqrestore(&clip_priv->xoff_lock, flags); in clip_start_xmit()513 struct clip_priv *clip_priv; in clip_create() local526 dev = alloc_netdev(sizeof(struct clip_priv), "", NET_NAME_UNKNOWN, in clip_create()530 clip_priv = PRIV(dev); in clip_create()532 spin_lock_init(&clip_priv->xoff_lock); in clip_create()533 clip_priv->number = number; in clip_create()539 clip_priv->next = clip_devs; in clip_create()