Lines Matching refs:j1939_priv
40 struct j1939_priv *priv = data; in j1939_can_recv()
127 static struct j1939_priv *j1939_priv_create(struct net_device *ndev) in j1939_priv_create()
129 struct j1939_priv *priv; in j1939_priv_create()
148 struct j1939_priv *priv) in j1939_priv_set()
152 can_ml->j1939_priv = priv; in j1939_priv_set()
157 struct j1939_priv *priv = container_of(kref, struct j1939_priv, kref); in __j1939_priv_release()
170 void j1939_priv_put(struct j1939_priv *priv) in j1939_priv_put()
175 void j1939_priv_get(struct j1939_priv *priv) in j1939_priv_get()
180 static int j1939_can_rx_register(struct j1939_priv *priv) in j1939_can_rx_register()
196 static void j1939_can_rx_unregister(struct j1939_priv *priv) in j1939_can_rx_unregister()
213 struct j1939_priv *priv = container_of(kref, struct j1939_priv, in __j1939_rx_release()
223 static inline struct j1939_priv *j1939_ndev_to_priv(struct net_device *ndev) in j1939_ndev_to_priv()
227 return can_ml->j1939_priv; in j1939_ndev_to_priv()
230 static struct j1939_priv *j1939_priv_get_by_ndev_locked(struct net_device *ndev) in j1939_priv_get_by_ndev_locked()
232 struct j1939_priv *priv; in j1939_priv_get_by_ndev_locked()
243 static struct j1939_priv *j1939_priv_get_by_ndev(struct net_device *ndev) in j1939_priv_get_by_ndev()
245 struct j1939_priv *priv; in j1939_priv_get_by_ndev()
254 struct j1939_priv *j1939_netdev_start(struct net_device *ndev) in j1939_netdev_start()
256 struct j1939_priv *priv, *priv_new; in j1939_netdev_start()
305 void j1939_netdev_stop(struct j1939_priv *priv) in j1939_netdev_stop()
311 int j1939_send_one(struct j1939_priv *priv, struct sk_buff *skb) in j1939_send_one()
363 struct j1939_priv *priv; in j1939_netdev_notify()