Lines Matching refs:j1939_priv

40 	struct j1939_priv *priv = data;  in j1939_can_recv()
131 static struct j1939_priv *j1939_priv_create(struct net_device *ndev) in j1939_priv_create()
133 struct j1939_priv *priv; in j1939_priv_create()
152 struct j1939_priv *priv) in j1939_priv_set()
156 can_ml->j1939_priv = priv; in j1939_priv_set()
161 struct j1939_priv *priv = container_of(kref, struct j1939_priv, kref); in __j1939_priv_release()
174 void j1939_priv_put(struct j1939_priv *priv) in j1939_priv_put()
179 void j1939_priv_get(struct j1939_priv *priv) in j1939_priv_get()
184 static int j1939_can_rx_register(struct j1939_priv *priv) in j1939_can_rx_register()
200 static void j1939_can_rx_unregister(struct j1939_priv *priv) in j1939_can_rx_unregister()
217 struct j1939_priv *priv = container_of(kref, struct j1939_priv, in __j1939_rx_release()
227 static inline struct j1939_priv *j1939_ndev_to_priv(struct net_device *ndev) in j1939_ndev_to_priv()
231 return can_ml->j1939_priv; in j1939_ndev_to_priv()
234 static struct j1939_priv *j1939_priv_get_by_ndev_locked(struct net_device *ndev) in j1939_priv_get_by_ndev_locked()
236 struct j1939_priv *priv; in j1939_priv_get_by_ndev_locked()
247 static struct j1939_priv *j1939_priv_get_by_ndev(struct net_device *ndev) in j1939_priv_get_by_ndev()
249 struct j1939_priv *priv; in j1939_priv_get_by_ndev()
258 struct j1939_priv *j1939_netdev_start(struct net_device *ndev) in j1939_netdev_start()
260 struct j1939_priv *priv, *priv_new; in j1939_netdev_start()
309 void j1939_netdev_stop(struct j1939_priv *priv) in j1939_netdev_stop()
315 int j1939_send_one(struct j1939_priv *priv, struct sk_buff *skb) in j1939_send_one()
367 struct j1939_priv *priv; in j1939_netdev_notify()