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; 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()
[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.c171 static int j1939_xtp_abort_to_errno(struct j1939_priv *priv, in j1939_xtp_abort_to_errno()
237 static inline void j1939_session_list_lock(struct j1939_priv *priv) in j1939_session_list_lock()
242 static inline void j1939_session_list_unlock(struct j1939_priv *priv) in j1939_session_list_unlock()
358 struct j1939_priv *priv = session->priv; in j1939_session_skb_queue()
376 struct j1939_priv *priv = session->priv; in j1939_session_skb_get_by_offset()
515 j1939_session *j1939_session_get_by_addr_locked(struct j1939_priv *priv, in j1939_session_get_by_addr_locked()
536 j1939_session *j1939_session_get_simple(struct j1939_priv *priv, in j1939_session_get_simple()
557 j1939_session *j1939_session_get_by_addr(struct j1939_priv *priv, in j1939_session_get_by_addr()
589 sk_buff *j1939_tp_tx_dat_new(struct j1939_priv *priv, in j1939_tp_tx_dat_new()
640 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.c79 static void j1939_jsk_add(struct j1939_priv *priv, struct j1939_sock *jsk) in j1939_jsk_add()
89 static void j1939_jsk_del(struct j1939_priv *priv, struct j1939_sock *jsk) in j1939_jsk_del()
134 static void j1939_sk_queue_drop_all(struct j1939_priv *priv, in j1939_sk_queue_drop_all()
340 bool j1939_sk_recv_match(struct j1939_priv *priv, struct j1939_sk_buff_cb *skcb) in j1939_sk_recv_match()
356 void j1939_sk_recv(struct j1939_priv *priv, struct sk_buff *skb) in j1939_sk_recv()
448 struct j1939_priv *priv; in j1939_sk_bind()
648 struct j1939_priv *priv = jsk->priv; in j1939_sk_release()
1003 struct j1939_priv *priv = session->priv; in __j1939_sk_errqueue()
1104 struct j1939_priv *priv = session->priv; in j1939_sk_errqueue()
1134 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.h71 struct j1939_priv *j1939_priv; member