Home
last modified time | relevance | path

Searched refs:es58x_priv (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/can/usb/etas_es58x/
Des58x_core.c178 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
261 return es58x_priv(netdev)->can.state < CAN_STATE_BUS_OFF; in es58x_is_can_state_active()
277 static bool es58x_is_echo_skb_threshold_reached(struct es58x_priv *priv) in es58x_is_echo_skb_threshold_reached()
296 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_free_echo_skb_tail()
323 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_get_echo_skb_recovery()
385 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_get_echo_skb()
473 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_reset_echo_fifo()
494 struct es58x_priv *priv = es58x_priv(netdev); in es58x_flush_pending_tx_msg()
536 struct es58x_priv *priv = es58x_priv(netdev); in es58x_tx_ack_msg()
608 can_frame_set_cc_len(ccf, dlc, es58x_priv(netdev)->can.ctrlmode); in es58x_rx_can_msg()
[all …]
Des58x_fd.c48 u32 ctrlmode = es58x_priv(netdev)->can.ctrlmode; in es58x_fd_cmd_type()
64 struct es58x_priv *priv = es58x_priv(netdev); in es58x_fd_echo_msg()
101 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_can_msg()
171 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_event_msg()
190 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_cmd_ret_u32()
206 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_tx_ack_msg()
331 static int es58x_fd_tx_can_msg(struct es58x_priv *priv, in es58x_fd_tx_can_msg()
396 static int es58x_fd_enable_channel(struct es58x_priv *priv) in es58x_fd_enable_channel()
448 static int es58x_fd_disable_channel(struct es58x_priv *priv) in es58x_fd_disable_channel()
Des58x_core.h258 struct es58x_priv { struct
355 int (*tx_can_msg)(struct es58x_priv *priv, const struct sk_buff *skb);
356 int (*enable_channel)(struct es58x_priv *priv);
357 int (*disable_channel)(struct es58x_priv *priv);
607 static inline struct es58x_priv *es58x_priv(struct net_device *netdev) in es58x_priv() function
609 return (struct es58x_priv *)netdev_priv(netdev); in es58x_priv()
Des581_4.c344 static int es581_4_tx_can_msg(struct es58x_priv *priv, in es581_4_tx_can_msg()
394 static int es581_4_set_bittiming(struct es58x_priv *priv) in es581_4_set_bittiming()
416 static int es581_4_enable_channel(struct es58x_priv *priv) in es581_4_enable_channel()
430 static int es581_4_disable_channel(struct es58x_priv *priv) in es581_4_disable_channel()