Home
last modified time | relevance | path

Searched refs:clip_priv (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/include/net/
Datmclip.h45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev))
47 struct clip_priv { struct
/linux-5.19.10/net/atm/
Dclip.c331 struct clip_priv *clip_priv = PRIV(dev); in clip_start_xmit() local
400 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() local
526 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()