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