Home
last modified time | relevance | path

Searched refs:j1939_priv (Results 1 – 7 of 7) sorted by relevance

/linux/net/can/j1939/
H A Dj1939-priv.h40 struct j1939_priv *priv;
46 struct j1939_priv { struct
99 int j1939_local_ecu_get(struct j1939_priv *priv, name_t name, u8 sa); argument
100 void j1939_local_ecu_put(struct j1939_priv *priv, name_t name, u8 sa);
127 u8 j1939_name_to_addr(struct j1939_priv *priv, name_t name);
128 struct j1939_ecu *j1939_ecu_find_by_addr_locked(struct j1939_priv *priv,
130 struct j1939_ecu *j1939_ecu_get_by_addr(struct j1939_priv *priv, u8 addr);
131 struct j1939_ecu *j1939_ecu_get_by_addr_locked(struct j1939_priv *priv,
133 struct j1939_ecu *j1939_ecu_get_by_name(struct j1939_priv *priv, name_t name);
134 struct j1939_ecu *j1939_ecu_get_by_name_locked(struct j1939_priv *priv,
[all …]
H A Dmain.c36 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) in j1939_priv_create()
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_set()
170 void j1939_priv_put(struct j1939_priv *priv) in __j1939_priv_release()
175 void j1939_priv_get(struct j1939_priv *priv) in j1939_priv_put()
180 static int j1939_can_rx_register(struct j1939_priv *pri in j1939_priv_get()
[all...]
H A Dbus.c20 struct j1939_priv *priv = ecu->priv; in __j1939_ecu_release()
39 struct j1939_priv *priv = ecu->priv; in j1939_ecu_is_mapped_locked()
50 struct j1939_priv *priv = ecu->priv; in j1939_ecu_map_locked()
74 struct j1939_priv *priv = ecu->priv; in j1939_ecu_unmap_locked()
98 void j1939_ecu_unmap_all(struct j1939_priv *priv) in j1939_ecu_unmap_all()
131 struct j1939_priv *priv = ecu->priv; in j1939_ecu_timer_handler()
148 struct j1939_ecu *j1939_ecu_create_locked(struct j1939_priv *priv, name_t name) in j1939_ecu_create_locked()
172 struct j1939_ecu *j1939_ecu_find_by_addr_locked(struct j1939_priv *priv, in j1939_ecu_find_by_addr_locked()
180 struct j1939_ecu *j1939_ecu_get_by_addr_locked(struct j1939_priv *priv, u8 addr) in j1939_ecu_get_by_addr_locked()
196 struct j1939_ecu *j1939_ecu_get_by_addr(struct j1939_priv *priv, u8 addr) in j1939_ecu_get_by_addr()
[all …]
H A Dtransport.c170 static int j1939_xtp_abort_to_errno(struct j1939_priv *priv, in j1939_xtp_abort_to_errno()
236 static inline void j1939_session_list_lock(struct j1939_priv *priv) in j1939_session_list_lock()
241 static inline void j1939_session_list_unlock(struct j1939_priv *priv) in j1939_session_list_unlock()
357 struct j1939_priv *priv = session->priv; in j1939_session_skb_queue()
375 struct j1939_priv *priv = session->priv; in j1939_session_skb_get_by_offset()
513 j1939_session *j1939_session_get_by_addr_locked(struct j1939_priv *priv, in j1939_session_get_by_addr_locked()
534 j1939_session *j1939_session_get_simple(struct j1939_priv *priv, in j1939_session_get_simple()
555 j1939_session *j1939_session_get_by_addr(struct j1939_priv *priv, in j1939_session_get_by_addr()
587 sk_buff *j1939_tp_tx_dat_new(struct j1939_priv *priv, in j1939_tp_tx_dat_new()
634 struct j1939_priv *priv = session->priv; in j1939_tp_tx_dat()
[all …]
H A Daddress-claim.c50 static int j1939_ac_verify_outgoing(struct j1939_priv *priv, in j1939_ac_verify_outgoing()
79 int j1939_ac_fixup(struct j1939_priv *priv, struct sk_buff *skb) in j1939_ac_fixup()
126 static void j1939_ac_process(struct j1939_priv *priv, struct sk_buff *skb) in j1939_ac_process()
247 void j1939_ac_recv(struct j1939_priv *priv, struct sk_buff *skb) in j1939_ac_recv()
H A Dsocket.c78 static void j1939_jsk_add(struct j1939_priv *priv, struct j1939_sock *jsk) in j1939_jsk_add()
88 static void j1939_jsk_del(struct j1939_priv *priv, struct j1939_sock *jsk) in j1939_jsk_del()
133 static void j1939_sk_queue_drop_all(struct j1939_priv *priv, in j1939_sk_queue_drop_all()
338 bool j1939_sk_recv_match(struct j1939_priv *priv, struct j1939_sk_buff_cb *skcb) in j1939_sk_recv_match()
354 void j1939_sk_recv(struct j1939_priv *priv, struct sk_buff *skb) in j1939_sk_recv()
446 struct j1939_priv *priv; in j1939_sk_bind()
637 struct j1939_priv *priv = jsk->priv; in j1939_sk_release()
986 struct j1939_priv *priv = session->priv; in __j1939_sk_errqueue()
1087 struct j1939_priv *priv = session->priv; in j1939_sk_errqueue()
1117 static int j1939_sk_send_loop(struct j1939_priv *priv, struct sock *sk, in j1939_sk_send_loop()
[all …]
/linux/include/linux/can/
H A Dcan-ml.h65 struct j1939_priv *j1939_priv; member