Home
last modified time | relevance | path

Searched refs:peak_canfd_priv (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h15 struct peak_canfd_priv { struct
29 int (*pre_cmd)(struct peak_canfd_priv *priv); argument
30 int (*write_cmd)(struct peak_canfd_priv *priv); argument
31 int (*post_cmd)(struct peak_canfd_priv *priv); argument
33 int (*enable_tx_path)(struct peak_canfd_priv *priv); argument
34 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size, argument
36 int (*write_tx_msg)(struct peak_canfd_priv *priv, argument
42 int peak_canfd_handle_msg(struct peak_canfd_priv *priv,
44 int peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv,
Dpeak_canfd.c42 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
48 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) in pucan_add_cmd()
66 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
87 static int pucan_set_reset_mode(struct peak_canfd_priv *priv) in pucan_set_reset_mode()
93 static int pucan_set_normal_mode(struct peak_canfd_priv *priv) in pucan_set_normal_mode()
105 static int pucan_set_listen_only_mode(struct peak_canfd_priv *priv) in pucan_set_listen_only_mode()
117 static int pucan_set_timing_slow(struct peak_canfd_priv *priv, in pucan_set_timing_slow()
140 static int pucan_set_timing_fast(struct peak_canfd_priv *priv, in pucan_set_timing_fast()
159 static int pucan_set_std_filter(struct peak_canfd_priv *priv, u8 row, u32 mask) in pucan_set_std_filter()
183 static int pucan_tx_abort(struct peak_canfd_priv *priv, u16 flags) in pucan_tx_abort()
[all …]
Dpeak_pciefd_main.c168 struct peak_canfd_priv ucan; /* must be the first member */
355 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path()
391 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd()
447 static int pciefd_write_cmd(struct peak_canfd_priv *ucan) in pciefd_write_cmd()
466 static int pciefd_post_cmd(struct peak_canfd_priv *ucan) in pciefd_post_cmd()
500 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg()
557 static int pciefd_write_tx_msg(struct peak_canfd_priv *ucan, in pciefd_write_tx_msg()