Lines Matching refs:j1939_priv
40 struct j1939_priv *priv = data;
131 static struct j1939_priv *j1939_priv_create(struct net_device *ndev)
133 struct j1939_priv *priv;
152 struct j1939_priv *priv)
156 can_ml->j1939_priv = priv;
161 struct j1939_priv *priv = container_of(kref, struct j1939_priv, kref);
174 void j1939_priv_put(struct j1939_priv *priv)
179 void j1939_priv_get(struct j1939_priv *priv)
184 static int j1939_can_rx_register(struct j1939_priv *priv)
200 static void j1939_can_rx_unregister(struct j1939_priv *priv)
217 struct j1939_priv *priv = container_of(kref, struct j1939_priv,
227 static inline struct j1939_priv *j1939_ndev_to_priv(struct net_device *ndev)
231 return can_ml->j1939_priv;
234 static struct j1939_priv *j1939_priv_get_by_ndev_locked(struct net_device *ndev)
236 struct j1939_priv *priv;
247 static struct j1939_priv *j1939_priv_get_by_ndev(struct net_device *ndev)
249 struct j1939_priv *priv;
258 struct j1939_priv *j1939_netdev_start(struct net_device *ndev)
260 struct j1939_priv *priv, *priv_new;
311 void j1939_netdev_stop(struct j1939_priv *priv)
317 int j1939_send_one(struct j1939_priv *priv, struct sk_buff *skb)
369 struct j1939_priv *priv;